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

Get rid of obsolete field for replay logging.

This commit is contained in:
robocop 2009-11-20 11:29:47 +00:00
parent d3ce4f6c9d
commit 9834b32286
4 changed files with 8 additions and 6 deletions

View File

@ -727,14 +727,15 @@ static void dmp_header(const header_page* page)
printf("\tSweep interval: %ld\n", number);
break;
/*
case HDR_log_name:
printf("\tLog file name: %*s\n", p[1], p + 2);
break;
/*
case HDR_journal_file:
printf("\tJournal file: %*s\n", p[1], p + 2);
break;
*/
*/
case HDR_password_file_key:
printf("\tPassword file key: (can't print)\n");
break;

View File

@ -416,7 +416,7 @@ const UCHAR HDR_file = 3; // Secondary file
const UCHAR HDR_last_page = 4; // Last logical page number of file
//const UCHAR HDR_unlicensed = 5; // Count of unlicensed activity
const UCHAR HDR_sweep_interval = 6; // Transactions between sweeps
const UCHAR HDR_log_name = 7; // replay log name
//const UCHAR HDR_log_name = 7; // replay log name
//const UCHAR HDR_journal_file = 8; // Intermediate journal file
const UCHAR HDR_password_file_key = 9; // Key to compare to password db
//const UCHAR HDR_backup_info = 10; // WAL backup information

View File

@ -234,12 +234,13 @@ void PPG_print_header(const header_page* header, SLONG page,
uSvc->printf("\tSweep interval:\t\t%ld\n", number);
break;
/*
case HDR_log_name:
memcpy(temp, p + 2, p[1]);
temp[p[1]] = '\0';
uSvc->printf("\tReplay logging file:\t\t%s\n", temp);
break;
/*
case HDR_cache_file:
memcpy(temp, p + 2, p[1]);
temp[p[1]] = '\0';

View File

@ -1015,11 +1015,11 @@ static void print_db_header( FILE* file, const header_page* header)
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;