]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10222 LMDB: Updated mdb_dump man page
authorZach Vonler <zach.vonler@sambanovasystems.com>
Mon, 3 Jun 2024 19:39:02 +0000 (12:39 -0700)
committerHoward Chu <hyc@openldap.org>
Mon, 3 Jun 2024 20:17:13 +0000 (21:17 +0100)
The -a option to mdb_load makes the previous text obsolete.

libraries/liblmdb/mdb_dump.1

index acefe4e719fe1387b8260bd235251f951045723e..43b0b1c99a77972c1f01833cee35863073e4b854 100644 (file)
@@ -80,14 +80,14 @@ Exit status is zero if no errors occur.
 Errors result in a non-zero exit status and
 a diagnostic message being written to standard error.
 
-Dumping and reloading databases that use user-defined comparison functions
-will result in new databases that use the default comparison functions.
-\fBIn this case it is quite likely that the reloaded database will be
-damaged beyond repair permitting neither record storage nor retrieval.\fP
+Dumping databases that use user-defined comparison functions will output
+records with the ordering imposed by those comparison functions. If
+.B mdb_load
+is invoked without including the
+.B -a
+option when reloading those records, the new databases will likely be
+damaged beyond repair, permitting neither record storage nor retrieval.
 
-The only available workaround is to modify the source for the
-.BR mdb_load (1)
-utility to load the database using the correct comparison functions.
 .SH "SEE ALSO"
 .BR mdb_load (1)
 .SH AUTHOR