Skip to content

Commit

Permalink
Fix profile-sqlite feature build
Browse files Browse the repository at this point in the history
Signed-off-by: Jacinta Ferrant <[email protected]>
  • Loading branch information
jferrant committed Dec 31, 2024
1 parent 0ee5d7c commit fb6c683
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stackslib/src/util_lib/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,7 @@ pub fn tx_begin_immediate_sqlite<'a>(conn: &'a mut Connection) -> Result<DBTx<'a

#[cfg(feature = "profile-sqlite")]
fn trace_profile(query: &str, duration: Duration) {
use serde_json::json;
let obj = json!({"millis":duration.as_millis(), "query":query});
debug!(
"sqlite trace profile {}",
Expand Down

0 comments on commit fb6c683

Please sign in to comment.