By mondrake on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.2.x
Introduced in version:
9.2.0
Issue links:
Description:
The code protecting against multiple statements that was part of Connection::query(), is moved to a protected method ::preprocessStatement() so that code that calls in sequence ::prepareStatement() and StatementInterface::execute() can benefit from its protection too.
Connection::prepareStatement() will now throw InvalidArgumentException if multiple statements are passed in.
This change only affects contrib database driver developers, that can now leverage on the protected method for their implementations.
Impacts:
Module developers