no-mistakes-postgres-engine 0.109.125

PostgreSQL embedded SQL extraction, schema catalog, and replay-safety analysis for no-mistakes
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::super::PendingRelativeScope;
use super::kept_owner;
use crate::embedded::UnprovenMemberQuery;

pub(super) fn unproven_queries(
    pending: &mut PendingRelativeScope,
    kept: &[bool],
) -> Vec<UnprovenMemberQuery> {
    pending
        .calls
        .iter()
        .filter(|call| !kept_owner(kept, &call.owners))
        .filter_map(|call| pending.diagnostic_member_queries.remove(&call.seq))
        .collect()
}