summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2022-11-11 14:37:40 +0300
committerAleksey Midenkov <midenok@gmail.com>2022-11-11 20:54:20 +0300
commit0e6f2757d11502d74d21e4a75fa5247fc3334024 (patch)
tree77a747f319d4ebfc40e6f53740fe10bba15331f6 /mysys
parent08e2c98ec81d6fb23b0a8079107d4c74d3a8ec02 (diff)
downloadmariadb-git-0e6f2757d11502d74d21e4a75fa5247fc3334024.tar.gz
MDEV-29841 More descriptive text for ER_PARTITION_WRONG_TYPEbb-10.7-midenok
For commands (1) alter table t1 add partition (partition p2); (2) alter table t1 add partition (partition px history); It printed the same error message: Wrong partitioning type, expected type: `SYSTEM_TIME` For (1) it is not clear from the syntax that we are trying to add HASH partition. For (2) it is not clear that the table partitioning is different than SYSTEM_TIME. Now it prints what type we are trying to add to what type of partitioning. Fixed warning unused function rename_field_in_list() for compilation without partitioning.
Diffstat (limited to 'mysys')
0 files changed, 0 insertions, 0 deletions