Commit 231c02f7 authored by Jan Lindström's avatar Jan Lindström

MariaDB adjustments.

parent c2c61bbc
...@@ -53,7 +53,7 @@ my $cwd = cwd(); ...@@ -53,7 +53,7 @@ my $cwd = cwd();
my $basedir; my $basedir;
my $socket = '/tmp/mysql.sock'; my $socket = '/tmp/mysql.sock';
my $version = '5.5.59'; my $version = '5.5.60';
sub which sub which
{ {
......
...@@ -106,7 +106,7 @@ void wsrep_post_commit(THD* thd, bool all) ...@@ -106,7 +106,7 @@ void wsrep_post_commit(THD* thd, bool all)
case LOCAL_COMMIT: case LOCAL_COMMIT:
{ {
DBUG_ASSERT(thd->wsrep_trx_meta.gtid.seqno != WSREP_SEQNO_UNDEFINED); DBUG_ASSERT(thd->wsrep_trx_meta.gtid.seqno != WSREP_SEQNO_UNDEFINED);
if (wsrep->post_commit(wsrep, &thd->wsrep_ws_handle)) if (wsrep && wsrep->post_commit(wsrep, &thd->wsrep_ws_handle))
{ {
DBUG_PRINT("wsrep", ("set committed fail")); DBUG_PRINT("wsrep", ("set committed fail"));
WSREP_WARN("set committed fail: %llu %d", WSREP_WARN("set committed fail: %llu %d",
...@@ -129,7 +129,7 @@ void wsrep_post_commit(THD* thd, bool all) ...@@ -129,7 +129,7 @@ void wsrep_post_commit(THD* thd, bool all)
rolls back to savepoint after first operation. rolls back to savepoint after first operation.
*/ */
if (all && thd->wsrep_conflict_state != MUST_REPLAY && if (all && thd->wsrep_conflict_state != MUST_REPLAY &&
wsrep->post_rollback(wsrep, &thd->wsrep_ws_handle)) wsrep && wsrep->post_rollback(wsrep, &thd->wsrep_ws_handle))
{ {
WSREP_WARN("post_rollback fail: %llu %d", WSREP_WARN("post_rollback fail: %llu %d",
(long long)thd->thread_id, thd->stmt_da->status()); (long long)thd->thread_id, thd->stmt_da->status());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment