From 4cc4bc673095156d0b5eb757ed6d9548604708d6 Mon Sep 17 00:00:00 2001 From: you06 Date: Thu, 22 Aug 2024 20:46:10 +0900 Subject: [PATCH] fix GetMemDB Signed-off-by: you06 --- internal/unionstore/memdb_rbt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/unionstore/memdb_rbt.go b/internal/unionstore/memdb_rbt.go index 547e59bc0..dcd3fcd41 100644 --- a/internal/unionstore/memdb_rbt.go +++ b/internal/unionstore/memdb_rbt.go @@ -44,7 +44,7 @@ func (db *rbtDBWithContext) FlushWait() error { return nil } // GetMemDB implements the MemBuffer interface. func (db *rbtDBWithContext) GetMemDB() *MemDB { - panic("unimplemented") + return db.RBT } // BatchGet returns the values for given keys from the MemBuffer.