diff options
author | unknown <evgen@moonbone.local> | 2005-06-23 01:02:43 +0400 |
---|---|---|
committer | unknown <evgen@moonbone.local> | 2005-06-23 01:02:43 +0400 |
commit | f3a3e052491f7e1ac1d759cb1498a28863dc51ee (patch) | |
tree | 2eb5c9308d86de24da712c95e1f909985b459694 /sql/item.h | |
parent | bbc0211304fe7beb47fef9f188e413effeea4470 (diff) | |
parent | 285e348c1fc1705aa54023685a62b6689ba74c29 (diff) | |
download | mariadb-git-f3a3e052491f7e1ac1d759cb1498a28863dc51ee.tar.gz |
Bug #9728 fix merge
mysql-test/r/insert_select.result:
Auto merged
mysql-test/t/insert_select.test:
Auto merged
sql/item.cc:
Auto merged
sql/item.h:
Auto merged
sql/sql_base.cc:
Manual merge
sql/sql_parse.cc:
Manual merge
sql/sql_yacc.yy:
Manual merge
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index c912ad3f0a7..c8180b4932a 100644 --- a/sql/item.h +++ b/sql/item.h @@ -225,6 +225,11 @@ typedef Item* (Item::*Item_transformer) (byte *arg); typedef void (*Cond_traverser) (const Item *item, void *arg); +/* + See comments for sql_yacc.yy: insert_update_elem rule + */ +#define MY_ITEM_PREFER_1ST_TABLE 1 + class Item { Item(const Item &); /* Prevent use of these */ void operator=(Item &); @@ -272,6 +277,7 @@ public: my_bool is_autogenerated_name; /* indicate was name of this Item autogenerated or set by user */ DTCollation collation; + uint8 item_flags; /* Flags on how item should be processed */ // alloc & destruct is done as start of select using sql_alloc Item(); @@ -584,6 +590,11 @@ public: cleanup(); delete this; } + virtual bool set_flags_processor(byte *args) + { + this->item_flags|= *((uint8*)args); + return false; + } virtual bool is_splocal() { return 0; } /* Needed for error checking */ }; |