8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
This commit is contained in:
asfernandes 2013-05-27 01:50:57 +00:00
parent 350a491865
commit abea0e695d
2 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ public:
{
bufSize = size;
bufAligned = buffer.getBuffer(bufSize + SYS_PAGE_SIZE);
bufAligned = (char*) FB_ALIGN((U_IPTR)bufAligned, SYS_PAGE_SIZE);
bufAligned = (char*) FB_ALIGN((U_IPTR) bufAligned, SYS_PAGE_SIZE);
memset(bufAligned, 0, size);
}

View File

@ -776,7 +776,8 @@ void DFW_perform_work(thread_db* tdbb, jrd_tra* transaction)
++phase;
tdbb->tdbb_flags &= ~(TDBB_dont_post_dfw | TDBB_use_db_page_space);
}
catch (const Firebird::Exception& ex) {
catch (const Firebird::Exception& ex)
{
tdbb->tdbb_flags &= ~(TDBB_dont_post_dfw | TDBB_use_db_page_space);
// Do any necessary cleanup
@ -786,9 +787,8 @@ void DFW_perform_work(thread_db* tdbb, jrd_tra* transaction)
ERR_punt();
}
else
{
ex.stuff_exception(err_status);
}
phase = 0;
more = true;
}