summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-03-17 10:06:49 +0100
committerunknown <serg@serg.mylan>2005-03-17 10:06:49 +0100
commit2b466294e37e74ae0abfa61eec468d39d0d3c534 (patch)
treeaf6eee1ab10e8aea29e95a3ea22725ea39a31152 /sql/handler.cc
parent5c1b91f1ee1248f91fb8c886967bb6c510ee854c (diff)
parent1f919052319d8e6d2a85f3ac0ba84084014eb525 (diff)
downloadmariadb-git-2b466294e37e74ae0abfa61eec468d39d0d3c534.tar.gz
Automerge
sql/sql_parse.cc: Auto merged sql/handler.cc: SCCS merged sql/mysql_priv.h: SCCS merged
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index df0d7704163..1ef73a9136f 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -526,7 +526,6 @@ void trans_register_ha(THD *thd, bool all, handlerton *ht_arg)
/*
RETURN
- -1 - cannot prepare
0 - ok
1 - error, transaction was rolled back
*/
@@ -539,8 +538,6 @@ int ha_prepare(THD *thd)
#ifdef USING_TRANSACTIONS
if (trans->nht)
{
- if (trans->no_2pc)
- DBUG_RETURN(-1);
for (; *ht; ht++)
{
int err;