mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 10:03:03 +01:00
Misc
This commit is contained in:
parent
5bb1c3792f
commit
5a85277726
@ -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)
|
||||
|
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user