Commit 49db78b3 authored by evgen@moonbone.local's avatar evgen@moonbone.local

item_cmpfunc.cc:

  Fixed compiler warning.
parent 9dc929f2
......@@ -707,8 +707,7 @@ get_time_value(THD *thd, Item ***item_arg, Item **cache_arg,
else
{
*is_null= item->get_time(&ltime);
if (!is_null)
value= TIME_to_ulonglong_datetime(&ltime);
value= !is_null ? TIME_to_ulonglong_datetime(&ltime) : 0;
}
/*
Do not cache GET_USER_VAR() function as its const_item() may return TRUE
......
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