projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41c8330
)
skip the database open for the unused table to keep it from erroring out
author
Art Cancro
<ajc@citadel.org>
Tue, 25 Jul 2023 15:34:07 +0000
(06:34 -0900)
committer
Art Cancro
<ajc@citadel.org>
Tue, 25 Jul 2023 15:34:07 +0000
(06:34 -0900)
citadel/utils/ctdldump.c
patch
|
blob
|
history
diff --git
a/citadel/utils/ctdldump.c
b/citadel/utils/ctdldump.c
index 1dc3f45bb4af2726c43731ad20850ef3ce939a2e..d3a91e3d483721f29b73487ce85e5c86d0d296e5 100644
(file)
--- a/
citadel/utils/ctdldump.c
+++ b/
citadel/utils/ctdldump.c
@@
-537,7
+537,9
@@
int main(int argc, char **argv) {
src_dbenv = open_dbenv(src_dir);
printf("begin|\n");
for (i = 0; i < MAXCDB; ++i) {
- export_table(i, src_dbenv);
+ if (i != CDB_UNUSED1) { // nothing in this slot so don't complain if it's missing
+ export_table(i, src_dbenv);
+ }
}
close_dbenv(src_dbenv);
printf("end|\n");