mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Check for duplicate index (port from mysql)
(pre fts)
This commit is contained in:
@ -304,6 +304,8 @@ ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||
SET DEBUG_SYNC= 'now SIGNAL continue3';
|
||||
# Connection default
|
||||
# Reaping ALTER TABLE ...
|
||||
Warnings:
|
||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
DELETE FROM t1 WHERE a= 3;
|
||||
#
|
||||
@ -352,6 +354,8 @@ ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
||||
SET DEBUG_SYNC= 'now SIGNAL continue4';
|
||||
# Connection default
|
||||
# Reaping ALTER TABLE ...
|
||||
Warnings:
|
||||
Note 1831 Duplicate index 'i4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
DROP TABLE t1;
|
||||
SET DEBUG_SYNC= 'RESET';
|
||||
|
Reference in New Issue
Block a user