Skip to content

Commit

Permalink
fix: sqlx disable logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjackwills committed Jul 29, 2023
1 parent 634c1ce commit 06a831f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-tauri/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async fn get_db(path: &PathBuf) -> Result<SqlitePool, sqlx::Error> {
.filename(path)
.create_if_missing(true)
.journal_mode(SqliteJournalMode::Wal);
connect_options.disable_statement_logging();
connect_options = connect_options.disable_statement_logging();
let db = sqlx::pool::PoolOptions::<sqlx::Sqlite>::new()
.max_connections(1)
.connect_with(connect_options)
Expand Down

0 comments on commit 06a831f

Please sign in to comment.