Skip to content

Commit 0374786

Browse files
authored
Merge pull request #839 from tvandelooij/main
Add `EncryptionLevel::Off` for MSSQL
2 parents d57428c + be13e0b commit 0374786

File tree

1 file changed

+1
-0
lines changed
  • connectorx/src/sources/mssql

1 file changed

+1
-0
lines changed

connectorx/src/sources/mssql/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ pub fn mssql_config(url: &Url) -> Config {
9696

9797
match params.get("encrypt") {
9898
Some(v) if v.to_lowercase() == "true" => config.encryption(EncryptionLevel::Required),
99+
Some(v) if v.to_lowercase() == "false" => config.encryption(EncryptionLevel::Off),
99100
_ => config.encryption(EncryptionLevel::NotSupported),
100101
};
101102

0 commit comments

Comments
 (0)