diff options
author | bell@sanja.is.com.ua <> | 2004-01-03 00:12:07 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-01-03 00:12:07 +0200 |
commit | e5fa5585f09c11e4dfd6f79582d5e2d66e259a7a (patch) | |
tree | 5368d917dca8b3cf091c64b5b199e33ef115d291 /sql/sql_lex.cc | |
parent | 1c74cd9bf515ac1f1cfef6ed58ad2aa77b76be2c (diff) | |
download | mariadb-git-e5fa5585f09c11e4dfd6f79582d5e2d66e259a7a.tar.gz |
removed droping field->query_id for reinitialization tables for subquery.
(BUG#2089)
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index de0d6ade618..efb0ce92ad0 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1222,11 +1222,6 @@ void st_select_lex::mark_as_dependent(SELECT_LEX *last) s->uncacheable|= UNCACHEABLE_DEPENDENT; SELECT_LEX_UNIT *munit= s->master_unit(); munit->uncacheable|= UNCACHEABLE_DEPENDENT; - //Tables will be reopened many times - for (TABLE_LIST *tbl= s->get_table_list(); - tbl; - tbl= tbl->next) - tbl->shared= 1; } } |