summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2005-04-01 02:14:30 +0300
committerunknown <bell@sanja.is.com.ua>2005-04-01 02:14:30 +0300
commitc831a156ceb2d392ba84ac9bfbee18318b11f333 (patch)
treebfd8839a822ffd9c3bcccaa970cc506139ae4a9c /sql/item_subselect.h
parent8a898a0b72ad14b87608c84f6b775eb586a070a2 (diff)
downloadmariadb-git-c831a156ceb2d392ba84ac9bfbee18318b11f333.tar.gz
postmerge 4.1->5.0 fixes
mysql-test/r/group_by.result: result change mysql-test/r/union.result: result change mysql-test/r/view.result: result change mysql-test/t/subselect.test: fixed mistake of merge sql/field.cc: new 5.0 types support temporary table/db names detection in field fixed sql/field.h: removed non-existent methods added wrongly deleted during manual merge string sql/item.cc: support of new types added to merge of union types routines sql/item.h: fixed method definition sql/item_cmpfunc.cc: fixed type sql/item_func.h: item type name fixed sql/item_subselect.cc: added forgoten methods sql/item_subselect.h: fixed type sql/sql_derived.cc: fixed typo of manual merge sql/sql_view.cc: added new parameter
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index e12c45b6e13..da13e98f5f4 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -179,7 +179,7 @@ public:
class Item_exists_subselect :public Item_subselect
{
protected:
- longlong value; /* value of this item (boolean: exists/not-exists) */
+ bool value; /* value of this item (boolean: exists/not-exists) */
public:
Item_exists_subselect(st_select_lex *select_lex);
@@ -243,6 +243,8 @@ public:
longlong val_int();
double val_real();
String *val_str(String*);
+ my_decimal *val_decimal(my_decimal *);
+ bool val_bool();
void top_level_item() { abort_on_null=1; }
bool test_limit(st_select_lex_unit *unit);
void print(String *str);