mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
midding DBUG_RETURN
This commit is contained in:
parent
8bb95a820a
commit
033cba8375
1 changed files with 2 additions and 1 deletions
|
@ -1090,6 +1090,7 @@ void fix_slave_exec_mode(enum_var_type type)
|
|||
}
|
||||
if (bit_is_set(slave_exec_mode_options, SLAVE_EXEC_MODE_IDEMPOTENT) == 0)
|
||||
bit_do_set(slave_exec_mode_options, SLAVE_EXEC_MODE_STRICT);
|
||||
DBUG_VOID_RETURN;
|
||||
}
|
||||
|
||||
bool sys_var_thd_binlog_format::is_readonly() const
|
||||
|
@ -1121,7 +1122,7 @@ bool sys_var_thd_binlog_format::is_readonly() const
|
|||
if (thd->in_sub_stmt)
|
||||
{
|
||||
my_error(ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT, MYF(0));
|
||||
return 1;
|
||||
return 1;
|
||||
}
|
||||
return sys_var_thd_enum::is_readonly();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue