Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove database query string until clickhouse-go for patch merged
  • Loading branch information
kokizzu committed Apr 17, 2025
commit 11bbd040222db76cf7f529a599e9006e661922e4
4 changes: 2 additions & 2 deletions database/clickhouse/clickhouse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ var (
func clickhouseConnectionString(host, port, engine string) string {
if engine != "" {
return fmt.Sprintf(
"clickhouse://%v:%v?username=user&password=password&database=db&x-multi-statement=true&x-migrations-table-engine=%v&debug=false",
"clickhouse://%v:%v/db?username=user&password=password&x-multi-statement=true&x-migrations-table-engine=%v&debug=false",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one needed at least until this one merged:
ClickHouse/clickhouse-go#1541

ref: ClickHouse/clickhouse-go#757

other related issue: #380

host, port, engine)
}

return fmt.Sprintf(
"clickhouse://%v:%v?username=user&password=password&database=db&x-multi-statement=true&debug=false",
"clickhouse://%v:%v/db?username=user&password=password&x-multi-statement=true&debug=false",
host, port)
}

Expand Down