Skip to content

Commit 0b23917

Browse files
committed
fix wrong unescape special characters in table create query, fix #1151, affected aversions from 2.6.6 to 2.6.18
Signed-off-by: Slach <[email protected]>
1 parent 649f177 commit 0b23917

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/integration/integration_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2388,6 +2388,9 @@ func TestCheckSystemPartsColumns(t *testing.T) {
23882388

23892389
// https://github.com/Altinity/clickhouse-backup/issues/1151
23902390
func TestSlashesInDatabaseAndTableNamesAndTableQuery(t *testing.T) {
2391+
if compareVersion(os.Getenv("CLICKHOUSE_VERSION"), "23.3") < 0 {
2392+
t.Skipf("version %s is too old for this test", os.Getenv("CLICKHOUSE_VERSION"))
2393+
}
23912394
env, r := NewTestEnvironment(t)
23922395
env.connectWithWait(t, r, 500*time.Millisecond, 1*time.Second, 1*time.Minute)
23932396
version, err := env.ch.GetVersion(t.Context())

0 commit comments

Comments
 (0)