Skip to content

Commit 93819f2

Browse files
committed
Misc cleanup
1 parent 52e7efa commit 93819f2

File tree

1 file changed

+0
-38
lines changed

1 file changed

+0
-38
lines changed

src/utilities/rebuild/rebuild.cpp

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -953,50 +953,12 @@ static void print_db_header( FILE* file, const header_page* header)
953953
case HDR_root_file_name:
954954
fprintf(file, "\tRoot file name: %*s\n", p[1], p + 2);
955955
break;
956-
/*
957-
case HDR_journal_server:
958-
fprintf(file, "\tJournal server: %*s\n", p[1], p + 2);
959-
break;
960-
*/
961-
case HDR_file:
962-
fprintf(file, "\tContinuation file: %*s\n", p[1], p + 2);
963-
break;
964956
965-
case HDR_last_page:
966-
memcpy(&number, p + 2, sizeof(number));
967-
fprintf(file, "\tLast logical page: %ld\n", number);
968-
break;
969-
/*
970-
case HDR_unlicensed:
971-
memcpy(&number, p + 2, sizeof(number));
972-
fprintf(file, "\tUnlicensed accesses: %ld\n", number);
973-
break;
974-
*/
975957
case HDR_sweep_interval:
976958
memcpy(&number, p + 2, sizeof(number));
977959
fprintf(file, "\tSweep interval: %ld\n", number);
978960
break;
979-
/*
980-
case HDR_log_name:
981-
fprintf(file, "\tReplay logging file: %*s\n", p[1], p + 2);
982-
break;
983-
984-
case HDR_journal_file:
985-
fprintf(file, "\tJournal file: %*s\n", p[1], p + 2);
986-
break;
987-
*/
988-
case HDR_password_file_key:
989-
fprintf(file, "\tPassword file key: (can't print)\n");
990-
break;
991-
/*
992-
case HDR_backup_info:
993-
fprintf(file, "\tBackup info: (can't print)\n");
994-
break;
995961
996-
case HDR_cache_file:
997-
fprintf(file, "\tShared cache file: %*s\n", p[1], p + 2);
998-
break;
999-
*/
1000962
default:
1001963
fprintf(file, "\tUnrecognized option %d, length %d\n", p[0], p[1]);
1002964
}

0 commit comments

Comments
 (0)