Skip to content

fix: preserve original case for DSN query parameter values#1802

Open
tank-500m wants to merge 2 commits intoClickHouse:mainfrom
tank-500m:fix/dsn-parser-preserve-setting-value-case
Open

fix: preserve original case for DSN query parameter values#1802
tank-500m wants to merge 2 commits intoClickHouse:mainfrom
tank-500m:fix/dsn-parser-preserve-setting-value-case

Conversation

@tank-500m
Copy link

Summary

Fix #1800

strings.ToLower was applied to query parameter values for true/false boolean comparison, but the lowered value leaked into the default branch, causing settings like log_comment to be unintentionally lowercased.

Checklist

Delete items not relevant to your PR:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DSN parser lowercases setting values unexpectedly

2 participants