summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authortsmith@ramayana.hindu.god <>2007-08-16 10:56:09 -0600
committertsmith@ramayana.hindu.god <>2007-08-16 10:56:09 -0600
commit49891223c384ba36d25dc7dbc1d51687a513a0d9 (patch)
tree249ed176b1f5ba71552407433ac6bf3cce67d676 /sql/sql_base.cc
parent5e926bc1204059783375ae23c3fa34b7ad75bc0c (diff)
downloadmariadb-git-49891223c384ba36d25dc7dbc1d51687a513a0d9.tar.gz
Bug #29474: 21587 Regression Ever increasing open tables/fd when using HANDLER READ + DELETE
Revert the fix for bug 21587. That bug will be re-opened, and a new fix must be created.
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 1c01248c283..1cae1c34af9 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -585,14 +585,6 @@ void close_thread_tables(THD *thd, bool lock_in_use, bool skip_derived)
DBUG_PRINT("info", ("thd->open_tables: %p", 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);