summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorsjaakola <seppo.jaakola@iki.fi>2017-04-27 19:51:18 +0300
committerJan Lindström <jan.lindstrom@mariadb.com>2017-07-20 13:50:31 +0300
commita4bc8db216b4dd61ca0b1cb5a8b7806437416dc7 (patch)
tree0de9b24917f49ed5a05fcccb6387c0f72ad9c9ac /sql/handler.cc
parenta481de30bb972f055cff088a84a211c1acd5be38 (diff)
downloadmariadb-git-a4bc8db216b4dd61ca0b1cb5a8b7806437416dc7.tar.gz
MW-322 - CTAS fix merged to 5.5-v25 branch
Signed-off-by: Jan Lindström <jan.lindstrom@mariadb.com>
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 5917ba505a3..5cff15821c7 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -5426,6 +5426,11 @@ void ha_wsrep_fake_trx_id(THD *thd)
DBUG_VOID_RETURN;
}
+ if (thd->wsrep_ws_handle.trx_id != WSREP_UNDEFINED_TRX_ID)
+ {
+ WSREP_DEBUG("fake trx id skipped: %lu", thd->wsrep_ws_handle.trx_id);
+ DBUG_VOID_RETURN;
+ }
handlerton *hton= installed_htons[DB_TYPE_INNODB];
if (hton && hton->wsrep_fake_trx_id)
{