mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
18 lines
440 B
Text
18 lines
440 B
Text
|
#
|
||
|
# MDEV-4444 Server crashes with "safe_mutex: Trying to destroy a mutex share->mutex that was locked" on attempt to recover an archive table
|
||
|
#
|
||
|
|
||
|
--source include/have_archive.inc
|
||
|
|
||
|
--let $datadir = `SELECT @@datadir`
|
||
|
|
||
|
create table t1 (a int) engine=archive;
|
||
|
insert into t1 values (1);
|
||
|
--remove_file $datadir/test/t1.ARZ
|
||
|
--error 13,1017
|
||
|
select * from t1;
|
||
|
--error ER_CRASHED_ON_USAGE
|
||
|
insert into t1 values (2);
|
||
|
repair table t1;
|
||
|
drop table t1;
|