Skip to main content

READ_THEN_WRITE_MAX_DEPENDENCIES

Constant READ_THEN_WRITE_MAX_DEPENDENCIES 

Source
pub const READ_THEN_WRITE_MAX_DEPENDENCIES: Config<usize>;
Expand description

Upper bound on the number of transitive dependencies validated for a read-then-write statement (e.g. DELETE ... WHERE ... IN (SELECT ...)). Validation walks the read set’s dependency graph, which is user controlled and can be arbitrarily large. The bound rejects pathological graphs with a clean error instead of consuming unbounded time and memory.