diff options
author | monty@work.mysql.com <> | 2001-06-12 14:12:35 +0200 |
---|---|---|
committer | monty@work.mysql.com <> | 2001-06-12 14:12:35 +0200 |
commit | 0652902ab5f8e80b274b26ba78e6c3ce70bb22ce (patch) | |
tree | a5f1c279fea2101ed23cc2fffa79f3517349aff2 /sql/sql_base.cc | |
parent | 23c049e3e3c93be46901870393f6b1944dff8f76 (diff) | |
parent | a2e9e16fdd0e72143646f434d1b60d77c255b636 (diff) | |
download | mariadb-git-0652902ab5f8e80b274b26ba78e6c3ce70bb22ce.tar.gz |
merge
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 83fd02c7ffe..fabbf8948ac 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -384,6 +384,9 @@ bool close_cached_tables(THD *thd, bool if_wait_for_refresh, thd->in_lock_tables=1; result=reopen_tables(thd,1,1); thd->in_lock_tables=0; + /* Set version for table */ + for (TABLE *table=thd->open_tables; table ; table=table->next) + table->version=refresh_version; } VOID(pthread_mutex_unlock(&LOCK_open)); if (if_wait_for_refresh) |