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

Revert "MDEV-29841 More descriptive text for ER_PARTITION_WRONG_TYPE"

This reverts commit 6f8fb41f21
because it broke cmake -DPLUGIN_PARTITION=NO
This commit is contained in:
Marko Mäkelä
2022-11-10 09:03:28 +02:00
parent 0feb9d364b
commit f82f8fac94
5 changed files with 37 additions and 90 deletions

View File

@@ -150,7 +150,7 @@ partition by system_time limit 1;
alter table t1 change x big int;
create or replace table t1 (i int) engine myisam partition by hash(i) partitions 2;
alter table t1 add partition (partition px history);
ERROR HY000: Wrong partition type `SYSTEM_TIME` for partitioning by `HASH`
ERROR HY000: Wrong partitioning type, expected type: `SYSTEM_TIME`
## INSERT, UPDATE, DELETE
create or replace table t1 (x int)
with system versioning
@@ -1105,7 +1105,7 @@ drop table t1;
create table t1 (a int) with system versioning partition by system_time
(partition p1 history, partition pn current);
alter table t1 add partition (partition p2);
ERROR HY000: Wrong partition type `HASH` for partitioning by `SYSTEM_TIME`
ERROR HY000: Wrong partitioning type, expected type: `SYSTEM_TIME`
# MDEV-17891 Assertion failures in select_insert::abort_result_set and
# mysql_load upon attempt to replace into a full table
set @@max_heap_table_size= 1024*1024;