Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
Fix sql server checks in connection info
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius de Bruijn committed Jun 12, 2020
1 parent 8ef4c80 commit e3df592
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/connector/connection_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ impl ConnectionInfo {
});
}
}
_ => {
s if s.starts_with("jdbc:sqlserver") || s.starts_with("sqlserver") => {
return Ok(ConnectionInfo::Mssql(MssqlUrl::new(url_str)?));
}
_ => (),
}
}

Expand Down

0 comments on commit e3df592

Please sign in to comment.