diff options
author | unknown <sanja@askmonty.org> | 2013-09-20 22:30:19 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2013-09-20 22:30:19 +0300 |
commit | 192bafe526b42fc92e6549cf752b01bd17bf2c70 (patch) | |
tree | 5aa0f19154b9a01a42a084afc9161acf4b459d34 /mysql-test/r/myisam.result | |
parent | c9f0792c2904988efb1a421dcd174b0bf9f3c0e4 (diff) | |
download | mariadb-git-192bafe526b42fc92e6549cf752b01bd17bf2c70.tar.gz |
Check for duplicate index (port from mysql)
(pre fts)
Diffstat (limited to 'mysql-test/r/myisam.result')
-rw-r--r-- | mysql-test/r/myisam.result | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/myisam.result b/mysql-test/r/myisam.result index 5b0dbbf6957..3a6fa9a4673 100644 --- a/mysql-test/r/myisam.result +++ b/mysql-test/r/myisam.result @@ -1242,6 +1242,8 @@ id select_type table type possible_keys key key_len ref rows Extra alter table t1 add unique(v); ERROR 23000: Duplicate entry '{ ' for key 'v_2' alter table t1 add key(v); +Warnings: +Note 1831 Duplicate index 'v_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a'; qq *a*a*a* @@ -2439,6 +2441,9 @@ DROP TABLE t1; SET myisam_repair_threads=2; SET myisam_sort_buffer_size=4096; CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a)); +Warnings: +Note 1831 Duplicate index 'a_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. +Note 1831 Duplicate index 'a_3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release. INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3); REPAIR TABLE t1; Table Op Msg_type Msg_text |