summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authortsmith@ramayana.hindu.god <>2007-08-16 12:03:49 -0600
committertsmith@ramayana.hindu.god <>2007-08-16 12:03:49 -0600
commit18ffae6ab67c5cc66e4cde5b50a9e6d0821850ec (patch)
tree54c7510ae778c33e7978f563ce90e58b60b236ad /sql/sql_base.cc
parent9c1f5867a533896430be0fd39401a779fc0bbdda (diff)
parent49891223c384ba36d25dc7dbc1d51687a513a0d9 (diff)
downloadmariadb-git-18ffae6ab67c5cc66e4cde5b50a9e6d0821850ec.tar.gz
Merge ramayana.hindu.god:/home/tsmith/m/bk/maint/50
into ramayana.hindu.god:/home/tsmith/m/bk/maint/51
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 24c6979c0f6..1deceb15b16 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -1217,13 +1217,6 @@ void close_thread_tables(THD *thd, bool lock_in_use, bool skip_derived)
DBUG_PRINT("info", ("thd->open_tables: 0x%lx", (long) thd->open_tables));
- /*
- End open index scans and table scans and remove references to the tables
- from the handler tables hash. After this preparation it is safe to close
- the tables.
- */
- mysql_ha_mark_tables_for_reopen(thd, thd->open_tables);
-
found_old_table= 0;
while (thd->open_tables)
found_old_table|= close_thread_table(thd, &thd->open_tables);