Skip to content

Commit fb6c683

Browse files
committed
Fix profile-sqlite feature build
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 0ee5d7c commit fb6c683

File tree

1 file changed

+1
-0
lines changed
  • stackslib/src/util_lib

1 file changed

+1
-0
lines changed

stackslib/src/util_lib/db.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,7 @@ pub fn tx_begin_immediate_sqlite<'a>(conn: &'a mut Connection) -> Result<DBTx<'a
681681

682682
#[cfg(feature = "profile-sqlite")]
683683
fn trace_profile(query: &str, duration: Duration) {
684+
use serde_json::json;
684685
let obj = json!({"millis":duration.as_millis(), "query":query});
685686
debug!(
686687
"sqlite trace profile {}",

0 commit comments

Comments
 (0)