1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

WL 2826: Error handling of ALTER TABLE for partitioning

Fixed merge issue


sql/sql_partition.cc:
  Added some debug printouts
sql/sql_table.cc:
  Fixed merge issue
This commit is contained in:
unknown
2006-04-22 04:38:19 -04:00
parent a52bd573de
commit fd40f0dd1d
2 changed files with 5 additions and 1 deletions

View File

@@ -4532,6 +4532,7 @@ the generated partition syntax in a correct manner.
/*
Make sure change of engine happens to all partitions.
*/
DBUG_PRINT("info", ("partition changed"));
set_engine_all_partitions(thd->work_part_info, create_info->db_type);
*partition_changed= TRUE;
}
@@ -4546,7 +4547,10 @@ the generated partition syntax in a correct manner.
using the partition handler.
*/
if (thd->work_part_info != table->part_info)
{
DBUG_PRINT("info", ("partition changed"));
*partition_changed= TRUE;
}
if (create_info->db_type == &partition_hton)
part_info->default_engine_type= table->part_info->default_engine_type;
else