mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
10 lines
401 B
SQL
10 lines
401 B
SQL
DROP TABLE IF EXISTS weird_mmx;
|
|
|
|
CREATE TABLE 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 weird_mmx SELECT range(number % 10) FROM system.numbers LIMIT 915;
|
|
SELECT sum(length(*)) FROM weird_mmx;
|
|
|
|
DROP TABLE weird_mmx;
|