diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-03-26 11:59:34 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-03-26 11:59:34 +0100 |
commit | e016a2f5f00774f8126974fa26c7550bf0e60c84 (patch) | |
tree | 4db64207e28ec3b6c18d1f2a3fbd69126313a3db /sql/item_cmpfunc.cc | |
parent | c41b66c07f4c8de57154644aae97d075f4766170 (diff) | |
download | mariadb-git-e016a2f5f00774f8126974fa26c7550bf0e60c84.tar.gz |
lp:705210 Compiling with BUILD/compile-pentium64-debug fails
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r-- | sql/item_cmpfunc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc index 925582be542..1573dfddf98 100644 --- a/sql/item_cmpfunc.cc +++ b/sql/item_cmpfunc.cc @@ -873,7 +873,7 @@ get_datetime_value(THD *thd, Item ***item_arg, Item **cache_arg, longlong res; if (t_type == MYSQL_TIMESTAMP_TIME) - res= number_to_time(value, &buf, &was_cut); + res= number_to_time((double)value, &buf, &was_cut); else res= number_to_datetime(value, &buf, TIME_INVALID_DATES|TIME_FUZZY_DATE, &was_cut); |