mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 23:23:04 +01:00
Cleanup.
This commit is contained in:
parent
37648c9747
commit
46fd65228a
@ -6436,7 +6436,7 @@ static SSHORT sort_indices_by_priority(csb_repeat * csb_tail,
|
||||
bool should_be_used = true;
|
||||
if (idx->idx_selectivity && !(csb_tail->csb_plan)) {
|
||||
if (!(idx->idx_flags & idx_unique) &&
|
||||
selectivity * SELECTIVITY_THRESHOLD_FACTOR < idx->idx_selectivity) {
|
||||
(selectivity * SELECTIVITY_THRESHOLD_FACTOR < idx->idx_selectivity)) {
|
||||
should_be_used = false;
|
||||
}
|
||||
selectivity = idx->idx_selectivity;
|
||||
|
@ -2063,8 +2063,9 @@ void VIO_modify(TDBB tdbb, RPB * org_rpb, RPB * new_rpb, JRD_TRA transaction)
|
||||
EVL_field(0, org_rpb->rpb_record, f_trg_name, &desc1);
|
||||
DFW_post_work(transaction, dfw_modify_trigger, &desc1, 0);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
/* We're almost ready to go. To modify the record, we must first
|
||||
|
Loading…
Reference in New Issue
Block a user