Add a test for writeSuffix() via Memory engine

This commit is contained in:
Azat Khuzhin 2021-04-22 10:29:03 +03:00
parent 6ebe4e7dbb
commit 0d6f9c0816
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1 @@
1

View File

@ -0,0 +1,7 @@
drop table if exists data_01832;
-- Memory writes from the writeSuffix() and if it will be called twice two rows
-- will be written (since it does not reset the block).
create table data_01832 (key Int) Engine=Memory;
insert into data_01832 values (1);
select * from data_01832;