summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-04-13 23:06:37 -0700
committerunknown <igor@rurik.mysql.com>2005-04-13 23:06:37 -0700
commitcfefd88d37e678c6129a77155fea8ce27f2a90fe (patch)
tree422596f43c02bbb7e13a10836891951c20530571 /sql/sql_base.cc
parent11b666fb49b681f33176542aedb8f3ba229c4d15 (diff)
downloadmariadb-git-cfefd88d37e678c6129a77155fea8ce27f2a90fe.tar.gz
information_schema.result, information_schema.test:
Added a test in connection with the fix for bug #6106. view.result, view.test: Added test cases for bugs #6106/6107. sql_show.cc: The addition of the case for items of the type REF_ITEM in the function uses_only_table_name_fields became necessary after the fix for bug #6106. sql_base.cc: The problem was due to the fact that two different column references were glued together though one of them belonged to a subquery while another to an outer query. This caused eventually a wrong calculation of values for the used_tables attribute. sql/sql_base.cc: The problem was due to the fact that two different column references were glued together though one of them belonged to a subquery while another to an outer query. This caused eventually a wrong calculation of values for the used_tables attribute. sql/sql_show.cc: The addition of the case for items of the type REF_ITEM in the function uses_only_table_name_fields became necessary after the fix for bug #6106. mysql-test/t/view.test: Added test cases for bugs #6106/6107. mysql-test/r/view.result: Added test cases for bugs #6106/6107. mysql-test/t/information_schema.test: Added a test in connection with the fix for bug #6106. mysql-test/r/information_schema.result: Added a test in connection with the fix for bug #6106.
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 145244f1c02..d79811aa4e2 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -3588,7 +3588,7 @@ int setup_conds(THD *thd, TABLE_LIST *tables, TABLE_LIST *leaves, COND **conds)
thd->set_query_id=1;
- thd->lex->current_select->no_wrap_view_item= 1;
+ thd->lex->current_select->no_wrap_view_item= 0;
select_lex->cond_count= 0;
if (*conds)
{