summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <gluh@mysql.com/gluh.(none)>2006-08-31 13:43:26 +0500
committerunknown <gluh@mysql.com/gluh.(none)>2006-08-31 13:43:26 +0500
commitfb338e6c4049c3993cbf59c90e9757767b19c47c (patch)
treee7de75b41fe4507ef9ae2554ed1e93c40730cd43 /mysql-test
parentff31894967351944bcfe8b963ebc85a2df6753e6 (diff)
downloadmariadb-git-fb338e6c4049c3993cbf59c90e9757767b19c47c.tar.gz
Bug#21862 Misleading error message 1490: "A PRIMARY KEY need to include all fields..."
fixed error message mysql-test/r/ndb_partition_key.result: Bug#21862 Misleading error message 1490: "A PRIMARY KEY need to include all fields..." result fix mysql-test/r/partition.result: Bug#21862 Misleading error message 1490: "A PRIMARY KEY need to include all fields..." result fix
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/ndb_partition_key.result2
-rw-r--r--mysql-test/r/partition.result2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/ndb_partition_key.result b/mysql-test/r/ndb_partition_key.result
index e478c23ec00..7e480f68dd9 100644
--- a/mysql-test/r/ndb_partition_key.result
+++ b/mysql-test/r/ndb_partition_key.result
@@ -17,7 +17,7 @@ drop table t1;
CREATE TABLE t1 (a int, b int, c int, d int, PRIMARY KEY(a,b))
ENGINE = NDB
PARTITION BY KEY (c);
-ERROR HY000: A PRIMARY KEY need to include all fields in the partition function
+ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function
CREATE TABLE t1 (a int, b int, c int, PRIMARY KEY(a,b))
ENGINE = NDB
PARTITION BY KEY (a);
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result
index e95489864f7..2d383ef7696 100644
--- a/mysql-test/r/partition.result
+++ b/mysql-test/r/partition.result
@@ -731,7 +731,7 @@ ERROR HY000: Cannot create temporary table with partitions
create table t1 (a int, b int) partition by list (a)
(partition p1 values in (1), partition p2 values in (2));
alter table t1 add primary key (b);
-ERROR HY000: A PRIMARY KEY need to include all fields in the partition function
+ERROR HY000: A PRIMARY KEY must include all columns in the table's partitioning function
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (