1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

WL#3023 (RBR: Use locks in a statement-like manner):

More adaptions to make it work with existing code base.
This commit is contained in:
mats@mysql.com
2006-03-03 09:49:46 +01:00
parent 1e66bc0d16
commit 0ffd1be87d
16 changed files with 165 additions and 189 deletions

View File

@@ -2309,7 +2309,7 @@ bool table_is_used(TABLE *table, bool wait_for_name_lock)
(search->locked_by_name && wait_for_name_lock ||
search->locked_by_flush ||
(search->db_stat && search->s->version < refresh_version)))
return 1;
DBUG_RETURN(1);
}
} while ((table=table->next));
DBUG_RETURN(0);