Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
#314464: Convert db_placeholders() to DBTNG introduced a second argument for DatabaseConnection::prepareQuery($query, $cache)
(patch), but it was never used.
Comment | File | Size | Author |
---|---|---|---|
#2 | prepareQuery-2.patch | 1.59 KB | c960657 |
prepareQuery-1.patch | 1.53 KB | c960657 | |
Comments
Comment #1
Crell CreditAttribution: Crell commentedI believe this is also included in #550124: Remove prepared statement caching, which is now asking for benchmarks to see if the cache is even worthwhile. So marking as dupe.
Comment #2
c960657 CreditAttribution: c960657 commented#550124: Remove prepared statement caching has been postponed to D8, so we need to fix this bug in D7.
Comment #3
Crell CreditAttribution: Crell commentedMakes sense. I forget why we added that capability off hand, to be honest. :-)
Comment #4
Dries CreditAttribution: Dries commentedCommitted! Thanks.