Revert "lmdb: fix weird crash in lmdb. need to follow up upstream"
This reverts commit 4686b7aca6.
This commit is contained in:
@@ -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 )
|
int mdb_midl_append_list( MDB_IDL *idp, MDB_IDL app )
|
||||||
{
|
{
|
||||||
MDB_IDL ids = *idp;
|
MDB_IDL ids = *idp;
|
||||||
|
|
||||||
if (ids == 0)
|
|
||||||
return EINVAL;
|
|
||||||
|
|
||||||
/* Too big? */
|
/* Too big? */
|
||||||
if (ids[0] + app[0] >= ids[-1]) {
|
if (ids[0] + app[0] >= ids[-1]) {
|
||||||
|
|||||||
Reference in New Issue
Block a user