diff options
author | Monty <monty@mariadb.org> | 2023-03-01 19:39:11 +0200 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2023-03-02 13:11:54 +0200 |
commit | eb441f6cb7f32caeba4ea1633e8111318b0a2574 (patch) | |
tree | 0b8080081aede5da35fb6b447c04cf6b184b0ed5 | |
parent | 37edbbf2d36654cd7facd6d5caddee364f12826c (diff) | |
download | mariadb-git-eb441f6cb7f32caeba4ea1633e8111318b0a2574.tar.gz |
Fixed wrong DBUG_PRINT
-rw-r--r-- | sql/sql_parse.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 3b0ef4a7d47..7a171174a72 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -7591,15 +7591,12 @@ void THD::reset_for_next_command(bool do_clear_error) save_prep_leaf_list= false; -#ifdef WITH_WSREP -#if !defined(DBUG_OFF) +#if defined(WITH_WSREP) && !defined(DBUG_OFF) if (mysql_bin_log.is_open()) -#endif -#endif - DBUG_PRINT("debug", + DBUG_PRINT("info", ("is_current_stmt_binlog_format_row(): %d", is_current_stmt_binlog_format_row())); - +#endif DBUG_VOID_RETURN; } |