Skip to main content

count_statement

Function count_statement 

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

Bumps query_total, as Coordinator::handle_execute does for the statements it sequences, subscribe_outputs for a subscribe, and as_of_queries for an AS OF query.

stmt is None for an empty portal, which is logged but not counted. The coordinator skips it the same way.