Commit 53372af2 authored by Kentoku SHIBA's avatar Kentoku SHIBA

fix crash at using spider_copy_tables()

parent 993dd378
...@@ -719,7 +719,7 @@ int spider_udf_copy_tables_create_table_list( ...@@ -719,7 +719,7 @@ int spider_udf_copy_tables_create_table_list(
&copy_tables->link_idxs[1], &copy_tables->link_idxs[1],
sizeof(int) * copy_tables->link_idx_count[1], sizeof(int) * copy_tables->link_idx_count[1],
&tmp_name_ptr, sizeof(char) * ( &tmp_name_ptr, sizeof(char) * (
spider_table_name_length * 2 + copy_tables->database_length + 2 spider_table_name_length * 2 + copy_tables->database_length + 3
), ),
NullS)) NullS))
) { ) {
......
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