diff --git a/core/btree.rs b/core/btree.rs
index 7ed1ceda9..1c4dedd9c 100644
--- a/core/btree.rs
+++ b/core/btree.rs
@@ -1,6 +1,6 @@
use crate::pager::Pager;
use crate::sqlite3_ondisk::{BTreeCell, TableInteriorCell, TableLeafCell};
-use crate::types::Record;
+use crate::types::OwnedRecord;
use anyhow::Result;
@@ -42,7 +42,7 @@ pub struct Cursor {
root_page: usize,
page: RefCell