Commit 9dc929f2 authored by evgen@moonbone.local's avatar evgen@moonbone.local

item_cmpfunc.cc:

  A comment changed.
parent 975d2232
...@@ -673,7 +673,7 @@ Arg_comparator::can_compare_as_dates(Item *a, Item *b, ulonglong *const_value) ...@@ -673,7 +673,7 @@ Arg_comparator::can_compare_as_dates(Item *a, Item *b, ulonglong *const_value)
get_time_value() get_time_value()
thd thread handle thd thread handle
item_arg [in/out] item to retrieve TIME value from item_arg [in/out] item to retrieve TIME value from
cache_arg [in/out] pointer to place to store the caching item to cache_arg [in/out] pointer to place to store the cache item to
warn_item [in] unused warn_item [in] unused
is_null [out] TRUE <=> the item_arg is null is_null [out] TRUE <=> the item_arg is null
...@@ -683,8 +683,8 @@ Arg_comparator::can_compare_as_dates(Item *a, Item *b, ulonglong *const_value) ...@@ -683,8 +683,8 @@ Arg_comparator::can_compare_as_dates(Item *a, Item *b, ulonglong *const_value)
If item's result can be compared as longlong then its int value is used If item's result can be compared as longlong then its int value is used
and a value returned by get_time function is used otherwise. and a value returned by get_time function is used otherwise.
If an item is a constant one then its value is cached and it isn't If an item is a constant one then its value is cached and it isn't
get parsed again. An Item_cache_int object is used for caching values. It get parsed again. An Item_cache_int object is used for for cached values.
seamlessly substitutes the original item. The cache item is marked as It seamlessly substitutes the original item. The cache item is marked as
non-constant to prevent re-caching it again. non-constant to prevent re-caching it again.
RETURN RETURN
......
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