diff options
author | unknown <sergefp@mysql.com> | 2005-05-16 14:10:02 +0000 |
---|---|---|
committer | unknown <sergefp@mysql.com> | 2005-05-16 14:10:02 +0000 |
commit | 259699b4eb1738ef0ac58b1bb1f7e248523f7ca1 (patch) | |
tree | 253e002380a6499a3d00e1f4f07a5ccc6fb06723 | |
parent | 01dfde6faa8d46dbe83de07927cb5c6836349551 (diff) | |
parent | 4b2020c575c1604dd5955f1296f4a3f57c671d9b (diff) | |
download | mariadb-git-259699b4eb1738ef0ac58b1bb1f7e248523f7ca1.tar.gz |
Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/psergey/mysql-4.1-bug10221
-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 |