Commit a51a1f08 authored by unknown's avatar unknown

Bug #12097 Fix mistake


sql/sql_yacc.yy:
  Fix mistake
parent 39803f9d
...@@ -2888,7 +2888,7 @@ part_list_item: ...@@ -2888,7 +2888,7 @@ part_list_item:
part_bit_expr part_bit_expr
{ {
longlong *value_ptr; 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)); my_error(ER_OUTOFMEMORY, MYF(0), sizeof(longlong));
YYABORT; 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