You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/config/install.sh
+11-3Lines changed: 11 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -41,15 +41,20 @@ function check_clickhouse_version()
41
41
fi
42
42
}
43
43
44
+
functionis_fast_build()
45
+
{
46
+
return$(clickhouse local --query "SELECT value NOT LIKE '%-fsanitize=%' AND value LIKE '%-DNDEBUG%' FROM system.build_options WHERE name = 'CXX_FLAGS'")
47
+
}
48
+
44
49
echo"Going to install test configs from $SRC_PATH into $DEST_SERVER_PATH"
45
50
46
51
mkdir -p $DEST_SERVER_PATH/config.d/
47
52
mkdir -p $DEST_SERVER_PATH/users.d/
48
53
mkdir -p $DEST_CLIENT_PATH
49
54
50
-
### WHEN ADDING A NEW CONFIG OR CHANGING THE EXISTING ONE,
51
-
### YOU SHOULD CHECK CLICKHOUSE VERSION SO THAT YOU WON'T
52
-
### BREAK VALIDATIONS USING PREVIOUS CH VERSION (LIKE BUGFIX VALIDATION).
55
+
# When adding a new config or changing the existing one,
56
+
# you should check clickhouse version so that you won't
57
+
# break validations using previous ClickHouse version (like bugfix validation).
0 commit comments