diff options
author | unknown <mats@mysql.com> | 2006-03-03 09:49:46 +0100 |
---|---|---|
committer | unknown <mats@mysql.com> | 2006-03-03 09:49:46 +0100 |
commit | 4c6b4b01b9d006a2893e413d59638ae0f54c9102 (patch) | |
tree | dacfbc0f45a74de4f33c4f4b8723f994c8d4293a /sql/sql_insert.cc | |
parent | 4e31551b929ca091d9d78969cfc6cdf15b9282d5 (diff) | |
download | mariadb-git-4c6b4b01b9d006a2893e413d59638ae0f54c9102.tar.gz |
WL#3023 (RBR: Use locks in a statement-like manner):
More adaptions to make it work with existing code base.
mysql-test/extra/rpl_tests/rpl_row_charset.test:
Info for RBR events now include table id; changed test to not
depend on the table id.
mysql-test/r/rpl_ndb_blob.result:
Result change
mysql-test/r/rpl_ndb_dd_basic.result:
Result change
mysql-test/r/rpl_row_basic_7ndb.result:
Result change
mysql-test/r/rpl_row_drop.result:
Result change
mysql-test/r/rpl_row_log.result:
Result change
mysql-test/r/rpl_row_log_innodb.result:
Result change
mysql-test/r/rpl_row_sp008.result:
Result change
mysql-test/r/rpl_switch_stm_row_mixed.result:
Result change
sql/ha_ndbcluster_binlog.cc:
Enabled patch to NDB to support new locking scheme.
sql/handler.cc:
Added test to prevent logging if the binlog is closed.
sql/log.cc:
Adaptions to use thread-local variable for enabling row-based replication.
sql/log_event.cc:
Fixing compile failure.
sql/slave.cc:
Reordering in initializer list to eliminate compiler warning.
sql/sql_base.cc:
Bad use of return when DBUG_RETURN should be used.
sql/sql_insert.cc:
Adaptions to use thread-local variable for enabling row-based replication.
Diffstat (limited to 'sql/sql_insert.cc')
-rw-r--r-- | sql/sql_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc index 6d4d69353b9..48bd2c57d9e 100644 --- a/sql/sql_insert.cc +++ b/sql/sql_insert.cc @@ -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); } |