1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

forgotten 'return'

This commit is contained in:
serg@sergbook.mysql.com
2005-08-14 23:20:06 +02:00
parent 0329190269
commit d689d415b3
2 changed files with 4 additions and 2 deletions

View File

@ -1121,3 +1121,5 @@ vio/test-ssl
vio/test-sslclient vio/test-sslclient
vio/test-sslserver vio/test-sslserver
vio/viotest-ssl vio/viotest-ssl
support-files/MacOSX/postflight
support-files/MacOSX/preflight

View File

@ -1863,8 +1863,8 @@ static void xid_free_hash (void *ptr)
bool xid_cache_init() bool xid_cache_init()
{ {
pthread_mutex_init(&LOCK_xid_cache, MY_MUTEX_INIT_FAST); pthread_mutex_init(&LOCK_xid_cache, MY_MUTEX_INIT_FAST);
hash_init(&xid_cache, &my_charset_bin, 100, 0, 0, return hash_init(&xid_cache, &my_charset_bin, 100, 0, 0,
xid_get_hash_key, xid_free_hash, 0) != 0; xid_get_hash_key, xid_free_hash, 0) != 0;
} }
void xid_cache_free() void xid_cache_free()