Commit 487a0647 authored by Kentoku SHIBA's avatar Kentoku SHIBA

fix invalid memory access

parent 4d980a47
......@@ -3540,7 +3540,10 @@ int spider_handlersocket_share::init()
if (
(error_num = create_table_names_str()) ||
(error_num = create_column_name_str())
(
spider_share->table_share &&
(error_num = create_column_name_str())
)
) {
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
}
......
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