debug: add some transaction debugging

This commit is contained in:
William Casarin
2024-01-26 10:50:58 -08:00
parent 010d71d9ed
commit 6e0ba3206d
4 changed files with 16 additions and 8 deletions

View File

@@ -65,7 +65,7 @@ class NdbTxn<T> {
#if TXNDEBUG
txn_count -= 1;
print("closing transaction \(txn_count)")
print("txn: closing transaction \(txn_count)")
#endif
ndb_end_query(&self.txn)
Thread.current.threadDictionary.removeObject(forKey: "ndb_txn")