Skip to content

Releases: deephacks/lmdbjni

0.4.7

19 Jan 12:28
Compare
Choose a tag to compare

0.4.6

09 Feb 18:14
Compare
Choose a tag to compare
  • LMDB 0.9.18 Release (2016/02/05)
  • Introduced ByteUnit, utility methods to convert across power-of-two byte units.
  • BufferCursor fixes and improvements.
  • mdb_reader_check support.
  • EntryIterator fixes.
  • Allow zero copy put by reserving space directly in LMDB, #51.

0.4.5

30 Nov 21:24
Compare
Choose a tag to compare
  • LMDB 0.9.17 Release (2015/11/30)
    • Fix ITS#7377 catch calloc failure
    • Fix ITS#8237 regression from ITS#7589
    • Fix ITS#8238 page_split for DUPFIXED pages
    • Fix ITS#8221 MDB_PAGE_FULL on delete/rebalance
    • Fix ITS#8258 rebalance/split assert
    • Fix ITS#8263 cursor_put cursor tracking
    • Fix ITS#8264 cursor_del cursor tracking
    • Fix ITS#8310 cursor_del cursor tracking
    • Fix ITS#8299 mdb_del cursor tracking
    • Fix ITS#8300 mdb_del cursor tracking
    • Fix ITS#8304 mdb_del cursor tracking
    • Fix ITS#7771 fakepage cursor tracking
    • Fix ITS#7789 ensure mapsize >= pages in use
    • Fix ITS#7971 mdb_txn_renew0() new reader slots
    • Fix ITS#7969 use __sync_synchronize on non-x86
    • Fix ITS#8311 page_split from update_key
    • Fix ITS#8312 loose pages in nested txn
    • Fix ITS#8313 mdb_rebalance dummy cursor
    • Fix ITS#8315 dirty_room in nested txn
    • Fix ITS#8323 dirty_list in nested txn
    • Fix ITS#8316 page_merge cursor tracking
    • Fix ITS#8321 cursor tracking
    • Fix ITS#8319 mdb_load error messages
    • Fix ITS#8320 mdb_load plaintext input
    • Added mdb_txn_id() (ITS#7994)
    • Added robust mutex support
    • Miscellaneous cleanup/simplification
      • Build
        • Create install dirs if needed (ITS#8256)
        • Fix ThreadProc decl on Win32/MSVC (ITS#8270)
        • Added ssize_t typedef for MSVC (ITS#8067)
        • Use ANSI apis on Windows (ITS#8069)
        • Use O_SYNC if O_DSYNC,MDB_DSYNC are not defined (ITS#7209)
        • Allow passing AR to make (ITS#8168)
        • Allow passing mandir to make install (ITS#8169)
  • Shaded hawtjni-runtime.jar inside lmdbjni.jar
  • New method Transaction.getId()
  • Android 5.0 (API level 21) 64-bit ARM

0.4.4.1

20 Nov 13:05
Compare
Choose a tag to compare
  • Windows only LMDB_0.9.16 fix - ITS#7992 assume Windows paths are UTF-8

0.4.4

19 Aug 07:21
Compare
Choose a tag to compare
  • LMDB 0.9.16 Release (2015/08/14)
    • Fix cursor EOF bug (ITS#8190)
    • Fix handling of subDB records (ITS#8181)
    • Fix mdb_midl_shrink() usage (ITS#8200)

0.4.3

18 Aug 20:02
Compare
Choose a tag to compare
  • LMDB 0.9.16

This version use an undefined version of LMDB and _must not_ be used.

0.4.2

04 Jul 14:22
Compare
Choose a tag to compare
  • LMDB 0.9.15 Release (2015/06/19)
    • Fix txn init (ITS#7961,#7987)
    • Fix MDB_PREV_DUP (ITS#7955,#7671)
    • Fix compact of empty env (ITS#7956)
    • Fix mdb_copy file mode
    • Fix mdb_env_close() after failed mdb_env_open()
    • Fix mdb_rebalance collapsing root (ITS#8062)
    • Fix mdb_load with large values (ITS#8066)
    • Fix to retry writes on EINTR (ITS#8106)
    • Fix mdb_cursor_del on empty DB (ITS#8109)
    • Fix MDB_INTEGERDUP key compare (ITS#8117)
    • Fix error handling (ITS#7959,#8157,etc.)
    • Fix race conditions (ITS#7969,7970)
    • Added workaround for fdatasync bug in ext3fs
      • Build
        • Don't use -fPIC for static lib
        • Update .gitignore (ITS#7952,#7953)
        • Cleanup for "make test" (ITS#7841), "make clean", mtest*.c
        • Misc. Android/Windows cleanup
      • Documentation
        • Fix MDB_APPEND doc
        • Fix MDB_MAXKEYSIZE doc (ITS#8156)
        • Fix mdb_cursor_put,mdb_cursor_del EACCES description
        • Fix mdb_env_sync(MDB_RDONLY env) doc (ITS#8021)
        • Clarify MDB_WRITEMAP doc (ITS#8021)
        • Clarify mdb_env_open doc
        • Clarify mdb_dbi_open doc

0.4.1

27 Jun 19:09
Compare
Choose a tag to compare
  • Mostly BufferCursor fixes and improvements

0.4.0

30 Mar 20:38
Compare
Choose a tag to compare
  • Set a custom key comparison function for a database. Not available on Android.
  • MDB_SET positioning
  • Updated transaction and resource handling
  • Bug fixes

0.3.2

25 Jan 19:41
Compare
Choose a tag to compare

The safest (and slowest) approach for interacting with LMDB JNI is using buffer copy using JNI. BufferCursor is an advanced, more efficient, zero copy mode. There is also DirectBuffer which is even more advanced but users should avoid interacting directly with these and use the BufferCursor API instead. Otherwise take extra care of buffer memory address+size and byte ordering. Mistakes may lead to SIGSEGV or unpredictable key ordering etc.