mariadb/mysql-test/suite/tokudb.bugs/r/fileops-3.result
Zardosht Kasheff 1a487379c2 [t:2952], add some more tests
git-svn-id: file:///svn/mysql/tests/mysql-test@24948 c7de825b-a66e-492c-adef-691d508d4ae1
2010-10-28 13:01:37 +00:00

22 lines
613 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));
begin;
select * from foo;
a b c
select sum(a) from foo;
sum(a)
NULL
select * from foo;
a b c
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 drop index a;
ERROR HY000: Lock wait timeout exceeded; try restarting transaction
commit;
DROP TABLE foo;