diff options
author | Nayuta Yanagisawa <nayuta.yanagisawa@hey.com> | 2021-09-22 14:59:23 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 14:59:23 +0900 |
commit | b194cc4933f4dde06761018bc6bf4bb16319d328 (patch) | |
tree | 7b264db426390d239f108bfa35c8a422a70c7882 /mysql-test/t/truncate_notembedded.test | |
parent | b044ec100116f096e30f603d55b2b8fca2d3e6c2 (diff) | |
parent | f4d6d01782ad4c885f1a4041514ba58f7b7d4ad2 (diff) | |
download | mariadb-git-bb-10.2-mdev-26545.tar.gz |
Merge branch '10.2' into 10.2-MDEV-26545bb-10.2-mdev-26545
Diffstat (limited to 'mysql-test/t/truncate_notembedded.test')
-rw-r--r-- | mysql-test/t/truncate_notembedded.test | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/mysql-test/t/truncate_notembedded.test b/mysql-test/t/truncate_notembedded.test new file mode 100644 index 00000000000..3addad2d975 --- /dev/null +++ b/mysql-test/t/truncate_notembedded.test @@ -0,0 +1,31 @@ +--source include/not_embedded.inc + +--echo # +--echo # MDEV-23365: Assertion `!is_set() || (m_status == DA_OK_BULK && +--echo # is_bulk_op())' failed upon killed TRUNCATE +--echo # + +CREATE TABLE t1 (a INT) ENGINE=MyISAM; +LOCK TABLE t1 READ; + +--connect (con1,localhost,root,,test) +SET SESSION max_session_mem_used= 45500; +--send + LOCK TABLE t1 WRITE; + +--connection default +SELECT * FROM t1; +UNLOCK TABLES; + +--connection con1 +--reap +--error ER_OPTION_PREVENTS_STATEMENT +TRUNCATE TABLE t1; + +--disconnect con1 +--connection default +DROP TABLE t1; + +--echo # +--echo # End of 10.2 tests +--echo # |