Bug #21072 Duplicate key error in NDB references wrong key: Added new printout for duplicate key error when key is unknown

This commit is contained in:
mskold/marty@mysql.com/linux.site 2006-10-16 14:20:05 +02:00
parent 18d2e733d8
commit 9aeeda73f0

View file

@ -389,9 +389,9 @@ INSERT INTO t8 VALUES (99,99,99);
INSERT INTO t8 VALUES (99,22,33);
ERROR 23000: Duplicate entry '99' for key 'PRIMARY'
INSERT INTO t8 VALUES (11,99,33);
ERROR 23000: Duplicate entry '11' for key 'PRIMARY'
ERROR 23000: Duplicate entry '' for key '*UNKNOWN*'
INSERT INTO t8 VALUES (11,22,99);
ERROR 23000: Duplicate entry '11' for key 'PRIMARY'
ERROR 23000: Duplicate entry '' for key '*UNKNOWN*'
SELECT * FROM t8 ORDER BY a;
a b c
99 99 99