Bug #12097 Fix mistake

parent e08a37bc
......@@ -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;
......
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