From ff5018c95df39fd3108e453021fe24aa59ccbca8 Mon Sep 17 00:00:00 2001 From: nk_ysg Date: Wed, 20 Sep 2023 22:25:25 +0800 Subject: [PATCH] add debug log --- vm/mvhashmap/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vm/mvhashmap/src/lib.rs b/vm/mvhashmap/src/lib.rs index 52fc6ff013..44832ab55b 100644 --- a/vm/mvhashmap/src/lib.rs +++ b/vm/mvhashmap/src/lib.rs @@ -92,6 +92,7 @@ impl MVHashMap { /// Mark an entry from transaction 'txn_idx' at access path 'key' as an estimated write /// (for future incarnation). Will panic if the entry is not in the data-structure. pub fn mark_estimate(&self, key: &K, txn_idx: TxnIndex) { + println!("XXX FIXME YSG mark_estimate"); let map = self.data.get(key).expect("Path must exist"); map.get(&txn_idx) .expect("Entry by txn must exist") @@ -117,6 +118,7 @@ impl MVHashMap { let flag = write_cell.flag(); if flag == FLAG_ESTIMATE { + println!("XXX FIXME YSG Found a dependency."); // Found a dependency. Err(Some(*idx)) } else {