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

fix autobuild failures

This commit is contained in:
petr@mysql.com
2004-12-12 20:59:15 +03:00
parent 7d1b9541fc
commit d40e0935ce
6 changed files with 18 additions and 15 deletions

View File

@ -203,9 +203,12 @@ int Instance_map::cleanup()
while (i < hash.records)
{
instance= (Instance *) hash_element(&hash, i);
instance->cleanup();
if (instance->cleanup())
return 1;
i++;
}
return 0;
}
@ -250,7 +253,7 @@ Instance *Instance_map::Iterator::next()
{
if (current_instance < instance_map->hash.records)
return (Instance *) hash_element(&instance_map->hash, current_instance++);
else
return NULL;
return NULL;
}