diff options
author | gshchepa/uchum@gleb.loc <> | 2007-08-21 16:31:30 +0500 |
---|---|---|
committer | gshchepa/uchum@gleb.loc <> | 2007-08-21 16:31:30 +0500 |
commit | 4c144f6349bf865ca3b20d579343d1578e22515c (patch) | |
tree | 40c692707f604be39e7ddab1d14b5935cc78c927 /sql/sql_base.cc | |
parent | d1b4cee88fc104300b4896f5adf8294182a70375 (diff) | |
parent | 88444351c281890ad979c25be50541a6983094fa (diff) | |
download | mariadb-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.cc | 8 |
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); |