2019-04-16 14:13:13 +00:00
|
|
|
DROP TABLE IF EXISTS weird_mmx;
|
2018-06-12 03:44:53 +00:00
|
|
|
|
2019-04-16 14:13:13 +00:00
|
|
|
CREATE TABLE weird_mmx (x Array(UInt64)) ENGINE = TinyLog;
|
2018-06-12 03:44:53 +00:00
|
|
|
-- 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
|
2019-04-16 14:13:13 +00:00
|
|
|
INSERT INTO weird_mmx SELECT range(number % 10) FROM system.numbers LIMIT 915;
|
|
|
|
SELECT sum(length(*)) FROM weird_mmx;
|
2018-06-12 03:44:53 +00:00
|
|
|
|
2019-04-16 14:13:13 +00:00
|
|
|
DROP TABLE weird_mmx;
|