1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

BUG#15961: After review fixes

New error message
This commit is contained in:
mikael@zim.(none)
2006-03-14 00:39:06 -08:00
parent c34c2cfa45
commit 4adb973df4
2 changed files with 5 additions and 1 deletions

View File

@@ -5614,6 +5614,10 @@ ER_PARTITION_MAXVALUE_ERROR
ER_PARTITION_SUBPARTITION_ERROR ER_PARTITION_SUBPARTITION_ERROR
eng "Subpartitions can only be hash partitions and by key" eng "Subpartitions can only be hash partitions and by key"
swe "Subpartitioner kan bara vara hash och key partitioner" swe "Subpartitioner kan bara vara hash och key partitioner"
ER_PARTITION_SUBPART_MIX_ERROR
eng "Must define subpartitions on all partitions if on one partition"
swe "Subpartitioner måste definieras på alla partitioner om på en"
ER_PARTITION_WRONG_NO_PART_ERROR ER_PARTITION_WRONG_NO_PART_ERROR
eng "Wrong number of partitions defined, mismatch with previous setting" eng "Wrong number of partitions defined, mismatch with previous setting"
swe "Antal partitioner definierade och antal partitioner <20>r inte lika" swe "Antal partitioner definierade och antal partitioner <20>r inte lika"

View File

@@ -704,7 +704,7 @@ bool check_partition_info(partition_info *part_info,handlerton **eng_type,
part_info->part_type == LIST_PARTITION)))) part_info->part_type == LIST_PARTITION))))
{ {
/* Only RANGE and LIST partitioning can be subpartitioned */ /* Only RANGE and LIST partitioning can be subpartitioned */
my_error(ER_SUBPARTITION_ERROR, MYF(0)); my_error(ER_PARTITION_SUBPART_MIX_ERROR, MYF(0));
goto end; goto end;
} }
if (unlikely(part_info->set_up_defaults_for_partitioning(file, if (unlikely(part_info->set_up_defaults_for_partitioning(file,