Commit 1c5fd80a authored by Alexander Barkov's avatar Alexander Barkov

Fixing a test failure on 32bit platforms in the new MDEV-17434 code

parent 22e75434
......@@ -2148,7 +2148,7 @@ longlong Item_extract::val_int()
week_format= current_thd->variables.default_week_format;
return calc_week(&ltime, week_mode(week_format), &year);
}
case INTERVAL_DAY: return ltime.day * neg;
case INTERVAL_DAY: return (long) ltime.day * neg;
case INTERVAL_DAY_HOUR: return (long) (ltime.day*100L+ltime.hour)*neg;
case INTERVAL_DAY_MINUTE: return (long) (ltime.day*10000L+
ltime.hour*100L+
......
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