Howard Chu
4bdf8bf5e3
ITS#8704 add missing opt flags in prev commit
4 years ago
Howard Chu
cf074e6c1b
ITS#9068 fix backslash escaping
...
mdb_load wasn't properly inserting escaped backslashes into the data.
mdb_dump wasn't escaping backslashes when generating printable output.
4 years ago
Quanah Gibson-Mount
5a5e056f22
Happy New Year
4 years ago
Howard Chu
27c8cee72d
Add mdb_cursor_is_db()
...
Return 1 if the cursor is pointing to a named DB record
4 years ago
Howard Chu
e4cf950264
mdb_dbi_open tweak
...
Always save the terminating NUL of the incoming DB name
Stop using the old mdb_open/mdb_close function names
.. should consider renaming mdb_stat/mdb_drop to mdb_dbi_... too.
4 years ago
Howard Chu
3585a1eb97
ITS#8704 Fix PREVMETA, rename to PREVSNAPSHOT
...
and enforce exclusive access to environment. Also fix txn_begin/pick_meta
to use correct meta page, and reset the flag after successful commit.
4 years ago
Howard Chu
789c71c4c9
ITS#8704 Add MDB_PREVMETA support to tools
4 years ago
Howard Chu
6ac9aa666e
Happy New Year
8 years ago
Hallvard Furuseth
4d47e89f4d
MDB_VL32: Switch to mdb_size_t formats PRIu64 & co
...
Drop macro Y=MDB_FMT_Y, add Yu/Yd=MDB_PRIy(). Replace
Y"d..." -> Yd"...", Y"u..." -> Yu"..." / MDB_SCNy(u)"...".
8 years ago
Hallvard Furuseth
32764bcb52
Factor out MDB_SIZE_MAX, MDB_FMT_Y, MDB_FMT_Z
8 years ago
Howard Chu
5f5f4dab9c
Happy New Year
9 years ago
Howard Chu
1ba5adb2ec
MDB_VL32 preparation
...
Use 64 bit types consistently. This keeps database structures the
same size for MDB_VL32 and native 64 bit builds.
9 years ago
Howard Chu
e034bd3d84
ITS#8259 fix usage ordering
9 years ago
Quanah Gibson-Mount
6fe12f3273
Happy New Year
10 years ago
Howard Chu
674f52fdb4
Silence some clang warnings
10 years ago
Howard Chu
64191264b8
Windows compat
11 years ago
Howard Chu
4d65cf1326
dump/load need mapsize etc.
11 years ago
Howard Chu
c5be1292ac
All diagnostics should go to stderr
11 years ago
Howard Chu
c73f087750
Trap signals
...
Try to exit cleanly to avoid leaving stale readers. Not
a critical issue since mdb_reader_check can take care of
them, but still cleaner.
11 years ago
Howard Chu
3e83b5b27b
Add mdb_dump, update copyrights
11 years ago