[MDEV-33147] Wrong value in the error message for ER_NO_PARTITION_FOR_GIVEN_VALUE Created: 2023-12-31  Updated: 2023-12-31

Status: Open
Project: MariaDB Server
Component/s: Partitioning
Affects Version/s: 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3
Fix Version/s: 10.4, 10.5, 10.6, 10.11, 11.0, 11.1, 11.2, 11.3

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Alexey Botchkov
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-33146 CONVERT TABLE TO PARTITION does not w... Open

 Description   

--source include/have_partition.inc
 
create table t (a int) partition by list(a) (partition p0 values in (1,2));
create table t1 (a int);
insert into t1 values (3);
 
alter table t exchange partition p0 with table t1;
 
# Cleanup
drop table if exists t1, t;

10.4 87a5d16911bb94d383480fdd49e20876ed1400f2

 query 'alter table t exchange partition p0 with table t1' failed: 1526: Table has no partition for value 0

Instead of "for value 0" there should be "for value 3".


Generated at Thu Feb 08 10:36:44 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.