summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sql_yacc.yy2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 20b4086caba..13f0dbdd433 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -13385,7 +13385,7 @@ delete_single_table:
MYSQL_YYABORT;
Select->table_list.save_and_clear(&Lex->auxiliary_table_list);
/* Save the number of auxiliary tables */
- Lex->table_count= 1;
+ Lex->table_count_update= 1;
Lex->query_tables= 0;
Lex->query_tables_last= &Lex->query_tables;