Doing this primarily for fewer code paths: a statement is now only finalized when moving to the next statement in a multi-statement query, or when the query context is exited for a single-statement query. It's also really difficult to add a test for the existing behaviour.
Doing this primarily for fewer code paths: a statement is now only finalized when moving to the next statement in a multi-statement query, or when the query context is exited for a single-statement query. It's also really difficult to add a test for the existing behaviour.