diff options
author | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-01-07 17:22:53 -0500 |
---|---|---|
committer | Nirbhay Choubey <nirbhay@mariadb.com> | 2015-01-07 17:22:53 -0500 |
commit | 743a28ea5714459fe09782dab9a4a7a0b0ff6673 (patch) | |
tree | bcb88d3f7370fe7a47acd7ab7aa8a4b05ff84c15 /sql | |
parent | 952b575272d47a48a1c55e83d3ff9a548857e564 (diff) | |
download | mariadb-git-743a28ea5714459fe09782dab9a4a7a0b0ff6673.tar.gz |
MDEV-7129 : Galera duplicate error on autoincrement field primary key
Merged fix for https://github.com/codership/mysql-wsrep/issues/18.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/wsrep_hton.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/wsrep_hton.cc b/sql/wsrep_hton.cc index 84034ec776e..0572230b18b 100644 --- a/sql/wsrep_hton.cc +++ b/sql/wsrep_hton.cc @@ -484,7 +484,8 @@ wsrep_run_wsrep_commit(THD *thd, handlerton *hton, bool all) case WSREP_BF_ABORT: DBUG_ASSERT(thd->wsrep_trx_meta.gtid.seqno != WSREP_SEQNO_UNDEFINED); case WSREP_TRX_FAIL: - WSREP_DEBUG("commit failed for reason: %d", rcode); + WSREP_DEBUG("commit failed for reason: %d %lu %s", rcode, thd->thread_id, + thd->query()); DBUG_PRINT("wsrep", ("replicating commit fail")); thd->wsrep_query_state= QUERY_EXEC; |