You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The relctx and associated functions were never implemented in LMDB 0.9. Using FIXEDMAP is basically unsupported at this point. Using FIXEDMAP and growing the map is very likely going to cause a crash if the map grows onto space that was being used for something else (like program code, a shared library, etc.).
Apologies for the belated response. My understanding that the relfunc and relctx use cases make sense when used by native code. I don't see Lua code doing pointer arithmetic, or am I missing something? What is the use-case you gave in mind?
1;
env:get_path() return is nil
2;
env:set_mapsize(102400)
env:open(db_path, lmdb.MDB_FIXEDMAP + lmdb.MDB_NOTLS, 420)
If grow again.program crash
Maybe we need mdb_set_relctx function?
The text was updated successfully, but these errors were encountered: