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

item_cmpfunc.cc:

  Fixed compiler warning.
parent 9dc929f2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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