From 8582a870fd9f9b72ccd612031ee40d8693e8bff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20L=C3=B3pez?= Date: Sat, 8 Feb 2025 21:12:56 +0100 Subject: [PATCH 1/3] core: make "result" module public, because it is needed to implement trait Wal, which is public --- core/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib.rs b/core/lib.rs index 94853aa80..17659fae7 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -9,7 +9,7 @@ mod json; pub mod mvcc; mod parameters; mod pseudo; -mod result; +pub mod result; mod schema; mod storage; mod translate; From 9aedbf2d45c1826470380bda07b334f90689043a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20L=C3=B3pez?= Date: Sat, 8 Feb 2025 21:20:51 +0100 Subject: [PATCH 2/3] core: make storage::pager::PageRef public, because it is needed to implement trait Wal --- core/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib.rs b/core/lib.rs index 17659fae7..956a77a9f 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -42,6 +42,7 @@ use storage::btree::btree_init_page; use storage::database::FileStorage; use storage::page_cache::DumbLruPageCache; use storage::pager::allocate_page; +pub use storage::pager::PageRef; use storage::sqlite3_ondisk::{DatabaseHeader, DATABASE_HEADER_SIZE}; pub use storage::wal::WalFile; pub use storage::wal::WalFileShared; From d7a6d48d8c72b248d6d7e65628bced10c3fb28c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorge=20L=C3=B3pez?= Date: Sat, 8 Feb 2025 21:21:07 +0100 Subject: [PATCH 3/3] core: make storage::wal::CheckPointMode public, because it is needed to implement trait Wal --- core/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/core/lib.rs b/core/lib.rs index 956a77a9f..aa5f90543 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -44,6 +44,7 @@ use storage::page_cache::DumbLruPageCache; use storage::pager::allocate_page; pub use storage::pager::PageRef; use storage::sqlite3_ondisk::{DatabaseHeader, DATABASE_HEADER_SIZE}; +pub use storage::wal::CheckpointMode; pub use storage::wal::WalFile; pub use storage::wal::WalFileShared; use types::OwnedValue;