commit d3c75ce42b8ddedcb70ead7dc5d015fb39f1067d
parent 6731471c1745c86fc02d97d41abe54848f3a1029
Author: William Casarin <jb55@jb55.com>
Date: Fri, 26 Jan 2024 11:59:44 -0800
Revert "lmdb: fix weird crash in lmdb. need to follow up upstream"
This reverts commit 4686b7aca6e0940f522e488fc7d36e5cfdb07925.
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/nostrdb/midl.c b/nostrdb/midl.c
@@ -171,9 +171,6 @@ int mdb_midl_append( MDB_IDL *idp, MDB_ID id )
int mdb_midl_append_list( MDB_IDL *idp, MDB_IDL app )
{
MDB_IDL ids = *idp;
-
- if (ids == 0)
- return EINVAL;
/* Too big? */
if (ids[0] + app[0] >= ids[-1]) {