mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
Merge pull request #73260 from ClickHouse/Fix_test_new_settings_history
Fix test `02995_new_settings_history.sh`
This commit is contained in:
commit
a5e8ae8393
@ -38,7 +38,7 @@ $CLICKHOUSE_LOCAL --query "
|
||||
)) AND (name NOT IN (
|
||||
SELECT arrayJoin(tupleElement(changes, 'name'))
|
||||
FROM system.settings_changes
|
||||
WHERE type = 'Core' AND splitByChar('.', version)[1]::UInt64 >= 24 AND splitByChar('.', version)[2]::UInt64 > 11
|
||||
WHERE type = 'Core' AND splitByChar('.', version)[1]::UInt64 >= 25 OR (splitByChar('.', version)[1]::UInt64 == 24 AND splitByChar('.', version)[2]::UInt64 > 11)
|
||||
))
|
||||
UNION ALL
|
||||
(
|
||||
@ -50,7 +50,7 @@ $CLICKHOUSE_LOCAL --query "
|
||||
)) AND (name NOT IN (
|
||||
SELECT arrayJoin(tupleElement(changes, 'name'))
|
||||
FROM system.settings_changes
|
||||
WHERE type = 'MergeTree' AND splitByChar('.', version)[1]::UInt64 >= 24 AND splitByChar('.', version)[2]::UInt64 > 11
|
||||
WHERE type = 'MergeTree' AND splitByChar('.', version)[1]::UInt64 >= 25 OR (splitByChar('.', version)[1]::UInt64 == 24 AND splitByChar('.', version)[2]::UInt64 > 11)
|
||||
))
|
||||
)
|
||||
UNION ALL
|
||||
@ -61,7 +61,7 @@ $CLICKHOUSE_LOCAL --query "
|
||||
WHERE (new_settings.default != old_settings.default) AND (name NOT IN (
|
||||
SELECT arrayJoin(tupleElement(changes, 'name'))
|
||||
FROM system.settings_changes
|
||||
WHERE type = 'Core' AND splitByChar('.', version)[1]::UInt64 >= 24 AND splitByChar('.', version)[2]::UInt64 > 11
|
||||
WHERE type = 'Core' AND splitByChar('.', version)[1]::UInt64 >= 25 OR (splitByChar('.', version)[1]::UInt64 == 24 AND splitByChar('.', version)[2]::UInt64 > 11)
|
||||
)) AND (
|
||||
-- Different values for sanitizers
|
||||
( SELECT count() FROM system.build_options WHERE name = 'CXX_FLAGS' AND position('sanitize' IN value) = 1 )
|
||||
@ -77,7 +77,7 @@ $CLICKHOUSE_LOCAL --query "
|
||||
WHERE (new_merge_tree_settings.default != old_merge_tree_settings.default) AND (name NOT IN (
|
||||
SELECT arrayJoin(tupleElement(changes, 'name'))
|
||||
FROM system.settings_changes
|
||||
WHERE type = 'MergeTree' AND splitByChar('.', version)[1]::UInt64 >= 24 AND splitByChar('.', version)[2]::UInt64 > 11
|
||||
WHERE type = 'MergeTree' AND splitByChar('.', version)[1]::UInt64 >= 25 OR (splitByChar('.', version)[1]::UInt64 == 24 AND splitByChar('.', version)[2]::UInt64 > 11)
|
||||
))
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user