aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb/mdb_load.1
diff options
context:
space:
mode:
authorHoward Chu <hyc@symas.com>2017-09-20 18:41:11 +0100
committerHoward Chu <hyc@symas.com>2017-09-20 18:50:38 +0100
commit2540d162be20c7eac0d9e3136df1b91b89ffff82 (patch)
treed26a47d258e9c1f6333d72aab91f52dddddce45c /external/db_drivers/liblmdb/mdb_load.1
parentMerge pull request #2446 (diff)
downloadmonero-2540d162be20c7eac0d9e3136df1b91b89ffff82.tar.xz
Add -a append option to mdb_load
To allow reloading of custom-sorted DBs from mdb_dump
Diffstat (limited to 'external/db_drivers/liblmdb/mdb_load.1')
-rw-r--r--external/db_drivers/liblmdb/mdb_load.17
1 files changed, 7 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb/mdb_load.1 b/external/db_drivers/liblmdb/mdb_load.1
index 712ed0540..ede3702d9 100644
--- a/external/db_drivers/liblmdb/mdb_load.1
+++ b/external/db_drivers/liblmdb/mdb_load.1
@@ -37,6 +37,13 @@ option below.
.BR \-V
Write the library version number to the standard output, and exit.
.TP
+.BR \-a
+Append all records in the order they appear in the input. The input is assumed to already be
+in correctly sorted order and no sorting or checking for redundant values will be performed.
+This option must be used to reload data that was produced by running
+.B mdb_dump
+on a database that uses custom compare functions.
+.TP
.BR \-f \ file
Read from the specified file instead of from the standard input.
.TP