Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kriszyp committed Mar 8, 2024
1 parent d7550b5 commit 0580667
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dependencies/lmdb/libraries/liblmdb/mdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -9916,8 +9916,8 @@ mdb_node_add(MDB_cursor *mc, indx_t indx,
mdb_dbg_pgno(mp), NUMKEYS(mp)));
DPRINTF(("upper-lower = %u - %u = %"Z"d", mp->mp_upper,mp->mp_lower,room));
DPRINTF(("node size = %"Z"u", node_size));
fprintf(stderr, "mdb_node_add: no room in page %u, got %u ptrs, %u - %u = %d, node size = %u\n",
mdb_dbg_pgno(mp), NUMKEYS(mp), mp->mp_upper, mp->mp_lower, room, node_size);
fprintf(stderr, "mdb_node_add: no room in page, got %u ptrs, %u - %u = %d, node size = %u\n",
NUMKEYS(mp), mp->mp_upper, mp->mp_lower, room, node_size);
mc->mc_txn->mt_flags |= MDB_TXN_ERROR;
return MDB_PAGE_FULL;
}
Expand Down
1 change: 0 additions & 1 deletion dependencies/lmdb/libraries/liblmdb/midl.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ int mdb_midl_insert( MDB_IDL* ids_ref, MDB_ID id, int insertion_count )
if (id - next_count <= next_id && next_id > 0) {
if (id - next_count < next_id) {
fprintf(stderr, "overlapping duplicate entry %u\n", id);
mdb_tassert(ids, 0);
return -1;
}
// connected to next entry
Expand Down

0 comments on commit 0580667

Please sign in to comment.