1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00
Files
mariadb/storage/tokudb/mysql-test/tokudb_bugs/t/2383.test
2014-03-18 09:02:57 +01:00

37 lines
1.0 KiB
Plaintext

--source include/have_tokudb.inc
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
--disable_warnings
DROP TABLE IF EXISTS foo;
--enable_warnings
create table foo (a char (255), primary key (a))charset=utf8;
insert into foo values (repeat('A', 255));
select * from foo;
drop table foo;
create table foo (a char (255), key (a))charset=utf8;
insert into foo values (repeat('A', 255));
explain select a from foo where a > "a";
select a from foo where a > "a";
drop table foo;
create table foo (a char (255), b int, key (a) clustering=yes)charset=utf8;
insert into foo values (repeat('A', 255), 100);
explain select a from foo where a > "a";
select a from foo where a > "a";
drop table foo;
create table foo (a char (255), b int, primary key (a), key (a) clustering=yes)charset=utf8;
insert into foo values (repeat('A', 255), 100);
explain select a from foo use index (a) where a > "a";
select a from foo use index (a) where a > "a";
drop table foo;
create table foo (a char (255))charset=utf8;
insert into foo values (repeat('A', 255));
select * from foo;
drop table foo;