Commit 6dd8c326 authored by unknown's avatar unknown

Bug #12097 Fix mistake


sql/sql_yacc.yy:
  Fix mistake
parent e7850f0a
......@@ -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