SQL: missing stmt_arena [#387]
This commit is contained in:
parent
9b55cc73f1
commit
656d6f399e
@ -2662,6 +2662,7 @@ void Item_datetime_from_unixtime_typecast::fix_length_and_dec()
|
|||||||
case REAL_RESULT:
|
case REAL_RESULT:
|
||||||
case DECIMAL_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]);
|
Item_func_from_unixtime *a= new (thd->mem_root) Item_func_from_unixtime(thd, args[0]);
|
||||||
a->fix_length_and_dec();
|
a->fix_length_and_dec();
|
||||||
args[0]= a;
|
args[0]= a;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user