Commit 97bbf3af authored by Sergei Golubchik's avatar Sergei Golubchik

update tokudb test results

parent 163b5eeb
...@@ -1044,7 +1044,11 @@ id select_type table type possible_keys key key_len ref rows Extra ...@@ -1044,7 +1044,11 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s ALL b NULL NULL NULL 1000 Using where 1 SIMPLE s ALL b NULL NULL NULL 1000 Using where
1 SIMPLE t ref b b 5 test.s.b 11 1 SIMPLE t ref b b 5 test.s.b 11
alter table s add key(b) clustering=yes; alter table s add key(b) clustering=yes;
Warnings:
Note 1831 Duplicate index 'b_2' defined on the table 'test.s'. 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:
Note 1831 Duplicate index 'b_2' defined on the table 'test.t'. 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` (
...@@ -1090,7 +1094,11 @@ id select_type table type possible_keys key key_len ref rows Extra ...@@ -1090,7 +1094,11 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b_2 b_2 5 NULL 1000 Using where; Using index 1 SIMPLE s index b_2 b_2 5 NULL 1000 Using where; Using index
1 SIMPLE t ref b_2 b_2 5 test.s.b 11 Using index 1 SIMPLE t ref b_2 b_2 5 test.s.b 11 Using index
alter table s add key(b); alter table s add key(b);
Warnings:
Note 1831 Duplicate index 'b' defined on the table 'test.s'. This is deprecated and will be disallowed in a future release.
alter table t add key(b); alter table t add key(b);
Warnings:
Note 1831 Duplicate index 'b' defined on the table 'test.t'. 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` (
......
...@@ -1068,7 +1068,11 @@ id select_type table type possible_keys key key_len ref rows Extra ...@@ -1068,7 +1068,11 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE s index b,b_2 b_2 10 NULL 1000 Using where; Using index 1 SIMPLE s index b,b_2 b_2 10 NULL 1000 Using where; Using index
1 SIMPLE t ref b,b_2 b_2 5 test.s.b 11 Using index 1 SIMPLE t ref b,b_2 b_2 5 test.s.b 11 Using index
alter table s add key(b) clustering=yes; alter table s add key(b) clustering=yes;
Warnings:
Note 1831 Duplicate index 'b_3' defined on the table 'test.s'. 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:
Note 1831 Duplicate index 'b_3' defined on the table 'test.t'. 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` (
......
...@@ -1065,8 +1065,14 @@ id select_type table type possible_keys key key_len ref rows Extra ...@@ -1065,8 +1065,14 @@ id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE t ref b b 5 test.s.b 11 1 SIMPLE t ref b b 5 test.s.b 11
1 SIMPLE u ref c c 5 test.s.c 11 1 SIMPLE u ref c c 5 test.s.c 11
alter table s add key (b) clustering=yes; alter table s add key (b) clustering=yes;
Warnings:
Note 1831 Duplicate index 'b_2' defined on the table 'test.s'. 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:
Note 1831 Duplicate index 'b_2' defined on the table 'test.t'. 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:
Note 1831 Duplicate index 'c_2' defined on the table 'test.u'. 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` (
......
...@@ -4,6 +4,8 @@ set session tokudb_disable_slow_alter=ON; ...@@ -4,6 +4,8 @@ set session tokudb_disable_slow_alter=ON;
create temporary table bar (a int, key(a))engine=TOkuDB; 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:
Note 1831 Duplicate index 'blah' defined on the table 'test.bar'. 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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment