SQLite3 ported to use LMDB instead of its original Btree code