diff options
author | unknown <jani@linux-th5m.site> | 2007-05-24 19:47:58 +0300 |
---|---|---|
committer | unknown <jani@linux-th5m.site> | 2007-05-24 19:47:58 +0300 |
commit | 635728a6e69f95c0a4008fb4b65992d58486bc51 (patch) | |
tree | 2958d280359513f6d2b3ce1f9b1dfd0f818bfb98 /sql/item_cmpfunc.h | |
parent | 6356f5631c1b6dab40b747abe54797f1779aef80 (diff) | |
download | mariadb-git-635728a6e69f95c0a4008fb4b65992d58486bc51.tar.gz |
Merged from main 5.1
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index de6c20420c3..60f2ac6321d 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -853,7 +853,7 @@ public: :in_longlong(elements), thd(current_thd), warn_item(warn_item_arg), lval_cache(0) {}; void set(uint pos,Item *item); - byte *get_value(Item *item); + uchar *get_value(Item *item); friend int cmp_longlong(void *cmp_arg, packed_longlong *a,packed_longlong *b); }; @@ -1233,10 +1233,12 @@ public: cmp_item_row(): comparators(0), n(0) {} ~cmp_item_row(); void store_value(Item *item); + inline void alloc_comparators(); int cmp(Item *arg); int compare(cmp_item *arg); cmp_item *make_same(); void store_value_by_template(cmp_item *tmpl, Item *); + friend void Item_func_in::fix_length_and_dec(); }; @@ -1248,6 +1250,7 @@ public: ~in_row(); void set(uint pos,Item *item); uchar *get_value(Item *item); + friend void Item_func_in::fix_length_and_dec(); Item_result result_type() { return ROW_RESULT; } }; |