1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

The second fix for BUG#19391: IM fails to start after two executions.

This commit is contained in:
anozdrin@mysql.com
2006-06-19 14:16:10 +04:00
parent a142a4d97b
commit a992833d83
3 changed files with 32 additions and 16 deletions

View File

@ -215,7 +215,7 @@ int Instance_map::flush_instances()
hash_init(&hash, default_charset_info, START_HASH_SIZE, 0, 0,
get_instance_key, delete_instance, 0);
rc= load();
guardian->init();
guardian->init(); // TODO: check error status.
pthread_mutex_unlock(&LOCK_instance_map);
guardian->unlock();
return rc;