mariadb/storage/tokudb/mysql-test/tokudb_bugs/r/fileops-3.result
2016-04-26 20:56:25 +02:00

17 lines
359 B
Text

# Establish connection conn1 (user = root)
SET DEFAULT_STORAGE_ENGINE = 'tokudb';
DROP TABLE IF EXISTS foo;
create table foo ( a int, b int, c int, key (a), key (b));
begin;
select * from foo;
a b c
select sum(a) from foo;
sum(a)
NULL
alter table foo drop index a;
select * from foo;
a b c
truncate table foo;
rename table foo to bar;
drop table bar;
commit;