Commit 58d05b07 authored by sergefp@mysql.com's avatar sergefp@mysql.com

Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1

into mysql.com:/home/psergey/mysql-4.1-bug10221
parents 63fcb5de 47ad6a6d
...@@ -1027,12 +1027,14 @@ class Item_null_helper :public Item_ref_null_helper ...@@ -1027,12 +1027,14 @@ class Item_null_helper :public Item_ref_null_helper
void print(String *str); void print(String *str);
}; };
/* /*
The following class is used to optimize comparing of date and bigint columns The following class is used to optimize comparing of date and bigint columns
We need to save the original item, to be able to set the field to the We need to save the original item ('ref') to be able to call
original value in 'opt_range'. ref->save_in_field(). This is used to create index search keys.
An instance of Item_int_with_ref may refer to a signed or an unsigned
integer. An instance of Item_int_with_ref may have signed or unsigned integer value.
*/ */
class Item_int_with_ref :public Item_int class Item_int_with_ref :public Item_int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment