mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Bug #12097 Fix mistake
This commit is contained in:
parent
e08a37bcdf
commit
bbab59eb18
1 changed files with 1 additions and 1 deletions
|
@ -2888,7 +2888,7 @@ part_list_item:
|
|||
part_bit_expr
|
||||
{
|
||||
longlong *value_ptr;
|
||||
if ((value_ptr= (longlong*)sql_alloc(sizeof(longlong))))
|
||||
if (!(value_ptr= (longlong*)sql_alloc(sizeof(longlong))))
|
||||
{
|
||||
my_error(ER_OUTOFMEMORY, MYF(0), sizeof(longlong));
|
||||
YYABORT;
|
||||
|
|
Loading…
Reference in a new issue