Commit 656d6f39 authored by Eugene Kosov's avatar Eugene Kosov Committed by GitHub

SQL: missing stmt_arena [#387]

parent 9b55cc73
......@@ -2662,6 +2662,7 @@ void Item_datetime_from_unixtime_typecast::fix_length_and_dec()
case REAL_RESULT:
case DECIMAL_RESULT:
{
Query_arena_stmt on_stmt_arena(thd);
Item_func_from_unixtime *a= new (thd->mem_root) Item_func_from_unixtime(thd, args[0]);
a->fix_length_and_dec();
args[0]= a;
......
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