mysql-test/suite/parts/t/truncate_locked.test
raw| 1 | # |
| 2 | # MDEV-15551 Server hangs or assertion `strcmp(share->unique_file_name,filename) || share->last_version' fails in test_if_reopen or unexpected ER_LOCK_DEADLOCK |
| 3 | # |
| 4 | --source include/have_partition.inc |
| 5 | create table t1 (i int) engine=myisam partition by hash(i) partitions 2 ; |
| 6 | lock table t1 write; |
| 7 | truncate table t1; |
| 8 | desc t1; |
| 9 | drop table t1; |
| 10 |