summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-10-27 21:11:06 +0300
committerunknown <bell@sanja.is.com.ua>2004-10-27 21:11:06 +0300
commit464da8f13a69d7ce51e1c130475e1a8c4cab59a5 (patch)
tree8c786f3bbaa6b1aa04a389c67b7bfcc4ced73435 /sql/item_subselect.h
parent78ad0938d8b4854537fa9ca4a578b4a1baed6db2 (diff)
downloadmariadb-git-464da8f13a69d7ce51e1c130475e1a8c4cab59a5.tar.gz
removed incorrect error message about aggregate functions
improved mechanisn of detection posibility to be NULL for single row queries switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions (changes to make subselects test working with PS protocol) mysql-test/r/subselect.result: removed incorrect error message about aggregate functions improved mechanisn of detection posibility to be NULL for single row queries mysql-test/t/subselect.test: removed incorrect error message about aggregate functions sql/item_subselect.cc: removed incorrect error message about aggregate functions switched off substitution optimisation for single row subqueries in PS due to problem in resolving substituted expressions improved mechanisn of detection posibility to be NULL for single row queries sql/item_subselect.h: new method to help in NULL ability detection
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index f570d89f28f..764c41f33b4 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -291,6 +291,7 @@ public:
static table_map calc_const_tables(TABLE_LIST *);
virtual void print(String *str)= 0;
virtual int change_item(Item_subselect *si, select_subselect *result)= 0;
+ virtual bool no_tables()= 0;
};
@@ -315,6 +316,7 @@ public:
table_map upper_select_const_tables();
void print (String *str);
int change_item(Item_subselect *si, select_subselect *result);
+ bool no_tables();
};
@@ -335,6 +337,7 @@ public:
table_map upper_select_const_tables();
void print (String *str);
int change_item(Item_subselect *si, select_subselect *result);
+ bool no_tables();
};
@@ -364,6 +367,7 @@ public:
table_map upper_select_const_tables() { return 0; }
void print (String *str);
int change_item(Item_subselect *si, select_subselect *result);
+ bool no_tables();
};