diff options
author | monty@mashka.mysql.fi <> | 2003-08-19 16:00:12 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2003-08-19 16:00:12 +0300 |
commit | eb6458cb18ec31e2be09cf6555a24ef3545c4fa0 (patch) | |
tree | 7e42515465680bf9479f44de0c710044aa122610 /sql/sql_base.cc | |
parent | 10c4acfb4f6f4423040bf31332a0542cc5f7d6e5 (diff) | |
download | mariadb-git-eb6458cb18ec31e2be09cf6555a24ef3545c4fa0.tar.gz |
After merge fixes + bugs from last merge
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index fd0768d6ae7..b6c84be5363 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1355,6 +1355,7 @@ int open_tables(THD *thd,TABLE_LIST *start) int result=0; DBUG_ENTER("open_tables"); + thd->current_tablenr= 0; restart: thd->proc_info="Opening tables"; for (tables=start ; tables ; tables=tables->next) @@ -1473,6 +1474,7 @@ TABLE *open_ltable(THD *thd, TABLE_LIST *table_list, thr_lock_type lock_type) DBUG_ENTER("open_ltable"); thd->proc_info="Opening table"; + thd->current_tablenr= 0; while (!(table=open_table(thd,table_list->db, table_list->real_name,table_list->alias, &refresh)) && refresh) ; |