@@ -987,8 +987,7 @@ static bool check_master_connection(sys_var *self, THD *thd, set_var *var)
987
987
tmp.length= var->save_result.string_value.length;
988
988
if (!tmp.str || check_master_connection_name(&tmp))
989
989
{
990
- my_error(ER_WRONG_ARGUMENTS, MYF(ME_JUST_WARNING),
991
- var->var->name.str);
990
+ my_error(ER_WRONG_ARGUMENTS, MYF(0), var->var->name.str);
992
991
return true;
993
992
}
994
993
return false;
@@ -4751,11 +4750,12 @@ static bool fix_wsrep_causal_reads(sys_var *self, THD* thd, enum_var_type var_ty
4751
4750
return false;
4752
4751
}
4753
4752
static Sys_var_mybool Sys_wsrep_causal_reads(
4754
- "wsrep_causal_reads", "(DEPRECATED) Setting this variable is equivalent "
4753
+ "wsrep_causal_reads", "Setting this variable is equivalent "
4755
4754
"to setting wsrep_sync_wait READ flag",
4756
4755
SESSION_VAR(wsrep_causal_reads), CMD_LINE(OPT_ARG), DEFAULT(FALSE),
4757
4756
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
4758
- ON_UPDATE(fix_wsrep_causal_reads));
4757
+ ON_UPDATE(fix_wsrep_causal_reads),
4758
+ DEPRECATED("'@@wsrep_sync_wait=1'"));
4759
4759
4760
4760
static Sys_var_uint Sys_wsrep_sync_wait(
4761
4761
"wsrep_sync_wait", "Ensure \"synchronous\" read view before executing "
0 commit comments