Skip to content

Commit 80fb69f

Browse files
committed
Bug #19553266 MAIN.WL6219-UPGRADE ON PB2
Merge of cset 8778 from trunk
1 parent 089f963 commit 80fb69f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/sql_base.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3437,6 +3437,8 @@ bool open_table(THD *thd, TABLE_LIST *table_list, Open_table_context *ot_ctx)
34373437
case SQLCOM_SHOW_CREATE:
34383438
break;
34393439
default:
3440+
closefrm(table, 0);
3441+
my_free(table);
34403442
my_error(ER_CRASHED_ON_USAGE, MYF(0), share->table_name.str);
34413443
goto err_lock;
34423444
}

0 commit comments

Comments
 (0)