Relax test

This commit is contained in:
kssenii 2022-03-30 17:12:23 +02:00
parent e2370d9622
commit b30948dd53
2 changed files with 5 additions and 5 deletions

View File

@ -531,8 +531,8 @@ void LRUFileCache::loadCacheInfoIntoMemory()
std::lock_guard cache_lock(mutex);
Key key;
UInt64 offset;
size_t size;
UInt64 offset = 0;
size_t size = 0;
std::vector<FileSegmentCell *> cells;
/// cache_base_path / key_prefix / key / offset

View File

@ -18,7 +18,7 @@ CREATE TABLE t_01411(
) ENGINE = MergeTree()
ORDER BY tuple();
INSERT INTO t_01411 (str) SELECT concat('asdf', toString(number % 10000)) FROM numbers(2000000);
INSERT INTO t_01411 (str) SELECT concat('asdf', toString(number % 10000)) FROM numbers(100000);
CREATE TABLE t_01411_num(
num UInt8,
@ -26,10 +26,10 @@ CREATE TABLE t_01411_num(
) ENGINE = MergeTree()
ORDER BY tuple();
INSERT INTO t_01411_num (num) SELECT number % 1000 FROM numbers(200000);
INSERT INTO t_01411_num (num) SELECT number % 1000 FROM numbers(100000);
create table lc_dict_reading (val UInt64, str StringWithDictionary, pat String) engine = MergeTree order by val;
insert into lc_dict_reading select number, if(number < 8192 * 4, number % 100, number) as s, s from system.numbers limit 1000000;
insert into lc_dict_reading select number, if(number < 8192 * 4, number % 100, number) as s, s from system.numbers limit 100000;
"""
function go()