mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
17 lines
359 B
Text
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;
|