summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorgshchepa/uchum@gleb.loc <>2007-08-21 16:31:30 +0500
committergshchepa/uchum@gleb.loc <>2007-08-21 16:31:30 +0500
commit4c144f6349bf865ca3b20d579343d1578e22515c (patch)
tree40c692707f604be39e7ddab1d14b5935cc78c927 /sql/sql_base.cc
parentd1b4cee88fc104300b4896f5adf8294182a70375 (diff)
parent88444351c281890ad979c25be50541a6983094fa (diff)
downloadmariadb-git-4c144f6349bf865ca3b20d579343d1578e22515c.tar.gz
Merge gleb.loc:/home/uchum/work/bk/5.0
into gleb.loc:/home/uchum/work/bk/5.0-opt
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 e8562cdffbd..c1fe7699769 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);