summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <monty@tik.mysql.fi>2002-03-21 23:06:48 +0200
committerunknown <monty@tik.mysql.fi>2002-03-21 23:06:48 +0200
commitc0a5e4707168e03e89191261b7a5ec95ffbc99d7 (patch)
tree63e54a056bcd09390054202f9c5fad2985ab8f2d /sql/sql_base.cc
parentb70f53b28940008233995d885584c2e0984e3bf4 (diff)
downloadmariadb-git-c0a5e4707168e03e89191261b7a5ec95ffbc99d7.tar.gz
Quote names to SHOW CREATE for mysqldump
Fix thread-related bug when doing DROP TABLE Fix bug in RENAME TABLE on windows Docs/manual.texi: Changelog client/mysqldump.c: Quote names to SHOW CREATE mysql-test/t/range.test: Test case for range bug sql/lock.cc: Fix thread-related bug when doing DROP TABLE sql/sql_base.cc: Fix thread-related bug when doing DROP TABLE sql/sql_rename.cc: Fix bug in RENAME TABLE on windows
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 656758623bc..985118ee218 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -464,6 +464,7 @@ void close_thread_tables(THD *thd, bool locked)
unused_tables=table->next=table->prev=table;
}
}
+ thd->some_tables_deleted=0;
thd->open_tables=0;
/* Free tables to hold down open files */
while (open_cache.records > table_cache_size && unused_tables)