mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
backport of bug#45904 from mysql-pe to 5.1
This commit is contained in:
@@ -1679,7 +1679,7 @@ bool fix_partition_func(THD *thd, TABLE *table,
|
||||
if (((part_info->part_type != HASH_PARTITION ||
|
||||
part_info->list_of_part_fields == FALSE) &&
|
||||
check_part_func_fields(part_info->part_field_array, TRUE)) ||
|
||||
(part_info->list_of_part_fields == FALSE &&
|
||||
(part_info->list_of_subpart_fields == FALSE &&
|
||||
part_info->is_sub_partitioned() &&
|
||||
check_part_func_fields(part_info->subpart_field_array, TRUE)))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user