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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user