mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 08:39:44 +00:00
fix(postgres): after closing a statement, the connection should await CloseComplete
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use sqlx::{database::Database, Connect, Pool};
|
||||
use std::env;
|
||||
|
||||
fn setup_if_needed() {
|
||||
pub fn setup_if_needed() {
|
||||
let _ = dotenv::dotenv();
|
||||
let _ = env_logger::builder().is_test(true).try_init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user