From a42b185ecec078f4845206c48eaa2a4dbfe99e5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=A0=EC=9A=B0?= Date: Sun, 22 Dec 2024 14:22:10 +0900 Subject: [PATCH] Nit --- core/storage/btree.rs | 5 ++--- core/vdbe/explain.rs | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/core/storage/btree.rs b/core/storage/btree.rs index d500e7727..b2761a5aa 100644 --- a/core/storage/btree.rs +++ b/core/storage/btree.rs @@ -1754,9 +1754,8 @@ impl Cursor for BTreeCursor { } fn delete(&mut self) -> Result> { - println!("ROWID: {:?}", self.rowid.borrow()); - return Ok(CursorResult::Ok(())); - unimplemented!() + debug!("rowid: {:?}", self.rowid.borrow()); + Ok(CursorResult::Ok(())) } fn set_null_flag(&mut self, flag: bool) { diff --git a/core/vdbe/explain.rs b/core/vdbe/explain.rs index 94d89f94c..a5e4f91bd 100644 --- a/core/vdbe/explain.rs +++ b/core/vdbe/explain.rs @@ -839,7 +839,7 @@ pub fn insn_to_str( *cursor_id as i32, 0, 0, - OwnedValue::Text(Rc::new("".to_string())), + OwnedValue::build_text(Rc::new("".to_string())), 0, "".to_string(), ), @@ -848,7 +848,7 @@ pub fn insn_to_str( *cursor_id as i32, 0, 0, - OwnedValue::Text(Rc::new("".to_string())), + OwnedValue::build_text(Rc::new("".to_string())), 0, "".to_string(), ),