Skip to content

Commit 9aea3e2

Browse files
authored
Merge pull request #5623 from stacks-network/fix/compile-issues-stacks-lib
Fix profile-sqlite feature build errors
2 parents e74e92e + fb6c683 commit 9aea3e2

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)