Skip to content

Commit

Permalink
Do not dereference mt_spill_pgs for debugging statement, #175
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Jun 4, 2022
1 parent d079cb7 commit cb9e4fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dependencies/lmdb/libraries/liblmdb/mdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -2927,7 +2927,7 @@ mdb_page_unspill(MDB_txn *txn, MDB_page *mp, MDB_page **ret)
}
if (x == 0 && !txn->mt_parent) {
/* should be a spilled page */
fprintf(stderr, "Page %u was unspilled, but was not found in spilled page list (size of %u)\n", mp->mp_pgno, txn->mt_spill_pgs[0]);
fprintf(stderr, "Page %u was unspilled, but was not found in spilled page list (%p)\n", mp->mp_pgno, txn->mt_spill_pgs);
/*last_error = "mdb_page_unspill no parent";
return MDB_PROBLEM; */
}
Expand Down

0 comments on commit cb9e4fa

Please sign in to comment.