mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
sp_head.cc:
Fix crash reported in bug 12849. It doesn't fix the whole problem though. Let Pem fix it later.
This commit is contained in:
parent
1026fa2fe3
commit
252ed3a24c
1 changed files with 2 additions and 2 deletions
|
@ -244,8 +244,8 @@ sp_eval_func_item(THD *thd, Item **it_addr, enum enum_field_types type,
|
|||
}
|
||||
DBUG_PRINT("info",("STRING_RESULT: %*s",
|
||||
s->length(), s->c_ptr_quick()));
|
||||
CREATE_ON_CALLERS_ARENA(it= new(reuse, &rsize)
|
||||
Item_string(it->collation.collation),
|
||||
CHARSET_INFO *itcs= it->collation.collation;
|
||||
CREATE_ON_CALLERS_ARENA(it= new(reuse, &rsize) Item_string(itcs),
|
||||
use_callers_arena, &backup_current_arena);
|
||||
/*
|
||||
We have to use special constructor and allocate string
|
||||
|
|
Loading…
Reference in a new issue