Problem/Motivation

The deprecation message added in #2345451: Introduce a Connection::prepareStatement method allowing to pass options to the Statement, deprecate Connection::prepareQuery() and Connection::prepare() is wrong. Fix it.

Proposed resolution

Change Collection::prepareStatement to Connection::prepareStatement

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a

CommentFileSizeAuthor
#2 3174848-2.patch4.12 KBalexpott
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Status: Active » Needs review
FileSize
4.12 KB
andypost’s picture

Status: Needs review » Reviewed & tested by the community

Nice catch

  • larowlan committed eaf33de on 9.1.x
    Issue #3174848 by alexpott: Fix typo in Connection::prepare deprecation...
larowlan’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +Bug Smash Initiative

Committed eaf33de and pushed to 9.1.x. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.