diff options
author | unknown <ingo@mysql.com> | 2005-09-13 20:47:00 +0200 |
---|---|---|
committer | unknown <ingo@mysql.com> | 2005-09-13 20:47:00 +0200 |
commit | 1d175fd9b92e7f4d774f3f59f867f8d0e4d311d3 (patch) | |
tree | c7c677ddacc6f2ff614bc7e0ab3541cba2e23ba8 | |
parent | 02fce1c316e7a33748eb7ccf13a49fbaa2926ee6 (diff) | |
parent | 3884629d888c48ec113de6463db569c9edc907d6 (diff) | |
download | mariadb-git-1d175fd9b92e7f4d774f3f59f867f8d0e4d311d3.tar.gz |
Merge mysql.com:/home/mydev/mysql-4.0-4000
into mysql.com:/home/mydev/mysql-4.1-4100
configure.in:
Auto merged
include/my_global.h:
Auto merged
sql/sql_base.cc:
Auto merged
-rw-r--r-- | sql/sql_base.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 1cedc89ef97..b48f2537069 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -868,6 +868,13 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name, { if (table->version != refresh_version) { + if (! refresh) + { + /* Ignore flush for now, but force close after usage. */ + thd->version= table->version; + continue; + } + /* ** There is a refresh in progress for this table ** Wait until the table is freed or the thread is killed. |