Hallvard Furuseth
12ad38d67f
Fix size_t/formats -> mdb_size_t for MDB_VL32
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
c5be1292ac
All diagnostics should go to stderr
11 years ago
Howard Chu
3e83b5b27b
Add mdb_dump, update copyrights
11 years ago
Hallvard Furuseth
9f7ae8925f
Add Caveat: Readers need write access. Whitespace.
11 years ago
Howard Chu
636c2d2a29
Use proper printf format on Windows
11 years ago
Howard Chu
a4bbe57f8b
Add mdb_reader_check()
12 years ago
Howard Chu
360d0492db
Tweak mdb_stat(1)
...
Don't obtain reader txn before displaying reader table. Exit
after reader table if no other DB query options were given.
12 years ago
Howard Chu
49289f0d2e
Add mdb_reader_list()
...
Dump the active slots in the reader table.
12 years ago
Hallvard Furuseth
5ea1cd8f6d
mdb_stat cleanup.
...
Exit with success when there was no failure.
Do not use data containing NUL as a DB name (which is a C string).
12 years ago
Hallvard Furuseth
a1b16ce5f0
ITS#7598 Tweak MDB_<NEXT/PREV>_NODUP,fix mdb_stat.
...
MDB_NEXT_NODUP, MDB_PREV_NODUP: Allow for non-MDB_DUPSORT databases.
No mdb.c code changes needed.
mdb_stat.c: Use MDB_NEXT_NODUP, to avoid a crash with a DUPSORT mainDB.
12 years ago
Hallvard Furuseth
8e1bbdf0dd
mdb_stat -ff[f]: show contiguous page spans.
12 years ago
Howard Chu
e26fc73417
ITS#7467 add verbose freelist info
12 years ago
Howard Chu
784757faa9
ITS#7465 fail if both -a and -s specified
12 years ago
Howard Chu
98fe339089
Rename libmdb to liblmdb
12 years ago
Howard Chu
13f3bcd59c
Rename libmdb to liblmdb, lmdb.h
...
Avoid naming conflicts with other mdb* packages. Bump version to 0.9.5
12 years ago
Howard Chu
617769bce5
Tweak output, add free page info
12 years ago
Howard Chu
754cd88819
Add mdb_env_info() to retrieve interesting env params
12 years ago
Howard Chu
7f0771a3ed
Merge mdb_stata into mdb_stat
12 years ago
Howard Chu
5ef56b437e
More for ab04c50a32
...
Use explicit MDB_RDONLY flag
12 years ago
Ondrej Kuznik
bd92b570a8
ITS#7369 mdb_stat: cleanup in case something went wrong.
12 years ago
Howard Chu
a2d1b42e39
ITS#7369 abort txn before exiting
12 years ago
Howard Chu
c4d5e6e786
Add support for nested transactions.
13 years ago
Howard Chu
09006ccec7
API change, consistency check
...
mdb_close() takes an env, not a txn.
Also, add check for stale DB records (in case some other process
wrote to the DB last).
13 years ago
Hallvard Furuseth
b56be64d2e
Drop ULONG in favor of size_t.
13 years ago
Howard Chu
76d7ca8ce0
Rationalize mdbenv namespace
13 years ago
Howard Chu
40df306d52
More subDB fixes
13 years ago
Howard Chu
60550e14ee
Add some legalese
...
Note derived from Martin Hedenfalk's btree.c; the code
is significantly reworked but owes a lot to the original.
13 years ago
Howard Chu
4fd0f278d2
Tweaks to txn handling
13 years ago
Howard Chu
f89d0cc4b7
More subDBs, compiles now
13 years ago
Howard Chu
2766e88eeb
More prep for subdatabases
13 years ago
Hallvard B Furuseth
f88d626ff1
Drop unused vars
14 years ago
Howard Chu
421ee6bb1d
Use toggling meta page instead of always appending
14 years ago
Howard Chu
11e80dae63
Return statistics for a DB
...
Eventually this will have to grow up to be like BDB db_stat...
14 years ago