-
unknown authored
Moved some code to else path to avoid delete, create, delete, create scenarios. Fixed up the partition info object for some cases where we move from default partitioning in NDB to default partitioning using partitioning. sql/sql_partition.cc: Added a new parameter for partition default handling This is to avoid calling get_no_parts on tables not yet created. Ensure that we don't reuse the old part_info object for any other operation than CREATE TABLE after reading up the frm file. sql/sql_table.cc: Moved some code to else path to avoid delete, create, delete, create scenarios. Fixed up the partition info object for some cases where we move from default partitioning in NDB to default partitioning using partitioning.
6ff64cb8