summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2014-04-11 08:39:48 +0200
committerunknown <knielsen@knielsen-hq.org>2014-04-11 08:39:48 +0200
commit68bad3c7c0a0f0babcb18590d1cb2c6a2873eb15 (patch)
tree466f0b7125012152ba54f80c9c02648e94a1ecba /sql/sql_base.cc
parente772cbd7b774add42821c33b13ea052f8c9e2e6e (diff)
downloadmariadb-git-68bad3c7c0a0f0babcb18590d1cb2c6a2873eb15.tar.gz
MDEV-6067: Partitioned table DML sometimes binlogged without XID event
Revert the old patch revid:monty@askmonty.org-20100325133339-7mkel6valai0b4lb This patch caused the InnoDB part of the transaction to not be marked read-write in some cases, which messes up XA commit (and likely other stuff as well).
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index c1c12166543..91e7949cc2a 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -3029,7 +3029,6 @@ TABLE *open_table(THD *thd, TABLE_LIST *table_list, MEM_ROOT *mem_root,
table->status=STATUS_NO_RECORD;
table->insert_values= 0;
table->fulltext_searched= 0;
- table->file->ha_start_of_new_statement();
table->file->ft_handler= 0;
/*
Check that there is no reference to a condition from an earlier query