Commit 47ad6a6d authored by sergefp@mysql.com's avatar sergefp@mysql.com

Some improvement in Item_int_with_ref class comment.

parent 63eaf44c
...@@ -1027,12 +1027,14 @@ public: ...@@ -1027,12 +1027,14 @@ public:
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