mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
f45f072491
git-svn-id: file:///svn/mysql/tests/mysql-test@23577 c7de825b-a66e-492c-adef-691d508d4ae1
22 lines
729 B
Text
Executable file
22 lines
729 B
Text
Executable file
# Establish connection conn1 (user = root)
|
|
SET STORAGE_ENGINE = 'tokudb';
|
|
DROP TABLE IF EXISTS foo;
|
|
create table foo ( a int, b int, c int, key (a), key (b));
|
|
insert into foo values (1,10,100);
|
|
begin;
|
|
insert into foo values(2,20,200);
|
|
select * from foo;
|
|
a b c
|
|
1 10 100
|
|
drop table foo;
|
|
ERROR 42S02: Unknown table 'foo'
|
|
rename table foo to bar;
|
|
ERROR HY000: Error on rename of './test/foo' to './test/bar' (errno: -30994)
|
|
truncate table foo;
|
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|
alter table foo add index (c);
|
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|
alter table foo drop index a;
|
|
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
|
|
commit;
|
|
DROP TABLE foo;
|