summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 54f256997d0..93854c42500 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1389,6 +1389,10 @@ public:
{
current_stmt_binlog_row_based= 1;
}
+ inline void clear_current_stmt_binlog_row_based()
+ {
+ current_stmt_binlog_row_based= 0;
+ }
inline void reset_current_stmt_binlog_row_based()
{
current_stmt_binlog_row_based= test(variables.binlog_format == BINLOG_FORMAT_ROW);