Function ensure_single_statement
pub fn ensure_single_statement(sql: &str) -> Result<(), StatementRunError>Expand description
Reject a second SQL statement while permitting a single trailing semicolon and comments.
SQLite’s own completeness parser identifies the outer END; of a CREATE TRIGGER ... BEGIN
body, so semicolons between trigger-body statements are not mistaken for a prepare tail.