Skip to content

Commit

Permalink
chore: bump up to version 0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinkys committed Aug 7, 2024
1 parent ff0e039 commit 8e73f07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "oasysdb"
version = "0.7.2"
version = "0.7.3"
edition = "2021"
license = "Apache-2.0"
readme = "readme.md"
Expand Down
3 changes: 2 additions & 1 deletion src/db/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ impl Database {
state
};

install_default_drivers();

let state = Mutex::new(state);
let pool: IndicesPool = Mutex::new(HashMap::new());
Ok(Self { root: root_dir, state, pool })
Expand Down Expand Up @@ -490,7 +492,6 @@ impl DatabaseState {

/// Connects to the source SQL database asynchronously.
pub async fn async_connect(&self) -> Result<SourceConnection, Error> {
install_default_drivers();
Ok(SourceConnection::connect(&self.source).await?)
}

Expand Down

0 comments on commit 8e73f07

Please sign in to comment.