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.
There are a handful of static queries remaining in Book module.
This patch converts them to dynamic queries.
Comment | File | Size | Author |
---|---|---|---|
#7 | 834972-book-dbtng.patch | 394 bytes | AaronBauman |
#5 | 834972-book-dbtng.patch | 598 bytes | AaronBauman |
#4 | 834972-book-dbtng.patch | 587 bytes | AaronBauman |
book-dbtng.patch | 5.14 KB | AaronBauman | |
Comments
Comment #1
AaronBaumanComment #2
AaronBaumanComment #4
AaronBaumanAgreed, save one instance:
In book.install there's a static DELETE query.
From the docs in database.inc:
Rerolled with only the DELETE query dbtng-ized.
Comment #5
AaronBaumanactually calling
execute()
on the query would help...Comment #6
Damien Tournoud CreditAttribution: Damien Tournoud commentedThis should be formatted as:
See similar queries elsewhere in core.
Comment #7
AaronBaumanunderstood. updated patch attached.
Comment #8
Stevel CreditAttribution: Stevel commentedThis looks good.
Comment #9
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.