mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test #1890
This commit is contained in:
parent
24b0f77a2c
commit
777ace12b4
1
dbms/tests/queries/0_stateless/00646_weird_mmx.reference
Normal file
1
dbms/tests/queries/0_stateless/00646_weird_mmx.reference
Normal file
@ -0,0 +1 @@
|
||||
4105
|
9
dbms/tests/queries/0_stateless/00646_weird_mmx.sql
Normal file
9
dbms/tests/queries/0_stateless/00646_weird_mmx.sql
Normal file
@ -0,0 +1,9 @@
|
||||
DROP TABLE IF EXISTS test.weird_mmx;
|
||||
|
||||
CREATE TABLE test.weird_mmx (x Array(UInt64)) ENGINE = TinyLog;
|
||||
-- this triggers overlapping matches in LZ4 decompression routine; 915 is the minimum number
|
||||
-- see comment in LZ4_decompression_faster.cpp about usage of MMX registers
|
||||
INSERT INTO test.weird_mmx SELECT range(number % 10) FROM system.numbers LIMIT 915;
|
||||
SELECT sum(length(*)) FROM test.weird_mmx;
|
||||
|
||||
DROP TABLE test.weird_mmx;
|
Loading…
Reference in New Issue
Block a user