Commit 4b2020c5 authored by unknown's avatar unknown
Browse files

Some improvement in Item_int_with_ref class comment.

parent e571163e
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -1027,12 +1027,14 @@ class Item_null_helper :public Item_ref_null_helper
  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