1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

small cleanups

This commit is contained in:
Sergei Golubchik
2015-02-05 19:18:09 +01:00
parent 41dc186aa8
commit f9448bcb21
2 changed files with 6 additions and 6 deletions

View File

@@ -6360,8 +6360,8 @@ int THD::binlog_query(THD::enum_binlog_query_type qtype, char const *query_arg,
DBUG_PRINT("enter", ("qtype: %s query: '%-.*s'",
show_query_type(qtype), (int) query_len, query_arg));
DBUG_ASSERT(query_arg &&
(WSREP_EMULATE_BINLOG(this) || mysql_bin_log.is_open()));
DBUG_ASSERT(query_arg);
DBUG_ASSERT(WSREP_EMULATE_BINLOG(this) || mysql_bin_log.is_open());
/* If this is withing a BEGIN ... COMMIT group, don't log it */
if (variables.option_bits & OPTION_GTID_BEGIN)