summaryrefslogtreecommitdiff
path: root/mysql-test/main/join_cache.result
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2019-07-30 21:57:48 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2019-07-30 21:57:48 +0400
commitc6efbc543d6fb3004f320ef9d02542a4692ca88a (patch)
tree4a2df43eb04ddcbf30878add945cb0577f4121aa /mysql-test/main/join_cache.result
parent4b5a14d0fe3d6945a0a9516261f563dcfd1f2c9c (diff)
downloadmariadb-git-c6efbc543d6fb3004f320ef9d02542a4692ca88a.tar.gz
MDEV-17544 No warning when trying to name a primary key constraint.
Warning added.
Diffstat (limited to 'mysql-test/main/join_cache.result')
-rw-r--r--mysql-test/main/join_cache.result2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/main/join_cache.result b/mysql-test/main/join_cache.result
index 256a6eda97e..9bb64c0b32c 100644
--- a/mysql-test/main/join_cache.result
+++ b/mysql-test/main/join_cache.result
@@ -3103,6 +3103,8 @@ CREATE TABLE t2 (
a2 int, b2 int, filler2 char(64) default ' ',
PRIMARY KEY idx(a2,b2,filler2)
) ;
+Warnings:
+Warning 1280 Name 'idx' ignored for PRIMARY key.
CREATE TABLE t3 (b3 int, c3 int, INDEX idx(b3));
INSERT INTO t1(a1) VALUES
(4), (7), (1), (9), (8), (5), (3), (6), (2);