Commit e6560c0d authored by unknown's avatar unknown
Browse files

Removed redundant reset_one_shot_variables calls


sql/sql_parse.cc:
  Optimization, this reset is executed below anyway
parent 8c129f50
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -3327,7 +3327,6 @@ purposes internal to the MySQL server", MYF(0));
	 !db_ok_with_wild_table(lex->name)))
    {
      my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
      reset_one_shot_variables(thd);
      break;
    }
#endif
@@ -3363,7 +3362,6 @@ purposes internal to the MySQL server", MYF(0));
	 !db_ok_with_wild_table(lex->name)))
    {
      my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
      reset_one_shot_variables(thd);
      break;
    }
#endif
@@ -3404,7 +3402,6 @@ purposes internal to the MySQL server", MYF(0));
	 !db_ok_with_wild_table(db)))
    {
      my_error(ER_SLAVE_IGNORED_TABLE, MYF(0));
      reset_one_shot_variables(thd);
      break;
    }
#endif