diff options
author | Philip Stoev <philip.stoev@galeracluster.com> | 2015-10-19 04:14:51 -0700 |
---|---|---|
committer | Philip Stoev <philip.stoev@galeracluster.com> | 2015-10-19 04:14:51 -0700 |
commit | 52a910395a18088af5988883989274066bb212d8 (patch) | |
tree | 27abd6008363ab09748a5c5c7e7085e261d52777 /sql/wsrep_mysqld.cc | |
parent | 43b2a451fe62e7a1172fa3d611039b3d11c1dd36 (diff) | |
download | mariadb-git-52a910395a18088af5988883989274066bb212d8.tar.gz |
refs codership/mysql-wsrep#202 Fix bad cherry-pick (and the compiler warnings it generated)
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r-- | sql/wsrep_mysqld.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc index a9cdb5b5b11..31a642e3624 100644 --- a/sql/wsrep_mysqld.cc +++ b/sql/wsrep_mysqld.cc @@ -1478,13 +1478,14 @@ void wsrep_to_isolation_end(THD *thd) #define WSREP_MDL_LOG(severity, msg, schema, schema_len, req, gra) \ WSREP_##severity( \ + "%s\n" \ "schema: %.*s\n" \ "request: (%lu \tseqno %lld \twsrep (%d, %d, %d) cmd %d %d \t%s)\n" \ "granted: (%lu \tseqno %lld \twsrep (%d, %d, %d) cmd %d %d \t%s)", \ - msg, schema_len, schema, \ + msg, schema_len, schema, \ req->thread_id, (long long)wsrep_thd_trx_seqno(req), \ req->wsrep_exec_mode, req->wsrep_query_state, req->wsrep_conflict_state, \ - req->get_command(), req->lex->sql_command, req->query(), \ + req->get_command(), req->lex->sql_command, req->query(), \ gra->thread_id, (long long)wsrep_thd_trx_seqno(gra), \ gra->wsrep_exec_mode, gra->wsrep_query_state, gra->wsrep_conflict_state, \ gra->get_command(), gra->lex->sql_command, gra->query()); |