mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 11:45:32 +00:00
DB-718 test case for broken error handling in tokudb_fractal_tree_info info schema plugin
This commit is contained in:
9
mysql-test/suite/tokudb.bugs/r/tokudb718.result
Normal file
9
mysql-test/suite/tokudb.bugs/r/tokudb718.result
Normal file
@ -0,0 +1,9 @@
|
||||
set default_storage_engine='tokudb';
|
||||
drop table if exists t;
|
||||
create table t (id int primary key);
|
||||
begin;
|
||||
insert into t values (1),(2);
|
||||
select * from information_schema.tokudb_fractal_tree_info;
|
||||
ERROR HY000: Unknown error -30994
|
||||
commit;
|
||||
drop table t;
|
13
mysql-test/suite/tokudb.bugs/t/tokudb718.test
Normal file
13
mysql-test/suite/tokudb.bugs/t/tokudb718.test
Normal file
@ -0,0 +1,13 @@
|
||||
# test DB-718, a crash caused by broken error handling in tokudb's fractal_tree_info information schema
|
||||
source include/have_tokudb.inc;
|
||||
set default_storage_engine='tokudb';
|
||||
disable_warnings;
|
||||
drop table if exists t;
|
||||
enable_warnings;
|
||||
create table t (id int primary key);
|
||||
begin;
|
||||
insert into t values (1),(2);
|
||||
--error 34542
|
||||
select * from information_schema.tokudb_fractal_tree_info;
|
||||
commit;
|
||||
drop table t;
|
Reference in New Issue
Block a user