8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 10:03:03 +01:00
This commit is contained in:
asfernandes 2008-12-25 14:25:01 +00:00
parent 5bb1c3792f
commit 5a85277726
6 changed files with 10 additions and 10 deletions

View File

@ -437,10 +437,8 @@ private:
while (l1)
{
if (matches(pool, obj, p1++, l1-- * sizeof(CharType), p2, l2 * sizeof(CharType)))
{
return true;
}
}
return false;
}
if (l1-- == 0)

View File

@ -3367,8 +3367,8 @@ static jrd_tra* transaction_start(thread_db* tdbb, jrd_tra* temp)
if (dbb->dbb_sweep_interval &&
!(tdbb->getAttachment()->att_flags & ATT_no_cleanup) &&
(trans->tra_oldest_active - trans->tra_oldest > dbb->dbb_sweep_interval)
&& oldest_state != tra_limbo)
(trans->tra_oldest_active - trans->tra_oldest > dbb->dbb_sweep_interval) &&
oldest_state != tra_limbo)
{
// Why nobody checks the result? Changed the function to return nothing.
start_sweeper(tdbb, dbb);

View File

@ -1781,8 +1781,10 @@ static RTN walk_pointer_page(thread_db* tdbb,
#ifdef DEBUG_VAL_VERBOSE
if (VAL_debug_level)
{
fprintf(stdout, "walk_pointer_page: page %d relation %d sequence %d\n",
(*vector)[sequence], relation->rel_id, sequence);
}
#endif
/* Give the page a quick once over */