1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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

@ -2508,7 +2508,7 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
MY_HOOKS(select_create *x) : ptr(x) { }
virtual void do_prelock(TABLE **tables, uint count)
{
if (binlog_row_based)
if (ptr->thd->current_stmt_binlog_row_based)
ptr->binlog_show_create_table(tables, count);
}