File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
connectorx/src/sources/mssql Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ pub fn mssql_config(url: &Url) -> Config {
6363 // Using SQL Server authentication.
6464 #[ allow( unused) ]
6565 let params: HashMap < String , String > = url. query_pairs ( ) . into_owned ( ) . collect ( ) ;
66- #[ cfg( any( windows, feature = "integrated-auth-gssapi" ) ) ]
66+ #[ cfg( any( windows, feature = "integrated-auth-gssapi" ) ) ]
6767 match params. get ( "trusted_connection" ) {
6868 // pefer trusted_connection if set to true
6969 Some ( v) if v == "true" => {
@@ -78,7 +78,7 @@ pub fn mssql_config(url: &Url) -> Config {
7878 ) ) ;
7979 }
8080 } ;
81- #[ cfg( all( not( windows) , not( feature = "integrated-auth-gssapi" ) ) ) ]
81+ #[ cfg( all( not( windows) , not( feature = "integrated-auth-gssapi" ) ) ) ]
8282 config. authentication ( AuthMethod :: sql_server (
8383 decode ( url. username ( ) ) ?. to_owned ( ) ,
8484 decode ( url. password ( ) . unwrap_or ( "" ) ) ?. to_owned ( ) ,
You can’t perform that action at this time.
0 commit comments