summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2011-09-08 23:24:47 +0400
committerSergey Petrunya <psergey@askmonty.org>2011-09-08 23:24:47 +0400
commit3769841d9e706ee018d5273d2901954b9a281c3e (patch)
treee276e120ce8972fe9dc5c356e7289a4e7eb2fb4c /sql/item.h
parent19a4309acf64a98b08048592c3a4b69bed1b9f5e (diff)
downloadmariadb-git-3769841d9e706ee018d5273d2901954b9a281c3e.tar.gz
BUG#833600: Wrong result with view + outer join + uncorrelated subquery (non-semijoin)
- The bug was caused by outer join being incorrectly converted into inner because of invalid return values of Item_direct_view_ref::not_null_tables(). - Provided a correct Item_direct_view_ref::not_null_tables() function.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h
index 99eabdd81ab..8cacd231fbf 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -2919,6 +2919,7 @@ public:
Item *equal_fields_propagator(uchar *arg);
Item *replace_equal_field(uchar *arg);
table_map used_tables() const;
+ table_map not_null_tables() const;
bool walk(Item_processor processor, bool walk_subquery, uchar *arg)
{
return (*ref)->walk(processor, walk_subquery, arg) ||