diff options
author | monty@mysql.com <> | 2004-11-03 12:39:38 +0200 |
---|---|---|
committer | monty@mysql.com <> | 2004-11-03 12:39:38 +0200 |
commit | 47bbf768d4bdb9ca0abd2ef94bd9a734dafeed50 (patch) | |
tree | 85bce6df7d0ce9d809ff3fc13fa4486590463d00 /sql/item.h | |
parent | afbe601302fc59c498437321b296ed6c8d360564 (diff) | |
download | mariadb-git-47bbf768d4bdb9ca0abd2ef94bd9a734dafeed50.tar.gz |
Fixes after merge with 4.1
FOUND is not a reserved keyword anymore
Added Item_field::set_no_const_sub() to be able to mark fields that can't be substituted
Added 'simple_select' method to be able to quickly determinate if a select_result is a normal SELECT
Note that the 5.0 tree is not yet up to date: Sanja will have to fix multi-update-locks for this merge to be complete
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index b39a95d796c..d3e53af1523 100644 --- a/sql/item.h +++ b/sql/item.h @@ -285,6 +285,7 @@ public: virtual bool remove_fixed(byte * arg) { fixed= 0; return 0; } virtual bool collect_item_field_processor(byte * arg) { return 0; } virtual Item *equal_fields_propagator(byte * arg) { return this; } + virtual Item *set_no_const_sub(byte *arg) { return this; } virtual bool replace_equal_field_processor(byte * arg) { return 0; } virtual Item *this_item() { return this; } /* For SPs mostly. */ @@ -536,6 +537,7 @@ public: void cleanup(); Item_equal *find_item_equal(COND_EQUAL *cond_equal); Item *equal_fields_propagator(byte *arg); + Item *set_no_const_sub(byte *arg); bool replace_equal_field_processor(byte *arg); inline uint32 max_disp_length() { return field->max_length(); } Item_field *filed_for_view_update() { return this; } @@ -1024,6 +1026,7 @@ public: bool walk(Item_processor processor, byte *arg) { return (*ref)->walk(processor, arg); } void print(String *str); + void cleanup(); }; class Item_in_subselect; |