mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
BUG#19010: Fix issues with that ALTER TABLE from auto-partitioned NDB table doesn't work unless primary key exists on table.
This commit is contained in:
parent
4ba1a4b3cd
commit
56b97747de
@@ -3045,6 +3045,7 @@ bool mysql_create_table_internal(THD *thd,
|
||||
}
|
||||
file->set_auto_partitions(part_info);
|
||||
part_info->default_engine_type= create_info->db_type;
|
||||
part_info->is_auto_partitioned= TRUE;
|
||||
}
|
||||
if (part_info)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user