diff options
Diffstat (limited to 'sql/item.cc')
-rw-r--r-- | sql/item.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/item.cc b/sql/item.cc index d98a37e3c32..0076fe94bbd 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -2069,6 +2069,11 @@ Item *Item_field::get_tmp_table_item(THD *thd) return new_item; } +longlong Item_field::val_int_endpoint(bool left_endp, bool *incl_endp) +{ + longlong res= val_int(); + return null_value? LONGLONG_MIN : res; +} /* Create an item from a string we KNOW points to a valid longlong |