From 715b79c24eaba5b09490330b4886f010d4a56e38 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Sat, 25 Mar 2023 20:48:51 +0000 Subject: [PATCH] Fix warnings in release mode --- lib/src/kvs/tx.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/kvs/tx.rs b/lib/src/kvs/tx.rs index 1bc1dd0c..212c2d46 100644 --- a/lib/src/kvs/tx.rs +++ b/lib/src/kvs/tx.rs @@ -30,6 +30,7 @@ use std::fmt::Debug; use std::ops::Range; use std::sync::Arc; +#[cfg(debug_assertions)] const LOG: &str = "surrealdb::txn"; /// A set of undoable updates and requests against a dataset.