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