8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00

Misc cleanup

This commit is contained in:
Dmitry Yemanov 2025-01-19 18:03:00 +03:00
parent 52e7efa305
commit 93819f233c

View File

@ -953,50 +953,12 @@ static void print_db_header( FILE* file, const header_page* header)
case HDR_root_file_name:
fprintf(file, "\tRoot file name: %*s\n", p[1], p + 2);
break;
/*
case HDR_journal_server:
fprintf(file, "\tJournal server: %*s\n", p[1], p + 2);
break;
*/
case HDR_file:
fprintf(file, "\tContinuation file: %*s\n", p[1], p + 2);
break;
case HDR_last_page:
memcpy(&number, p + 2, sizeof(number));
fprintf(file, "\tLast logical page: %ld\n", number);
break;
/*
case HDR_unlicensed:
memcpy(&number, p + 2, sizeof(number));
fprintf(file, "\tUnlicensed accesses: %ld\n", number);
break;
*/
case HDR_sweep_interval:
memcpy(&number, p + 2, sizeof(number));
fprintf(file, "\tSweep interval: %ld\n", number);
break;
/*
case HDR_log_name:
fprintf(file, "\tReplay logging file: %*s\n", p[1], p + 2);
break;
case HDR_journal_file:
fprintf(file, "\tJournal file: %*s\n", p[1], p + 2);
break;
*/
case HDR_password_file_key:
fprintf(file, "\tPassword file key: (can't print)\n");
break;
/*
case HDR_backup_info:
fprintf(file, "\tBackup info: (can't print)\n");
break;
case HDR_cache_file:
fprintf(file, "\tShared cache file: %*s\n", p[1], p + 2);
break;
*/
default:
fprintf(file, "\tUnrecognized option %d, length %d\n", p[0], p[1]);
}