Skip to main content

count_statement

Function count_statement 

Source
fn count_statement(session: &Session, stmt: Option<&Statement<Raw>>)
Expand description

Bumps the per-statement counters Coordinator::handle_execute maintains.

stmt is None for an empty portal, which is logged but not counted. The coordinator skips it the same way, and matching that is the point of this function.