summaryrefslogtreecommitdiff
path: root/sql/item_subselect.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-09-17 19:08:46 +0300
committerunknown <bell@sanja.is.com.ua>2004-09-17 19:08:46 +0300
commit580f12cc048cac99e5594ce94ab0b2ca63cad41a (patch)
tree022a3cf7464979f652d1c7ab9f1cd44108d5a639 /sql/item_subselect.cc
parentf177c76fb226f70be426175f3d53eed557096ba4 (diff)
downloadmariadb-git-580f12cc048cac99e5594ce94ab0b2ca63cad41a.tar.gz
fixed error handling if creating derived table failed
single row subquery always can return NULL (no rows found) (BUG#5590) mysql-test/r/subselect.result: maybe_null flag returning by subquwery for temporary table creation mysql-test/t/subselect.test: maybe_null flag returning by subquwery for temporary table creation sql/item.cc: storing maybe_null in type holder sql/item_subselect.cc: single row subquery always can return NULL (no rows found) sql/sql_derived.cc: fixed error handling if creating derived table failed
Diffstat (limited to 'sql/item_subselect.cc')
-rw-r--r--sql/item_subselect.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_subselect.cc b/sql/item_subselect.cc
index 3ddf9a1c6bf..3dbf4eae55b 100644
--- a/sql/item_subselect.cc
+++ b/sql/item_subselect.cc
@@ -401,7 +401,6 @@ void Item_singlerow_subselect::fix_length_and_dec()
engine->fix_length_and_dec(row);
value= *row;
}
- maybe_null= engine->may_be_null();
}
uint Item_singlerow_subselect::cols()