MDEV-11231 Server crashes in check_duplicate_key on CREATE TABLE ... SELECT
be consistent and don't include the table name into the error message, no other CREATE TABLE error does it. (the crash happened, because thd->lex->query_tables was NULL)
This commit is contained in:
parent
c5ef621599
commit
7f2fd34500
@ -1535,17 +1535,17 @@ ALTER TABLE t1 ADD INDEX i2(b), ALGORITHM= DEFAULT;
|
|||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i2`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i3(b), ALGORITHM= COPY;
|
ALTER TABLE t1 ADD INDEX i3(b), ALGORITHM= COPY;
|
||||||
affected rows: 2
|
affected rows: 2
|
||||||
info: Records: 2 Duplicates: 0 Warnings: 1
|
info: Records: 2 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i3`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i4(b), ALGORITHM= INPLACE;
|
ALTER TABLE t1 ADD INDEX i4(b), ALGORITHM= INPLACE;
|
||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i4`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i5(b), ALGORITHM= INVALID;
|
ALTER TABLE t1 ADD INDEX i5(b), ALGORITHM= INVALID;
|
||||||
ERROR HY000: Unknown ALGORITHM 'INVALID'
|
ERROR HY000: Unknown ALGORITHM 'INVALID'
|
||||||
ALTER TABLE m1 ENABLE KEYS;
|
ALTER TABLE m1 ENABLE KEYS;
|
||||||
@ -1570,17 +1570,17 @@ ALTER TABLE t1 ADD INDEX i2(b), ALGORITHM= DEFAULT;
|
|||||||
affected rows: 2
|
affected rows: 2
|
||||||
info: Records: 2 Duplicates: 0 Warnings: 1
|
info: Records: 2 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i2`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i3(b), ALGORITHM= COPY;
|
ALTER TABLE t1 ADD INDEX i3(b), ALGORITHM= COPY;
|
||||||
affected rows: 2
|
affected rows: 2
|
||||||
info: Records: 2 Duplicates: 0 Warnings: 1
|
info: Records: 2 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i3`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i4(b), ALGORITHM= INPLACE;
|
ALTER TABLE t1 ADD INDEX i4(b), ALGORITHM= INPLACE;
|
||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i4`. This is deprecated and will be disallowed in a future release.
|
||||||
SET SESSION old_alter_table= 0;
|
SET SESSION old_alter_table= 0;
|
||||||
affected rows: 0
|
affected rows: 0
|
||||||
ALTER TABLE t1 DROP INDEX i1, DROP INDEX i2, DROP INDEX i3, DROP INDEX i4;
|
ALTER TABLE t1 DROP INDEX i1, DROP INDEX i2, DROP INDEX i3, DROP INDEX i4;
|
||||||
@ -1602,17 +1602,17 @@ ALTER TABLE t1 ADD INDEX i2(b), LOCK= NONE;
|
|||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i2`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i3(b), LOCK= SHARED;
|
ALTER TABLE t1 ADD INDEX i3(b), LOCK= SHARED;
|
||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i3`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i4(b), LOCK= EXCLUSIVE;
|
ALTER TABLE t1 ADD INDEX i4(b), LOCK= EXCLUSIVE;
|
||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i4`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i5(b), LOCK= INVALID;
|
ALTER TABLE t1 ADD INDEX i5(b), LOCK= INVALID;
|
||||||
ERROR HY000: Unknown LOCK type 'INVALID'
|
ERROR HY000: Unknown LOCK type 'INVALID'
|
||||||
ALTER TABLE m1 ENABLE KEYS, LOCK= DEFAULT;
|
ALTER TABLE m1 ENABLE KEYS, LOCK= DEFAULT;
|
||||||
@ -1632,24 +1632,24 @@ ALTER TABLE t1 ADD INDEX i2(b), ALGORITHM= INPLACE, LOCK= SHARED;
|
|||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i2`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i3(b), ALGORITHM= INPLACE, LOCK= EXCLUSIVE;
|
ALTER TABLE t1 ADD INDEX i3(b), ALGORITHM= INPLACE, LOCK= EXCLUSIVE;
|
||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i3`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i4(b), ALGORITHM= COPY, LOCK= NONE;
|
ALTER TABLE t1 ADD INDEX i4(b), ALGORITHM= COPY, LOCK= NONE;
|
||||||
ERROR 0A000: LOCK=NONE is not supported. Reason: COPY algorithm requires a lock. Try LOCK=SHARED.
|
ERROR 0A000: LOCK=NONE is not supported. Reason: COPY algorithm requires a lock. Try LOCK=SHARED.
|
||||||
ALTER TABLE t1 ADD INDEX i5(b), ALGORITHM= COPY, LOCK= SHARED;
|
ALTER TABLE t1 ADD INDEX i5(b), ALGORITHM= COPY, LOCK= SHARED;
|
||||||
affected rows: 2
|
affected rows: 2
|
||||||
info: Records: 2 Duplicates: 0 Warnings: 1
|
info: Records: 2 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i5' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i5`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE t1 ADD INDEX i6(b), ALGORITHM= COPY, LOCK= EXCLUSIVE;
|
ALTER TABLE t1 ADD INDEX i6(b), ALGORITHM= COPY, LOCK= EXCLUSIVE;
|
||||||
affected rows: 2
|
affected rows: 2
|
||||||
info: Records: 2 Duplicates: 0 Warnings: 1
|
info: Records: 2 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i6' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i6`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE m1 ENABLE KEYS, ALGORITHM= INPLACE, LOCK= NONE;
|
ALTER TABLE m1 ENABLE KEYS, ALGORITHM= INPLACE, LOCK= NONE;
|
||||||
ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
|
ERROR 0A000: LOCK=NONE/SHARED is not supported for this operation. Try LOCK=EXCLUSIVE.
|
||||||
ALTER TABLE m1 ENABLE KEYS, ALGORITHM= INPLACE, LOCK= SHARED;
|
ALTER TABLE m1 ENABLE KEYS, ALGORITHM= INPLACE, LOCK= SHARED;
|
||||||
|
@ -2,9 +2,9 @@ drop table if exists t1,t2;
|
|||||||
drop view if exists v1;
|
drop view if exists v1;
|
||||||
create table t1(n int not null, key(n), key(n), key(n), key(n));
|
create table t1(n int not null, key(n), key(n), key(n), key(n));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'n_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `n_2`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'n_3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `n_3`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'n_4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `n_4`. This is deprecated and will be disallowed in a future release.
|
||||||
check table t1 extended;
|
check table t1 extended;
|
||||||
insert into t1 values (200000);
|
insert into t1 values (200000);
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
|
@ -18,10 +18,10 @@ create table t1 (a int null);
|
|||||||
alter table t1 add constraint constraint_1 unique (a);
|
alter table t1 add constraint constraint_1 unique (a);
|
||||||
alter table t1 add constraint unique key_1(a);
|
alter table t1 add constraint unique key_1(a);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'key_1' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `key_1`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t1 add constraint constraint_2 unique key_2(a);
|
alter table t1 add constraint constraint_2 unique key_2(a);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'key_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `key_2`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
|
@ -181,36 +181,36 @@ Warnings:
|
|||||||
Note 1051 Unknown table 'test.t2'
|
Note 1051 Unknown table 'test.t2'
|
||||||
create table t1 (a int not null, b int, primary key(a), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b));
|
create table t1 (a int not null, b int, primary key(a), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b), key (b));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_2`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_3`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_4`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_5' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_5`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_6' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_6`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_7' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_7`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_8' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_8`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_9' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_9`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_10' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_10`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_11' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_11`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_12' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_12`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_13' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_13`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_14' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_14`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_15' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_15`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_16' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_16`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_17' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_17`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_18' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_18`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_19' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_19`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_20' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_20`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_21' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_21`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_22' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_22`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_23' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_23`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_24' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_24`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_25' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_25`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_26' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_26`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_27' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_27`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_28' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_28`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_29' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_29`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_30' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_30`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_31' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_31`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
@ -1045,69 +1045,69 @@ key a064_long_123456789_123456789_123456789_123456789_123456789_1234 (
|
|||||||
c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16)
|
c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16)
|
||||||
);
|
);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'a002_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a002_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a003_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a003_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a004_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a004_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a005_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a005_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a006_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a006_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a007_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a007_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a008_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a008_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a009_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a009_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a010_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a010_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a011_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a011_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a012_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a012_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a013_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a013_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a014_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a014_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a015_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a015_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a016_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a016_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a017_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a017_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a018_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a018_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a019_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a019_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a020_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a020_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a021_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a021_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a022_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a022_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a023_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a023_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a024_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a024_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a025_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a025_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a026_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a026_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a027_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a027_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a028_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a028_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a029_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a029_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a030_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a030_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a031_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a031_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a032_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a032_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a033_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a033_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a034_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a034_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a035_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a035_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a036_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a036_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a037_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a037_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a038_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a038_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a039_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a039_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a040_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a040_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a041_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a041_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a042_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a042_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a043_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a043_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a044_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a044_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a045_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a045_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a046_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a046_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a047_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a047_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a048_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a048_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a049_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a049_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a050_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a050_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a051_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a051_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a052_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a052_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a053_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a053_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a054_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a054_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a055_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a055_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a056_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a056_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a057_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a057_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a058_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a058_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a059_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a059_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a060_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a060_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a061_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a061_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a062_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a062_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a063_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a063_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a064_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a064_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
@ -1410,69 +1410,69 @@ c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16),
|
|||||||
add key a064_long_123456789_123456789_123456789_123456789_123456789_1234 (
|
add key a064_long_123456789_123456789_123456789_123456789_123456789_1234 (
|
||||||
c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16);
|
c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'a002_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a002_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a003_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a003_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a004_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a004_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a005_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a005_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a006_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a006_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a007_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a007_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a008_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a008_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a009_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a009_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a010_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a010_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a011_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a011_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a012_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a012_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a013_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a013_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a014_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a014_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a015_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a015_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a016_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a016_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a017_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a017_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a018_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a018_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a019_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a019_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a020_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a020_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a021_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a021_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a022_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a022_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a023_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a023_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a024_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a024_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a025_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a025_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a026_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a026_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a027_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a027_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a028_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a028_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a029_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a029_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a030_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a030_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a031_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a031_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a032_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a032_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a033_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a033_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a034_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a034_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a035_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a035_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a036_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a036_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a037_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a037_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a038_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a038_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a039_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a039_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a040_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a040_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a041_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a041_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a042_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a042_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a043_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a043_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a044_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a044_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a045_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a045_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a046_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a046_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a047_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a047_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a048_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a048_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a049_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a049_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a050_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a050_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a051_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a051_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a052_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a052_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a053_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a053_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a054_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a054_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a055_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a055_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a056_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a056_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a057_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a057_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a058_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a058_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a059_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a059_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a060_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a060_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a061_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a061_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a062_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a062_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a063_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a063_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'a064_long_123456789_123456789_123456789_123456789_123456789_1234' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a064_long_123456789_123456789_123456789_123456789_123456789_1234`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
@ -2681,3 +2681,7 @@ drop function f1;
|
|||||||
End of 5.5 tests
|
End of 5.5 tests
|
||||||
create table t1;
|
create table t1;
|
||||||
ERROR 42000: A table must have at least 1 column
|
ERROR 42000: A table must have at least 1 column
|
||||||
|
create table t1 (i int, j int, key(i), key(i)) as select 1 as i, 2 as j;
|
||||||
|
Warnings:
|
||||||
|
Note 1831 Duplicate index `i_2`. This is deprecated and will be disallowed in a future release.
|
||||||
|
drop table t1;
|
||||||
|
@ -99,45 +99,45 @@ KEY(b),KEY(b),KEY(b),KEY(b),KEY(b),
|
|||||||
KEY(b),KEY(b),KEY(b),KEY(b),KEY(b),
|
KEY(b),KEY(b),KEY(b),KEY(b),KEY(b),
|
||||||
KEY(b),KEY(b),KEY(b),KEY(b),KEY(b));
|
KEY(b),KEY(b),KEY(b),KEY(b),KEY(b));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_2' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_2`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_3' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_3`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_4' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_4`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_5' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_5`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_6' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_6`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_7' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_7`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_8' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_8`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_9' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_9`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_10' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_10`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_11' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_11`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_12' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_12`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_13' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_13`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_14' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_14`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_15' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_15`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_16' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_16`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_17' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_17`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_18' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_18`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_19' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_19`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_20' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_20`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_21' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_21`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_22' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_22`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_23' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_23`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_24' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_24`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_25' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_25`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_26' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_26`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_27' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_27`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_28' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_28`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_29' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_29`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_30' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_30`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_31' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_31`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_32' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_32`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_33' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_33`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_34' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_34`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_35' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_35`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_36' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_36`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_37' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_37`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_38' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_38`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_39' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_39`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'b_40' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_40`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO t2 VALUES (),(),();
|
INSERT INTO t2 VALUES (),(),();
|
||||||
EXPLAIN SELECT 1 FROM
|
EXPLAIN SELECT 1 FROM
|
||||||
(SELECT 1 FROM t2,t1 WHERE b < c GROUP BY 1 LIMIT 1) AS d2;
|
(SELECT 1 FROM t2,t1 WHERE b < c GROUP BY 1 LIMIT 1) AS d2;
|
||||||
|
@ -2562,7 +2562,7 @@ a MIN(b) MAX(b) AVG(b)
|
|||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
create table t1 (a int, b int, key (a,b), key `index` (a,b)) engine=MyISAM;
|
create table t1 (a int, b int, key (a,b), key `index` (a,b)) engine=MyISAM;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'index' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `index`. This is deprecated and will be disallowed in a future release.
|
||||||
insert into t1 (a,b) values
|
insert into t1 (a,b) values
|
||||||
(0,0),(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),
|
(0,0),(0,1),(0,2),(0,3),(0,4),(0,5),(0,6),
|
||||||
(0,7),(0,8),(0,9),(0,10),(0,11),(0,12),(0,13),
|
(0,7),(0,8),(0,9),(0,10),(0,11),(0,12),(0,13),
|
||||||
|
@ -224,7 +224,7 @@ index i2_1(key2, key2_1),
|
|||||||
index i2_2(key2, key2_1)
|
index i2_2(key2, key2_1)
|
||||||
);
|
);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i2_2' defined on the table 'test.t4'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i2_2`. This is deprecated and will be disallowed in a future release.
|
||||||
insert into t4 select key1,key1,key1 div 10, key1 % 10, key1 % 10, key1 from t0;
|
insert into t4 select key1,key1,key1 div 10, key1 % 10, key1 % 10, key1 from t0;
|
||||||
select * from t4 where key1a = 3 or key1b = 4;
|
select * from t4 where key1a = 3 or key1b = 4;
|
||||||
key1a key1b key2 key2_1 key2_2 key3
|
key1a key1b key2 key2_1 key2_2 key3
|
||||||
|
@ -478,10 +478,10 @@ create table t1 (a int null, primary key(a));
|
|||||||
alter table t1 add constraint constraint_1 unique (a);
|
alter table t1 add constraint constraint_1 unique (a);
|
||||||
alter table t1 add constraint unique key_1(a);
|
alter table t1 add constraint unique key_1(a);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'key_1' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `key_1`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t1 add constraint constraint_2 unique key_2(a);
|
alter table t1 add constraint constraint_2 unique key_2(a);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'key_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `key_2`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
|
@ -712,8 +712,8 @@ b INT, c INT, d DATE NOT NULL, e VARCHAR(1),
|
|||||||
KEY (c), KEY (d), KEY k2(b), KEY k3(b), KEY k4(b)
|
KEY (c), KEY (d), KEY k2(b), KEY k3(b), KEY k4(b)
|
||||||
);
|
);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'k3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `k3`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'k4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `k4`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO t1 (b,c,d,e) VALUES
|
INSERT INTO t1 (b,c,d,e) VALUES
|
||||||
(6,5,'2006-05-25','y'),(1,5,'2008-01-23','t'),
|
(6,5,'2006-05-25','y'),(1,5,'2008-01-23','t'),
|
||||||
(6,5,'2007-06-18','d'),(4,5,'1900-01-01','r'),
|
(6,5,'2007-06-18','d'),(4,5,'1900-01-01','r'),
|
||||||
|
@ -308,7 +308,7 @@ SET DEBUG_SYNC= 'now SIGNAL continue3';
|
|||||||
# Connection default
|
# Connection default
|
||||||
# Reaping ALTER TABLE ...
|
# Reaping ALTER TABLE ...
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i2`. This is deprecated and will be disallowed in a future release.
|
||||||
SET DEBUG_SYNC= 'RESET';
|
SET DEBUG_SYNC= 'RESET';
|
||||||
DELETE FROM t1 WHERE a= 3;
|
DELETE FROM t1 WHERE a= 3;
|
||||||
#
|
#
|
||||||
@ -358,7 +358,7 @@ SET DEBUG_SYNC= 'now SIGNAL continue4';
|
|||||||
# Connection default
|
# Connection default
|
||||||
# Reaping ALTER TABLE ...
|
# Reaping ALTER TABLE ...
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i4`. This is deprecated and will be disallowed in a future release.
|
||||||
SET DEBUG_SYNC= 'RESET';
|
SET DEBUG_SYNC= 'RESET';
|
||||||
DROP TABLE t1;
|
DROP TABLE t1;
|
||||||
SET DEBUG_SYNC= 'RESET';
|
SET DEBUG_SYNC= 'RESET';
|
||||||
|
@ -428,7 +428,7 @@ index i5 (c1, c2, c3, c4),
|
|||||||
primary key (c2, c3),
|
primary key (c2, c3),
|
||||||
index (c2, c4));
|
index (c2, c4));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i1' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i1`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
@ -448,17 +448,17 @@ t1 CREATE TABLE `t1` (
|
|||||||
alter table t1 drop index c1;
|
alter table t1 drop index c1;
|
||||||
alter table t1 add index (c1);
|
alter table t1 add index (c1);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'c1' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `c1`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t1 add index (c1);
|
alter table t1 add index (c1);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'c1_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `c1_2`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t1 drop index i3;
|
alter table t1 drop index i3;
|
||||||
alter table t1 add index i3 (c3);
|
alter table t1 add index i3 (c3);
|
||||||
alter table t1 drop index i2, drop index i4;
|
alter table t1 drop index i2, drop index i4;
|
||||||
alter table t1 add index i2 (c2), add index i4 (c4);
|
alter table t1 add index i2 (c2), add index i4 (c4);
|
||||||
alter table t1 drop index i2, drop index i4, add index i6 (c2, c4);
|
alter table t1 drop index i2, drop index i4, add index i6 (c2, c4);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i6' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i6`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t1 add index i2 (c2), add index i4 (c4), drop index i6;
|
alter table t1 add index i2 (c2), add index i4 (c4), drop index i6;
|
||||||
alter table t1 drop index i2, drop index i4, add unique i4 (c4);
|
alter table t1 drop index i2, drop index i4, add unique i4 (c4);
|
||||||
alter table t1 add index i2 (c2), drop index i4, add index i4 (c4);
|
alter table t1 add index i2 (c2), drop index i4, add index i4 (c4);
|
||||||
|
@ -138,7 +138,7 @@ Tables_in_test (T1%)
|
|||||||
T1
|
T1
|
||||||
alter table t1 add index (A);
|
alter table t1 add index (A);
|
||||||
Warnings:
|
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_2`. This is deprecated and will be disallowed in a future release.
|
||||||
show tables like 't1%';
|
show tables like 't1%';
|
||||||
Tables_in_test (t1%)
|
Tables_in_test (t1%)
|
||||||
t1
|
t1
|
||||||
|
@ -257,7 +257,7 @@ drop table t1;
|
|||||||
CREATE TABLE t1 (a int not null, b int not null,c int not null,
|
CREATE TABLE t1 (a int not null, b int not null,c int not null,
|
||||||
key(a),primary key(a,b), unique(c),key(a),unique(b)) ENGINE = MyISAM;
|
key(a),primary key(a,b), unique(c),key(a),unique(b)) ENGINE = MyISAM;
|
||||||
Warnings:
|
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_2`. This is deprecated and will be disallowed in a future release.
|
||||||
show index from t1;
|
show index from t1;
|
||||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
|
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
|
||||||
t1 0 PRIMARY 1 a A # NULL NULL BTREE
|
t1 0 PRIMARY 1 a A # NULL NULL BTREE
|
||||||
@ -1550,7 +1550,7 @@ alter table t1 add unique(v);
|
|||||||
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
||||||
alter table t1 add key(v);
|
alter table t1 add key(v);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'v_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `v_2`. This is deprecated and will be disallowed in a future release.
|
||||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
||||||
qq
|
qq
|
||||||
*a*a*a*
|
*a*a*a*
|
||||||
|
@ -351,7 +351,7 @@ alter table t1 add unique(v);
|
|||||||
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
||||||
alter table t1 add key(v);
|
alter table t1 add key(v);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'v_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `v_2`. This is deprecated and will be disallowed in a future release.
|
||||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
||||||
qq
|
qq
|
||||||
*a*a*a*
|
*a*a*a*
|
||||||
|
@ -1243,7 +1243,7 @@ alter table t1 add unique(v);
|
|||||||
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
||||||
alter table t1 add key(v);
|
alter table t1 add key(v);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'v_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `v_2`. This is deprecated and will be disallowed in a future release.
|
||||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
||||||
qq
|
qq
|
||||||
*a*a*a*
|
*a*a*a*
|
||||||
@ -2442,8 +2442,8 @@ SET myisam_repair_threads=2;
|
|||||||
SET myisam_sort_buffer_size=4096;
|
SET myisam_sort_buffer_size=4096;
|
||||||
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
||||||
Warnings:
|
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_2`. 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.
|
Note 1831 Duplicate index `a_3`. 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);
|
INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3);
|
||||||
REPAIR TABLE t1;
|
REPAIR TABLE t1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
|
@ -716,8 +716,8 @@ b INT, c INT, d DATE NOT NULL, e VARCHAR(1),
|
|||||||
KEY (c), KEY (d), KEY k2(b), KEY k3(b), KEY k4(b)
|
KEY (c), KEY (d), KEY k2(b), KEY k3(b), KEY k4(b)
|
||||||
);
|
);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'k3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `k3`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'k4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `k4`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO t1 (b,c,d,e) VALUES
|
INSERT INTO t1 (b,c,d,e) VALUES
|
||||||
(6,5,'2006-05-25','y'),(1,5,'2008-01-23','t'),
|
(6,5,'2006-05-25','y'),(1,5,'2008-01-23','t'),
|
||||||
(6,5,'2007-06-18','d'),(4,5,'1900-01-01','r'),
|
(6,5,'2007-06-18','d'),(4,5,'1900-01-01','r'),
|
||||||
|
@ -300,7 +300,7 @@ create index i on t1 (a);
|
|||||||
ERROR 42000: Duplicate key name 'i'
|
ERROR 42000: Duplicate key name 'i'
|
||||||
create index i2 on t1 (a);
|
create index i2 on t1 (a);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'i2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `i2`. This is deprecated and will be disallowed in a future release.
|
||||||
drop table t1;
|
drop table t1;
|
||||||
CREATE TABLE t1 (a INT, FOREIGN KEY (a) REFERENCES t0 (a))
|
CREATE TABLE t1 (a INT, FOREIGN KEY (a) REFERENCES t0 (a))
|
||||||
ENGINE=MyISAM
|
ENGINE=MyISAM
|
||||||
|
@ -609,7 +609,7 @@ c INT,
|
|||||||
PRIMARY KEY (c,a), KEY (a),KEY (a)
|
PRIMARY KEY (c,a), KEY (a),KEY (a)
|
||||||
) ENGINE=INNODB PARTITION BY KEY () PARTITIONS 2;
|
) ENGINE=INNODB PARTITION BY KEY () PARTITIONS 2;
|
||||||
Warnings:
|
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_2`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO t1 VALUES (1,5,1),(2,4,1),(3,3,1),(4,2,1),(5,1,1);
|
INSERT INTO t1 VALUES (1,5,1),(2,4,1),(3,3,1),(4,2,1),(5,1,1);
|
||||||
UPDATE t1 SET b = 0, c=1 WHERE a <=>0;
|
UPDATE t1 SET b = 0, c=1 WHERE a <=>0;
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
|
@ -86,10 +86,10 @@ t1 1 options 2 flags A NULL NULL NULL BTREE
|
|||||||
CREATE UNIQUE INDEX test on t1 ( auto ) ;
|
CREATE UNIQUE INDEX test on t1 ( auto ) ;
|
||||||
CREATE INDEX test2 on t1 ( ulonglong,ulong) ;
|
CREATE INDEX test2 on t1 ( ulonglong,ulong) ;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'test2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `test2`. This is deprecated and will be disallowed in a future release.
|
||||||
CREATE INDEX test3 on t1 ( medium ) ;
|
CREATE INDEX test3 on t1 ( medium ) ;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'test3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `test3`. This is deprecated and will be disallowed in a future release.
|
||||||
DROP INDEX test ON t1;
|
DROP INDEX test ON t1;
|
||||||
insert into t1 values (10, 1,1,1,1,1,1,1,1,1,1,1,1,1,NULL,0,0,0,1,1,1,1,'one','one');
|
insert into t1 values (10, 1,1,1,1,1,1,1,1,1,1,1,1,1,NULL,0,0,0,1,1,1,1,'one','one');
|
||||||
insert into t1 values (NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,NULL,NULL,NULL,NULL,NULL,NULL,2,2,'two','two,one');
|
insert into t1 values (NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,NULL,NULL,NULL,NULL,NULL,NULL,2,2,'two','two,one');
|
||||||
@ -308,7 +308,7 @@ const int(1) NULL NO 0 #
|
|||||||
drop table t1,t2,t3;
|
drop table t1,t2,t3;
|
||||||
create table t1 ( myfield INT NOT NULL, UNIQUE INDEX (myfield), unique (myfield), index(myfield));
|
create table t1 ( myfield INT NOT NULL, UNIQUE INDEX (myfield), unique (myfield), index(myfield));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'myfield_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `myfield_2`. This is deprecated and will be disallowed in a future release.
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t1 ( id integer unsigned not null primary key );
|
create table t1 ( id integer unsigned not null primary key );
|
||||||
create table t2 ( id integer unsigned not null primary key );
|
create table t2 ( id integer unsigned not null primary key );
|
||||||
|
@ -64,7 +64,7 @@ alter table t1 add unique index (c), add index (d);
|
|||||||
affected rows: 0
|
affected rows: 0
|
||||||
info: Records: 0 Duplicates: 0 Warnings: 1
|
info: Records: 0 Duplicates: 0 Warnings: 1
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'd' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `d`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t1;
|
show create table t1;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t1 CREATE TABLE `t1` (
|
t1 CREATE TABLE `t1` (
|
||||||
|
@ -405,7 +405,7 @@ drop table t1;
|
|||||||
CREATE TABLE t1 (a int not null, b int not null,c int not null,
|
CREATE TABLE t1 (a int not null, b int not null,c int not null,
|
||||||
key(a),primary key(a,b), unique(c),key(a),unique(b));
|
key(a),primary key(a,b), unique(c),key(a),unique(b));
|
||||||
Warnings:
|
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_2`. This is deprecated and will be disallowed in a future release.
|
||||||
show index from t1;
|
show index from t1;
|
||||||
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
|
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment
|
||||||
t1 0 PRIMARY 1 a A # NULL NULL BTREE
|
t1 0 PRIMARY 1 a A # NULL NULL BTREE
|
||||||
@ -1445,7 +1445,7 @@ t2 CREATE TABLE `t2` (
|
|||||||
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1
|
||||||
create index id2 on t2 (id);
|
create index id2 on t2 (id);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'id2' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `id2`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table t2;
|
show create table t2;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
t2 CREATE TABLE `t2` (
|
t2 CREATE TABLE `t2` (
|
||||||
@ -1851,7 +1851,7 @@ alter table t1 add unique(v);
|
|||||||
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
||||||
alter table t1 add key(v);
|
alter table t1 add key(v);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'v_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `v_2`. This is deprecated and will be disallowed in a future release.
|
||||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
||||||
qq
|
qq
|
||||||
*a*a*a*
|
*a*a*a*
|
||||||
|
@ -5,7 +5,7 @@ col3 time not null) engine = innodb;
|
|||||||
create unique index idx on bug51378(col1, col2(31));
|
create unique index idx on bug51378(col1, col2(31));
|
||||||
alter table bug51378 add unique index idx2(col1, col2(31));
|
alter table bug51378 add unique index idx2(col1, col2(31));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'idx2' defined on the table 'test.bug51378'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `idx2`. This is deprecated and will be disallowed in a future release.
|
||||||
create unique index idx3 on bug51378(col1, col3);
|
create unique index idx3 on bug51378(col1, col3);
|
||||||
SHOW CREATE TABLE bug51378;
|
SHOW CREATE TABLE bug51378;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
|
@ -1018,7 +1018,7 @@ CREATE TABLE `t21` (`a` text, `b` int not null,
|
|||||||
fulltext key (`a`), fulltext key (`a`)
|
fulltext key (`a`), fulltext key (`a`)
|
||||||
) ENGINE=INNODB DEFAULT CHARSET=LATIN1;
|
) ENGINE=INNODB DEFAULT CHARSET=LATIN1;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'a_2' defined on the table 'test.t21'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a_2`. This is deprecated and will be disallowed in a future release.
|
||||||
ALTER TABLE `t21` ADD UNIQUE INDEX (`b`), ALGORITHM=INPLACE;
|
ALTER TABLE `t21` ADD UNIQUE INDEX (`b`), ALGORITHM=INPLACE;
|
||||||
ERROR 0A000: ALGORITHM=INPLACE is not supported. Reason: InnoDB presently supports one FULLTEXT index creation at a time. Try ALGORITHM=COPY.
|
ERROR 0A000: ALGORITHM=INPLACE is not supported. Reason: InnoDB presently supports one FULLTEXT index creation at a time. Try ALGORITHM=COPY.
|
||||||
ALTER TABLE `t21` ADD UNIQUE INDEX (`b`);
|
ALTER TABLE `t21` ADD UNIQUE INDEX (`b`);
|
||||||
|
@ -193,10 +193,10 @@ Level Code Message
|
|||||||
Warning 1071 Specified key was too long; max key length is 3072 bytes
|
Warning 1071 Specified key was too long; max key length is 3072 bytes
|
||||||
create index idx3 on worklog5743_8(a2(3072));
|
create index idx3 on worklog5743_8(a2(3072));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'idx3' defined on the table 'test.worklog5743_8'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `idx3`. This is deprecated and will be disallowed in a future release.
|
||||||
show warnings;
|
show warnings;
|
||||||
Level Code Message
|
Level Code Message
|
||||||
Note 1831 Duplicate index 'idx3' defined on the table 'test.worklog5743_8'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `idx3`. This is deprecated and will be disallowed in a future release.
|
||||||
create index idx4 on worklog5743_8(a1, a2(3069));
|
create index idx4 on worklog5743_8(a1, a2(3069));
|
||||||
ERROR 42000: Specified key was too long; max key length is 3072 bytes
|
ERROR 42000: Specified key was too long; max key length is 3072 bytes
|
||||||
show warnings;
|
show warnings;
|
||||||
@ -229,10 +229,10 @@ Level Code Message
|
|||||||
Warning 1071 Specified key was too long; max key length is 3072 bytes
|
Warning 1071 Specified key was too long; max key length is 3072 bytes
|
||||||
create index idx3 on worklog5743_16(a2(3072));
|
create index idx3 on worklog5743_16(a2(3072));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'idx3' defined on the table 'test.worklog5743_16'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `idx3`. This is deprecated and will be disallowed in a future release.
|
||||||
show warnings;
|
show warnings;
|
||||||
Level Code Message
|
Level Code Message
|
||||||
Note 1831 Duplicate index 'idx3' defined on the table 'test.worklog5743_16'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `idx3`. This is deprecated and will be disallowed in a future release.
|
||||||
create index idx4 on worklog5743_16(a1, a2(3069));
|
create index idx4 on worklog5743_16(a1, a2(3069));
|
||||||
ERROR 42000: Specified key was too long; max key length is 3072 bytes
|
ERROR 42000: Specified key was too long; max key length is 3072 bytes
|
||||||
show warnings;
|
show warnings;
|
||||||
@ -462,7 +462,7 @@ Warnings:
|
|||||||
Warning 1071 Specified key was too long; max key length is 3072 bytes
|
Warning 1071 Specified key was too long; max key length is 3072 bytes
|
||||||
create index idx2 on worklog5743(a(3072));
|
create index idx2 on worklog5743(a(3072));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'idx2' defined on the table 'test.worklog5743'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `idx2`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table worklog5743;
|
show create table worklog5743;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
worklog5743 CREATE TABLE `worklog5743` (
|
worklog5743 CREATE TABLE `worklog5743` (
|
||||||
|
@ -718,8 +718,8 @@ b INT, c INT, d DATE NOT NULL, e VARCHAR(1),
|
|||||||
KEY (c), KEY (d), KEY k2(b), KEY k3(b), KEY k4(b)
|
KEY (c), KEY (d), KEY k2(b), KEY k3(b), KEY k4(b)
|
||||||
);
|
);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'k3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `k3`. This is deprecated and will be disallowed in a future release.
|
||||||
Note 1831 Duplicate index 'k4' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `k4`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO t1 (b,c,d,e) VALUES
|
INSERT INTO t1 (b,c,d,e) VALUES
|
||||||
(6,5,'2006-05-25','y'),(1,5,'2008-01-23','t'),
|
(6,5,'2006-05-25','y'),(1,5,'2008-01-23','t'),
|
||||||
(6,5,'2007-06-18','d'),(4,5,'1900-01-01','r'),
|
(6,5,'2007-06-18','d'),(4,5,'1900-01-01','r'),
|
||||||
|
@ -1139,7 +1139,7 @@ alter table t1 add unique(v);
|
|||||||
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
ERROR 23000: Duplicate entry '{ ' for key 'v_2'
|
||||||
alter table t1 add key(v);
|
alter table t1 add key(v);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'v_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `v_2`. This is deprecated and will be disallowed in a future release.
|
||||||
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
select concat('*',v,'*',c,'*',t,'*') as qq from t1 where v='a';
|
||||||
qq
|
qq
|
||||||
*a*a*a*
|
*a*a*a*
|
||||||
@ -2696,8 +2696,8 @@ SET aria_repair_threads=2;
|
|||||||
SET aria_sort_buffer_size=8192;
|
SET aria_sort_buffer_size=8192;
|
||||||
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
CREATE TABLE t1(a CHAR(255), KEY(a), KEY(a), KEY(a));
|
||||||
Warnings:
|
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_2`. 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.
|
Note 1831 Duplicate index `a_3`. 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);
|
INSERT INTO t1 VALUES (0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(0),(1),(2),(3);
|
||||||
REPAIR TABLE t1;
|
REPAIR TABLE t1;
|
||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
|
@ -8,7 +8,7 @@ KEY `int_key` (`int_key`),
|
|||||||
KEY `varchar_key` (`int_key`)
|
KEY `varchar_key` (`int_key`)
|
||||||
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'varchar_key' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `varchar_key`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO `t2` VALUES (10,8,NULL,'2002-02-26 06:14:37'),(11,9,'2006-06-14','1900-01-01 00:00:00'),(12,9,'2002-09-12','2006-12-03 09:37:26'),(13,186,'2005-02-15','2008-05-26 12:27:10'),(14,NULL,NULL,'2004-12-14 16:37:30'),(15,2,'2008-11-04','2003-02-11 21:19:41'),(16,3,'2004-09-04','2009-10-18 02:27:49'),(17,0,'2006-06-05','2000-09-26 07:45:57'),(18,133,'1900-01-01',NULL),(19,1,'1900-01-01','2005-11-10 12:40:29'),(20,8,'1900-01-01','2009-04-25 00:00:00'),(21,5,'2005-01-13','2002-11-27 00:00:00'),(22,5,'2006-05-21','2004-01-26 20:32:32'),(23,8,'2003-09-08','2007-10-26 11:41:40'),(24,6,'2006-12-23','2005-10-07 00:00:00'),(25,51,'2006-10-15','2000-07-15 05:00:34'),(26,4,'2005-04-06','2000-04-03 16:33:32'),(27,7,'2008-04-07',NULL),(28,6,'2006-10-10','2001-04-25 01:26:12'),(29,4,'1900-01-01','2000-12-27 00:00:00');
|
INSERT INTO `t2` VALUES (10,8,NULL,'2002-02-26 06:14:37'),(11,9,'2006-06-14','1900-01-01 00:00:00'),(12,9,'2002-09-12','2006-12-03 09:37:26'),(13,186,'2005-02-15','2008-05-26 12:27:10'),(14,NULL,NULL,'2004-12-14 16:37:30'),(15,2,'2008-11-04','2003-02-11 21:19:41'),(16,3,'2004-09-04','2009-10-18 02:27:49'),(17,0,'2006-06-05','2000-09-26 07:45:57'),(18,133,'1900-01-01',NULL),(19,1,'1900-01-01','2005-11-10 12:40:29'),(20,8,'1900-01-01','2009-04-25 00:00:00'),(21,5,'2005-01-13','2002-11-27 00:00:00'),(22,5,'2006-05-21','2004-01-26 20:32:32'),(23,8,'2003-09-08','2007-10-26 11:41:40'),(24,6,'2006-12-23','2005-10-07 00:00:00'),(25,51,'2006-10-15','2000-07-15 05:00:34'),(26,4,'2005-04-06','2000-04-03 16:33:32'),(27,7,'2008-04-07',NULL),(28,6,'2006-10-10','2001-04-25 01:26:12'),(29,4,'1900-01-01','2000-12-27 00:00:00');
|
||||||
CREATE TABLE t1 (
|
CREATE TABLE t1 (
|
||||||
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -20,7 +20,7 @@ KEY `int_key` (`int_key`),
|
|||||||
KEY `varchar_key` (`int_key`)
|
KEY `varchar_key` (`int_key`)
|
||||||
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'varchar_key' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `varchar_key`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO t1 VALUES (1,2,NULL,'2004-10-11 18:13:16'),(2,9,'2001-09-19',NULL),(3,3,'2004-09-12','1900-01-01 00:00:00'),(4,9,NULL,'2009-07-25 00:00:00'),(5,NULL,'2002-07-19',NULL),(6,9,'2002-12-16','2008-07-27 00:00:00'),(7,3,'2006-02-08','2002-11-13 16:37:31'),(8,8,'2006-08-28','1900-01-01 00:00:00'),(9,8,'2001-04-14','2003-12-10 00:00:00'),(10,53,'2000-01-05','2001-12-21 22:38:22'),(11,0,'2003-12-06','2008-12-13 23:16:44'),(12,5,'1900-01-01','2005-08-15 12:39:41'),(13,166,'2002-11-27',NULL),(14,3,NULL,'2006-09-11 12:06:14'),(15,0,'2003-05-27','2007-12-15 12:39:34'),(16,1,'2005-05-03','2005-08-09 00:00:00'),(17,9,'2001-04-18','2001-09-02 22:50:02'),(18,5,'2005-12-27','2005-12-16 22:58:11'),(19,6,'2004-08-20','2007-04-19 00:19:53'),(20,2,'1900-01-01','1900-01-01 00:00:00');
|
INSERT INTO t1 VALUES (1,2,NULL,'2004-10-11 18:13:16'),(2,9,'2001-09-19',NULL),(3,3,'2004-09-12','1900-01-01 00:00:00'),(4,9,NULL,'2009-07-25 00:00:00'),(5,NULL,'2002-07-19',NULL),(6,9,'2002-12-16','2008-07-27 00:00:00'),(7,3,'2006-02-08','2002-11-13 16:37:31'),(8,8,'2006-08-28','1900-01-01 00:00:00'),(9,8,'2001-04-14','2003-12-10 00:00:00'),(10,53,'2000-01-05','2001-12-21 22:38:22'),(11,0,'2003-12-06','2008-12-13 23:16:44'),(12,5,'1900-01-01','2005-08-15 12:39:41'),(13,166,'2002-11-27',NULL),(14,3,NULL,'2006-09-11 12:06:14'),(15,0,'2003-05-27','2007-12-15 12:39:34'),(16,1,'2005-05-03','2005-08-09 00:00:00'),(17,9,'2001-04-18','2001-09-02 22:50:02'),(18,5,'2005-12-27','2005-12-16 22:58:11'),(19,6,'2004-08-20','2007-04-19 00:19:53'),(20,2,'1900-01-01','1900-01-01 00:00:00');
|
||||||
SELECT `pk`
|
SELECT `pk`
|
||||||
FROM t1 OUTR
|
FROM t1 OUTR
|
||||||
@ -77,7 +77,7 @@ KEY `datetime_key` (`datetime_key`),
|
|||||||
KEY `varchar_key` (`int_key`)
|
KEY `varchar_key` (`int_key`)
|
||||||
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=latin1;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'varchar_key' defined on the table 'test.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `varchar_key`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO `t2` VALUES (10,7,8,NULL,'2002-02-26 06:14:37','2002-02-26 06:14:37'),(11,1,9,'2006-06-14','1900-01-01 00:00:00','1900-01-01 00:00:00'),(12,5,9,'2002-09-12','2006-12-03 09:37:26','2006-12-03 09:37:26'),(13,3,186,'2005-02-15','2008-05-26 12:27:10','2008-05-26 12:27:10'),(14,6,NULL,NULL,'2004-12-14 16:37:30','2004-12-14 16:37:30'),(15,92,2,'2008-11-04','2003-02-11 21:19:41','2003-02-11 21:19:41'),(16,7,3,'2004-09-04','2009-10-18 02:27:49','2009-10-18 02:27:49'),(17,NULL,0,'2006-06-05','2000-09-26 07:45:57','2000-09-26 07:45:57'),(18,3,133,'1900-01-01',NULL,NULL),(19,5,1,'1900-01-01','2005-11-10 12:40:29','2005-11-10 12:40:29'),(20,1,8,'1900-01-01','2009-04-25 00:00:00','2009-04-25 00:00:00'),(21,2,5,'2005-01-13','2002-11-27 00:00:00','2002-11-27 00:00:00'),(22,NULL,5,'2006-05-21','2004-01-26 20:32:32','2004-01-26 20:32:32'),(23,1,8,'2003-09-08','2007-10-26 11:41:40','2007-10-26 11:41:40'),(24,0,6,'2006-12-23','2005-10-07 00:00:00','2005-10-07 00:00:00'),(25,210,51,'2006-10-15','2000-07-15 05:00:34','2000-07-15 05:00:34'),(26,8,4,'2005-04-06','2000-04-03 16:33:32','2000-04-03 16:33:32'),(27,7,7,'2008-04-07',NULL,NULL),(28,5,6,'2006-10-10','2001-04-25 01:26:12','2001-04-25 01:26:12'),(29,NULL,4,'1900-01-01','2000-12-27 00:00:00','2000-12-27 00:00:00');
|
INSERT INTO `t2` VALUES (10,7,8,NULL,'2002-02-26 06:14:37','2002-02-26 06:14:37'),(11,1,9,'2006-06-14','1900-01-01 00:00:00','1900-01-01 00:00:00'),(12,5,9,'2002-09-12','2006-12-03 09:37:26','2006-12-03 09:37:26'),(13,3,186,'2005-02-15','2008-05-26 12:27:10','2008-05-26 12:27:10'),(14,6,NULL,NULL,'2004-12-14 16:37:30','2004-12-14 16:37:30'),(15,92,2,'2008-11-04','2003-02-11 21:19:41','2003-02-11 21:19:41'),(16,7,3,'2004-09-04','2009-10-18 02:27:49','2009-10-18 02:27:49'),(17,NULL,0,'2006-06-05','2000-09-26 07:45:57','2000-09-26 07:45:57'),(18,3,133,'1900-01-01',NULL,NULL),(19,5,1,'1900-01-01','2005-11-10 12:40:29','2005-11-10 12:40:29'),(20,1,8,'1900-01-01','2009-04-25 00:00:00','2009-04-25 00:00:00'),(21,2,5,'2005-01-13','2002-11-27 00:00:00','2002-11-27 00:00:00'),(22,NULL,5,'2006-05-21','2004-01-26 20:32:32','2004-01-26 20:32:32'),(23,1,8,'2003-09-08','2007-10-26 11:41:40','2007-10-26 11:41:40'),(24,0,6,'2006-12-23','2005-10-07 00:00:00','2005-10-07 00:00:00'),(25,210,51,'2006-10-15','2000-07-15 05:00:34','2000-07-15 05:00:34'),(26,8,4,'2005-04-06','2000-04-03 16:33:32','2000-04-03 16:33:32'),(27,7,7,'2008-04-07',NULL,NULL),(28,5,6,'2006-10-10','2001-04-25 01:26:12','2001-04-25 01:26:12'),(29,NULL,4,'1900-01-01','2000-12-27 00:00:00','2000-12-27 00:00:00');
|
||||||
CREATE TABLE t1 (
|
CREATE TABLE t1 (
|
||||||
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
`pk` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
@ -92,7 +92,7 @@ KEY `datetime_key` (`datetime_key`),
|
|||||||
KEY `varchar_key` (`int_key`)
|
KEY `varchar_key` (`int_key`)
|
||||||
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
|
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=latin1;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'varchar_key' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `varchar_key`. This is deprecated and will be disallowed in a future release.
|
||||||
INSERT INTO t1 VALUES (1,NULL,2,NULL,'2004-10-11 18:13:16','2004-10-11 18:13:16'),(2,7,9,'2001-09-19',NULL,NULL),(3,9,3,'2004-09-12','1900-01-01 00:00:00','1900-01-01 00:00:00'),(4,7,9,NULL,'2009-07-25 00:00:00','2009-07-25 00:00:00'),(5,4,NULL,'2002-07-19',NULL,NULL),(6,2,9,'2002-12-16','2008-07-27 00:00:00','2008-07-27 00:00:00'),(7,6,3,'2006-02-08','2002-11-13 16:37:31','2002-11-13 16:37:31'),(8,8,8,'2006-08-28','1900-01-01 00:00:00','1900-01-01 00:00:00'),(9,NULL,8,'2001-04-14','2003-12-10 00:00:00','2003-12-10 00:00:00'),(10,5,53,'2000-01-05','2001-12-21 22:38:22','2001-12-21 22:38:22'),(11,NULL,0,'2003-12-06','2008-12-13 23:16:44','2008-12-13 23:16:44'),(12,6,5,'1900-01-01','2005-08-15 12:39:41','2005-08-15 12:39:41'),(13,188,166,'2002-11-27',NULL,NULL),(14,2,3,NULL,'2006-09-11 12:06:14','2006-09-11 12:06:14'),(15,1,0,'2003-05-27','2007-12-15 12:39:34','2007-12-15 12:39:34'),(16,1,1,'2005-05-03','2005-08-09 00:00:00','2005-08-09 00:00:00'),(17,0,9,'2001-04-18','2001-09-02 22:50:02','2001-09-02 22:50:02'),(18,9,5,'2005-12-27','2005-12-16 22:58:11','2005-12-16 22:58:11'),(19,NULL,6,'2004-08-20','2007-04-19 00:19:53','2007-04-19 00:19:53'),(20,4,2,'1900-01-01','1900-01-01 00:00:00','1900-01-01 00:00:00');
|
INSERT INTO t1 VALUES (1,NULL,2,NULL,'2004-10-11 18:13:16','2004-10-11 18:13:16'),(2,7,9,'2001-09-19',NULL,NULL),(3,9,3,'2004-09-12','1900-01-01 00:00:00','1900-01-01 00:00:00'),(4,7,9,NULL,'2009-07-25 00:00:00','2009-07-25 00:00:00'),(5,4,NULL,'2002-07-19',NULL,NULL),(6,2,9,'2002-12-16','2008-07-27 00:00:00','2008-07-27 00:00:00'),(7,6,3,'2006-02-08','2002-11-13 16:37:31','2002-11-13 16:37:31'),(8,8,8,'2006-08-28','1900-01-01 00:00:00','1900-01-01 00:00:00'),(9,NULL,8,'2001-04-14','2003-12-10 00:00:00','2003-12-10 00:00:00'),(10,5,53,'2000-01-05','2001-12-21 22:38:22','2001-12-21 22:38:22'),(11,NULL,0,'2003-12-06','2008-12-13 23:16:44','2008-12-13 23:16:44'),(12,6,5,'1900-01-01','2005-08-15 12:39:41','2005-08-15 12:39:41'),(13,188,166,'2002-11-27',NULL,NULL),(14,2,3,NULL,'2006-09-11 12:06:14','2006-09-11 12:06:14'),(15,1,0,'2003-05-27','2007-12-15 12:39:34','2007-12-15 12:39:34'),(16,1,1,'2005-05-03','2005-08-09 00:00:00','2005-08-09 00:00:00'),(17,0,9,'2001-04-18','2001-09-02 22:50:02','2001-09-02 22:50:02'),(18,9,5,'2005-12-27','2005-12-16 22:58:11','2005-12-16 22:58:11'),(19,NULL,6,'2004-08-20','2007-04-19 00:19:53','2007-04-19 00:19:53'),(20,4,2,'1900-01-01','1900-01-01 00:00:00','1900-01-01 00:00:00');
|
||||||
SELECT OUTR . `pk` AS X
|
SELECT OUTR . `pk` AS X
|
||||||
FROM t1 AS OUTR
|
FROM t1 AS OUTR
|
||||||
|
@ -253,7 +253,7 @@ end
|
|||||||
delete from t2;
|
delete from t2;
|
||||||
alter table t2 add unique (a);
|
alter table t2 add unique (a);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'a_2' defined on the table 'mysqltest1.t2'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `a_2`. This is deprecated and will be disallowed in a future release.
|
||||||
drop function fn1;
|
drop function fn1;
|
||||||
create function fn1(x int)
|
create function fn1(x int)
|
||||||
returns int
|
returns int
|
||||||
|
@ -2088,3 +2088,9 @@ drop function f1;
|
|||||||
#
|
#
|
||||||
--error ER_TABLE_MUST_HAVE_COLUMNS
|
--error ER_TABLE_MUST_HAVE_COLUMNS
|
||||||
create table t1;
|
create table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# MDEV-11231 Server crashes in check_duplicate_key on CREATE TABLE ... SELECT
|
||||||
|
#
|
||||||
|
create table t1 (i int, j int, key(i), key(i)) as select 1 as i, 2 as j;
|
||||||
|
drop table t1;
|
||||||
|
@ -6783,7 +6783,7 @@ ER_FK_COLUMN_NOT_NULL
|
|||||||
ger "Spalte '%-.192s' kann nicht NOT NULL sein: wird für eine Fremdschlüsselbeschränkung '%-.192s' SET NULL benötigt"
|
ger "Spalte '%-.192s' kann nicht NOT NULL sein: wird für eine Fremdschlüsselbeschränkung '%-.192s' SET NULL benötigt"
|
||||||
|
|
||||||
ER_DUP_INDEX
|
ER_DUP_INDEX
|
||||||
eng "Duplicate index '%-.64s' defined on the table '%-.64s.%-.64s'. This is deprecated and will be disallowed in a future release."
|
eng "Duplicate index %`s. This is deprecated and will be disallowed in a future release."
|
||||||
|
|
||||||
ER_FK_COLUMN_CANNOT_CHANGE
|
ER_FK_COLUMN_CANNOT_CHANGE
|
||||||
eng "Cannot change column '%-.192s': used in a foreign key constraint '%-.192s'"
|
eng "Cannot change column '%-.192s': used in a foreign key constraint '%-.192s'"
|
||||||
|
@ -3120,8 +3120,7 @@ void promote_first_timestamp_column(List<Create_field> *column_definitions)
|
|||||||
@param key_info Key meta-data info.
|
@param key_info Key meta-data info.
|
||||||
@param key_list List of existing keys.
|
@param key_list List of existing keys.
|
||||||
*/
|
*/
|
||||||
static void check_duplicate_key(THD *thd,
|
static void check_duplicate_key(THD *thd, Key *key, KEY *key_info,
|
||||||
Key *key, KEY *key_info,
|
|
||||||
List<Key> *key_list)
|
List<Key> *key_list)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
@ -3183,14 +3182,11 @@ static void check_duplicate_key(THD *thd,
|
|||||||
|
|
||||||
// Report a warning if we have two identical keys.
|
// Report a warning if we have two identical keys.
|
||||||
|
|
||||||
DBUG_ASSERT(thd->lex->query_tables->alias);
|
|
||||||
if (all_columns_are_identical)
|
if (all_columns_are_identical)
|
||||||
{
|
{
|
||||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
|
push_warning_printf(thd, Sql_condition::WARN_LEVEL_NOTE,
|
||||||
ER_DUP_INDEX, ER(ER_DUP_INDEX),
|
ER_DUP_INDEX, ER(ER_DUP_INDEX),
|
||||||
key_info->name,
|
key_info->name);
|
||||||
thd->lex->query_tables->db,
|
|
||||||
thd->lex->query_tables->alias);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1045,10 +1045,10 @@ id select_type table type possible_keys key key_len ref rows Extra
|
|||||||
1 SIMPLE t ref b b 5 test.s.b 1
|
1 SIMPLE t ref b b 5 test.s.b 1
|
||||||
alter table s add key(b) clustering=yes;
|
alter table s add key(b) clustering=yes;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_2' defined on the table 'test.s'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_2`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t add key(b) clustering=yes;
|
alter table t add key(b) clustering=yes;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_2' defined on the table 'test.t'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_2`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table s;
|
show create table s;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
s CREATE TABLE `s` (
|
s CREATE TABLE `s` (
|
||||||
@ -1095,10 +1095,10 @@ id select_type table type possible_keys key key_len ref rows Extra
|
|||||||
1 SIMPLE t ref b_2 b_2 5 test.s.b 1 Using index
|
1 SIMPLE t ref b_2 b_2 5 test.s.b 1 Using index
|
||||||
alter table s add key(b);
|
alter table s add key(b);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b' defined on the table 'test.s'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t add key(b);
|
alter table t add key(b);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b' defined on the table 'test.t'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table s;
|
show create table s;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
s CREATE TABLE `s` (
|
s CREATE TABLE `s` (
|
||||||
|
@ -1069,10 +1069,10 @@ id select_type table type possible_keys key key_len ref rows Extra
|
|||||||
1 SIMPLE t ref b,b_2 b_2 5 test.s.b 1 Using index
|
1 SIMPLE t ref b,b_2 b_2 5 test.s.b 1 Using index
|
||||||
alter table s add key(b) clustering=yes;
|
alter table s add key(b) clustering=yes;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_3' defined on the table 'test.s'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_3`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t add key(b) clustering=yes;
|
alter table t add key(b) clustering=yes;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_3' defined on the table 'test.t'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_3`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table s;
|
show create table s;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
s CREATE TABLE `s` (
|
s CREATE TABLE `s` (
|
||||||
|
@ -1066,13 +1066,13 @@ id select_type table type possible_keys key key_len ref rows Extra
|
|||||||
1 SIMPLE u ref c c 5 test.s.c 1
|
1 SIMPLE u ref c c 5 test.s.c 1
|
||||||
alter table s add key (b) clustering=yes;
|
alter table s add key (b) clustering=yes;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_2' defined on the table 'test.s'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_2`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table t add key (b) clustering=yes;
|
alter table t add key (b) clustering=yes;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'b_2' defined on the table 'test.t'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `b_2`. This is deprecated and will be disallowed in a future release.
|
||||||
alter table u add key (c) clustering=yes;
|
alter table u add key (c) clustering=yes;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'c_2' defined on the table 'test.u'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `c_2`. This is deprecated and will be disallowed in a future release.
|
||||||
show create table s;
|
show create table s;
|
||||||
Table Create Table
|
Table Create Table
|
||||||
s CREATE TABLE `s` (
|
s CREATE TABLE `s` (
|
||||||
|
@ -87,10 +87,10 @@ t1 1 options 2 flags A NA NULL NULL BTREE
|
|||||||
CREATE UNIQUE INDEX test on t1 ( auto ) ;
|
CREATE UNIQUE INDEX test on t1 ( auto ) ;
|
||||||
CREATE INDEX test2 on t1 ( ulonglong,ulong) ;
|
CREATE INDEX test2 on t1 ( ulonglong,ulong) ;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'test2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `test2`. This is deprecated and will be disallowed in a future release.
|
||||||
CREATE INDEX test3 on t1 ( medium ) ;
|
CREATE INDEX test3 on t1 ( medium ) ;
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'test3' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `test3`. This is deprecated and will be disallowed in a future release.
|
||||||
DROP INDEX test ON t1;
|
DROP INDEX test ON t1;
|
||||||
insert into t1 values (10, 1,1,1,1,1,1,1,1,1,1,1,1,1,NULL,0,0,0,1,1,1,1,'one','one');
|
insert into t1 values (10, 1,1,1,1,1,1,1,1,1,1,1,1,1,NULL,0,0,0,1,1,1,1,'one','one');
|
||||||
insert into t1 values (NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,NULL,NULL,NULL,NULL,NULL,NULL,2,2,'two','two,one');
|
insert into t1 values (NULL,2,2,2,2,2,2,2,2,2,2,2,2,2,NULL,NULL,NULL,NULL,NULL,NULL,2,2,'two','two,one');
|
||||||
@ -309,7 +309,7 @@ const int(1) NULL NO 0 #
|
|||||||
drop table t1,t2,t3;
|
drop table t1,t2,t3;
|
||||||
create table t1 ( myfield INT NOT NULL, UNIQUE INDEX (myfield), unique (myfield), index(myfield));
|
create table t1 ( myfield INT NOT NULL, UNIQUE INDEX (myfield), unique (myfield), index(myfield));
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'myfield_2' defined on the table 'test.t1'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `myfield_2`. This is deprecated and will be disallowed in a future release.
|
||||||
drop table t1;
|
drop table t1;
|
||||||
create table t1 ( id integer unsigned not null primary key );
|
create table t1 ( id integer unsigned not null primary key );
|
||||||
create table t2 ( id integer unsigned not null primary key );
|
create table t2 ( id integer unsigned not null primary key );
|
||||||
|
@ -5,7 +5,7 @@ create temporary table bar (a int, key(a))engine=TOkuDB;
|
|||||||
alter table bar add column c int default 0;
|
alter table bar add column c int default 0;
|
||||||
create index blah on bar(a);
|
create index blah on bar(a);
|
||||||
Warnings:
|
Warnings:
|
||||||
Note 1831 Duplicate index 'blah' defined on the table 'test.bar'. This is deprecated and will be disallowed in a future release.
|
Note 1831 Duplicate index `blah`. This is deprecated and will be disallowed in a future release.
|
||||||
drop index a on bar;
|
drop index a on bar;
|
||||||
set session tokudb_disable_slow_alter=OFF;
|
set session tokudb_disable_slow_alter=OFF;
|
||||||
insert into bar (a) values (1),(2),(3);
|
insert into bar (a) values (1),(2),(3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user