mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Add a test for writeSuffix() via Memory engine
This commit is contained in:
parent
6ebe4e7dbb
commit
0d6f9c0816
@ -0,0 +1 @@
|
|||||||
|
1
|
7
tests/queries/0_stateless/01832_memory_write_suffix.sql
Normal file
7
tests/queries/0_stateless/01832_memory_write_suffix.sql
Normal 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;
|
Loading…
Reference in New Issue
Block a user