summaryrefslogtreecommitdiff
path: root/sql/sql_load.cc
diff options
context:
space:
mode:
authorunknown <mats@mysql.com>2006-02-28 10:06:58 +0100
committerunknown <mats@mysql.com>2006-02-28 10:06:58 +0100
commit4e31551b929ca091d9d78969cfc6cdf15b9282d5 (patch)
treecb6ade436bf4b0cf01026964400f9aa8fb2f4ff9 /sql/sql_load.cc
parent594ba86bc534f1f81cdb897a9a414ba8248a0aad (diff)
parentd11aa8345db0801c62fcf966bfce6c4d7eda63f8 (diff)
downloadmariadb-git-4e31551b929ca091d9d78969cfc6cdf15b9282d5.tar.gz
Merge mysql.com:/home/bkroot/mysql-5.1-new
into mysql.com:/home/bk/w3023-mysql-5.1-new configure.in: Auto merged BitKeeper/deleted/.del-sp_notembedded.test: Auto merged mysql-test/extra/binlog_tests/binlog.test: Auto merged mysql-test/extra/binlog_tests/blackhole.test: Auto merged mysql-test/r/binlog_stm_ctype_cp932.result: Auto merged mysql-test/t/sp.test: Auto merged scripts/mysql_fix_privilege_tables.sql: Auto merged sql/ha_ndbcluster_binlog.cc: Auto merged sql/handler.cc: Auto merged sql/handler.h: Auto merged sql/log.h: Auto merged sql/log_event.h: Auto merged sql/mysql_priv.h: Auto merged sql/opt_range.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_update.cc: Auto merged sql/table.h: Auto merged
Diffstat (limited to 'sql/sql_load.cc')
-rw-r--r--sql/sql_load.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index 30d83370255..9fcdc969597 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -417,19 +417,6 @@ bool mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
#ifndef EMBEDDED_LIBRARY
if (mysql_bin_log.is_open())
{
-#ifdef HAVE_ROW_BASED_REPLICATION
- /*
- We need to do the job that is normally done inside
- binlog_query() here, which is to ensure that the pending event
- is written before tables are unlocked and before any other
- events are written. We also need to update the table map
- version for the binary log to mark that table maps are invalid
- after this point.
- */
- if (thd->current_stmt_binlog_row_based)
- thd->binlog_flush_pending_rows_event(true);
- else
-#endif
{
/*
Make sure last block (the one which caused the error) gets