Howard Chu
311f071c1f
Support db_pagesize in mdb_load
...
Since setting was added in de08119a29
4 years ago
Howard Chu
b220a6655b
ITS#9364 Add crypto support to all tools
...
Using dynamically loaded crypto modules
4 years ago
Quanah Gibson-Mount
1cd0da08a7
Happy New Year!
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
Howard Chu
8218d06717
ITS#8831 move flag init into readhdr
...
Avoid stomping on flags from 1st readhr invocation
4 years ago
Quanah Gibson-Mount
5a5e056f22
Happy New Year
4 years ago
Howard Chu
cf3588baae
Add -a append option to mdb_load
...
To allow reloading of custom-sorted DBs from mdb_dump
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
6ac9aa666e
Happy New Year
8 years ago
Howard Chu
59ac317d2a
ITS#8558 fix mdb_load with escaped plaintext
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
0842f998ee
Use mdb_size_t for line numbers in mdb_load
...
This matches the mdb_size_t entry counts.
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
Orivej Desh
85d2f9804a
ITS#8320 mdb_load: fix loading data from simple text files
...
mdb_load -T was supposed to read escaped text, but 21b51cb7
"Add mdb_load"
made it read hex.
9 years ago
Orivej Desh
e29cfa0b49
ITS#8319 mdb_load: explain readline and mdb_cursor_put errors
9 years ago
Howard Chu
e034bd3d84
ITS#8259 fix usage ordering
9 years ago
Howard Chu
04af46b1c1
ITS#8066 fix mdb_load with large values
10 years ago
Quanah Gibson-Mount
6fe12f3273
Happy New Year
10 years ago
Howard Chu
674f52fdb4
Silence some clang warnings
10 years ago
Howard Chu
fcb0768e7d
Silence prototype warnings
10 years ago
Howard Chu
c4d0f90fce
Fix loading of printable dump
...
Off-by-one in end check, would complain on valid input.
11 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
cf331ccb3d
Silence ptr arithmetic warnings
11 years ago
Howard Chu
0d013609fe
Fix lineno count
11 years ago
Howard Chu
c05f45b7dd
Fix multiple subDBs
11 years ago
Howard Chu
1a72b19e26
Fix unhex
11 years ago
Howard Chu
21b51cb746
Add mdb_load
11 years ago