Commit e6560c0d authored by unknown's avatar unknown

Removed redundant reset_one_shot_variables calls


sql/sql_parse.cc:
  Optimization, this reset is executed below anyway
parent 8c129f50
...@@ -3327,7 +3327,6 @@ purposes internal to the MySQL server", MYF(0)); ...@@ -3327,7 +3327,6 @@ purposes internal to the MySQL server", MYF(0));
!db_ok_with_wild_table(lex->name))) !db_ok_with_wild_table(lex->name)))
{ {
my_error(ER_SLAVE_IGNORED_TABLE, MYF(0)); my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
reset_one_shot_variables(thd);
break; break;
} }
#endif #endif
...@@ -3363,7 +3362,6 @@ purposes internal to the MySQL server", MYF(0)); ...@@ -3363,7 +3362,6 @@ purposes internal to the MySQL server", MYF(0));
!db_ok_with_wild_table(lex->name))) !db_ok_with_wild_table(lex->name)))
{ {
my_error(ER_SLAVE_IGNORED_TABLE, MYF(0)); my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
reset_one_shot_variables(thd);
break; break;
} }
#endif #endif
...@@ -3404,7 +3402,6 @@ purposes internal to the MySQL server", MYF(0)); ...@@ -3404,7 +3402,6 @@ purposes internal to the MySQL server", MYF(0));
!db_ok_with_wild_table(db))) !db_ok_with_wild_table(db)))
{ {
my_error(ER_SLAVE_IGNORED_TABLE, MYF(0)); my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
reset_one_shot_variables(thd);
break; break;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment