mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 20:43:04 +01:00
Warnings
This commit is contained in:
parent
2632bb6bb6
commit
b754e0fd59
@ -262,7 +262,7 @@ PerformanceInfo* RuntimeStatistics::computeDifference(Database* dbb,
|
||||
// Point TraceCounts to counts array from baseline object
|
||||
if (!all_zeros)
|
||||
{
|
||||
jrd_rel* relation = new_cnts->rlc_relation_id < dbb->dbb_relations->count() ?
|
||||
jrd_rel* relation = size_t(new_cnts->rlc_relation_id) < dbb->dbb_relations->count() ?
|
||||
(*dbb->dbb_relations)[new_cnts->rlc_relation_id] : NULL;
|
||||
TraceCounts traceCounts;
|
||||
traceCounts.trc_relation_id = new_cnts->rlc_relation_id;
|
||||
@ -276,7 +276,7 @@ PerformanceInfo* RuntimeStatistics::computeDifference(Database* dbb,
|
||||
}
|
||||
else
|
||||
{
|
||||
jrd_rel* relation = new_cnts->rlc_relation_id < dbb->dbb_relations->count() ?
|
||||
jrd_rel* relation = size_t(new_cnts->rlc_relation_id) < dbb->dbb_relations->count() ?
|
||||
(*dbb->dbb_relations)[new_cnts->rlc_relation_id] : NULL;
|
||||
|
||||
// Point TraceCounts to counts array from object with updated counters
|
||||
|
Loading…
Reference in New Issue
Block a user