diff options
author | unknown <sergefp@mysql.com> | 2005-05-16 14:06:52 +0000 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2005-05-16 14:06:52 +0000 |
commit | 4b2020c575c1604dd5955f1296f4a3f57c671d9b (patch) | |
tree | d657c8b73b66230bbd4c11edfdf6311391fffedf /sql | |
parent | e571163e6052252b4e0adf119685199f0e2c59ed (diff) | |
download | mariadb-git-4b2020c575c1604dd5955f1296f4a3f57c671d9b.tar.gz |
Some improvement in Item_int_with_ref class comment.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/item.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sql/item.h b/sql/item.h index 8fed871e623..2edbeef400c 100644 --- a/sql/item.h +++ b/sql/item.h @@ -1027,12 +1027,14 @@ public: void print(String *str); }; + /* 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 - original value in 'opt_range'. - An instance of Item_int_with_ref may refer to a signed or an unsigned - integer. + We need to save the original item ('ref') to be able to call + ref->save_in_field(). This is used to create index search keys. + + An instance of Item_int_with_ref may have signed or unsigned integer value. + */ class Item_int_with_ref :public Item_int |