Fix overflow page read

This commit is contained in:
Howard Chu 2011-08-18 21:58:22 -07:00
parent 3dd815162c
commit 6d924c1dda

View File

@ -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;
}