Loading sql/item_cmpfunc.cc +1 −2 Original line number Diff line number Diff line Loading @@ -707,8 +707,7 @@ get_time_value(THD *thd, Item ***item_arg, Item **cache_arg, else { *is_null= item->get_time(<ime); if (!is_null) value= TIME_to_ulonglong_datetime(<ime); value= !is_null ? TIME_to_ulonglong_datetime(<ime) : 0; } /* Do not cache GET_USER_VAR() function as its const_item() may return TRUE Loading Loading
sql/item_cmpfunc.cc +1 −2 Original line number Diff line number Diff line Loading @@ -707,8 +707,7 @@ get_time_value(THD *thd, Item ***item_arg, Item **cache_arg, else { *is_null= item->get_time(<ime); if (!is_null) value= TIME_to_ulonglong_datetime(<ime); value= !is_null ? TIME_to_ulonglong_datetime(<ime) : 0; } /* Do not cache GET_USER_VAR() function as its const_item() may return TRUE Loading