Fix crash

This commit is contained in:
Evan Miller 2020-08-06 14:08:30 -04:00
parent 63e8cb54ac
commit 4682ec0f8a

View File

@ -124,6 +124,7 @@ int mdb_find_pg_row(MdbHandle *mdb, int pg_row, void **buf, int *off, size_t *le
mdb_swap_pgbuf(mdb);
result = mdb_find_row(mdb, row, off, len);
mdb_swap_pgbuf(mdb);
*off &= OFFSET_MASK;
*buf = mdb->alt_pg_buf;
return result;
}