From e6560c0da090d4355b761c07ae500aacd7f6b0db Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 11 Sep 2005 00:57:31 +0200 Subject: [PATCH] Removed redundant reset_one_shot_variables calls sql/sql_parse.cc: Optimization, this reset is executed below anyway --- sql/sql_parse.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 76d4c5c27dc..131fe3d691d 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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