summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2005-09-11 00:57:31 +0200
committerunknown <lars@mysql.com>2005-09-11 00:57:31 +0200
commite6560c0da090d4355b761c07ae500aacd7f6b0db (patch)
tree9eb433f6453db2fb6e226ad9aee37b68f6bf0b14 /sql
parent8c129f5012324f385bb892c9045403dd25f4df39 (diff)
downloadmariadb-git-e6560c0da090d4355b761c07ae500aacd7f6b0db.tar.gz
Removed redundant reset_one_shot_variables calls
sql/sql_parse.cc: Optimization, this reset is executed below anyway
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_parse.cc3
1 files changed, 0 insertions, 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