summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-11-13 01:14:39 +0200
committerunknown <bell@sanja.is.com.ua>2002-11-13 01:14:39 +0200
commit2707f00cdba45e7112f03acb264ad3e7460df0ed (patch)
tree62622da4e2765a34f24c5a8ca7eb5cd1a096e002 /sql/item_subselect.h
parent86f1a1e0d05cb262ccf64e503ca14595adbd2886 (diff)
downloadmariadb-git-2707f00cdba45e7112f03acb264ad3e7460df0ed.tar.gz
fixed error handling
fixed subselects in ORDER bug mysql-test/r/subselect.result: test of subselects in ORDER clause test of error handling bug mysql-test/t/subselect.test: test of subselects in ORDER clause test of error handling bug sql/item_subselect.cc: fixed subselects in ORDER bug sql/item_subselect.h: fixed subselects in ORDER bug sql/sql_select.cc: fixed error handling
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 33f82982708..58726f16ba9 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -28,7 +28,7 @@ class subselect_engine;
/* base class for subselects */
-class Item_subselect :public Item
+class Item_subselect :public Item_result_field
{
my_bool engine_owner; /* Is this item owner of engine */
my_bool value_assigned; /* value already assigned to subselect */
@@ -116,6 +116,7 @@ public:
Item *new_item() { return new Item_singleval_subselect(this); }
enum Item_result result_type() const { return res_type; }
void fix_length_and_dec();
+
friend class select_singleval_subselect;
};