From 6d924c1dda5a2ce6333e139c029576d3ca2d329b Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 18 Aug 2011 21:58:22 -0700 Subject: [PATCH] Fix overflow page read --- libraries/libmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index 08b3465b2a..c1fc8cf6ee 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -1740,7 +1740,7 @@ mdb_read_data(MDB_txn *txn, MDB_node *leaf, MDB_val *data) DPRINTF("read overflow page %lu failed", pgno); return MDB_PAGE_NOTFOUND; } - data->mv_data = omp; + data->mv_data = METADATA(omp); return MDB_SUCCESS; } -- 2.39.5