8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:43:03 +01:00
This commit is contained in:
robocop 2008-04-18 09:57:00 +00:00
parent 8c20aad4dd
commit 6f518a6e54

View File

@ -698,7 +698,7 @@ bool BackupManager::write_difference(ISC_STATUS* status, ULONG diff_page, Ods::p
temp_bdb.bdb_dbb = database; temp_bdb.bdb_dbb = database;
temp_bdb.bdb_buffer = page; temp_bdb.bdb_buffer = page;
// Check that diff page is not allocation page // Check that diff page is not allocation page
fb_assert(diff_page % (database->dbb_page_size/sizeof(ULONG))); fb_assert(diff_page % (database->dbb_page_size / sizeof(ULONG)));
if (!PIO_write(diff_file, &temp_bdb, page, status)) if (!PIO_write(diff_file, &temp_bdb, page, status))
return false; return false;
return true; return true;