Download & Extend

Convert calls to db_placeholders() in static queries

Project:Drupal core
Version:7.x-dev
Component:database system
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Moving this over from #314464: Convert db_placeholders() to DBTNG

This patch takes all occurrences of db_placeholders() in static queries and makes them use just normal dbtng placeholders which now support arrays.

It doesn't touch dynamic queries built with concatenated strings, nor queries which are wrapped in db_rewrite_sql() - these will need to be converted to db_select() anyway.

AttachmentSizeStatusTest resultOperations
placeholders.patch7.34 KBIdleUnable to apply patch placeholders_1.patchView details

Comments

#1

Status:needs review» fixed

Committed to CVS HEAD. Thanks.

#2

Status:fixed» closed (fixed)

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

nobody click here