Download & Extend

Node module and search module should be fully db_rewrite_sql'ed

Project:Drupal core
Version:7.x-dev
Component:node system
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

While implementing a system like the "domain module" (one node table for many sites and a custom node access system), I noticed that I can't "close" some search related issues to a site where the search is actually issued (or the search update index is run).

Problems I've found so far:

- in the node.module the 'status' operation of the search hook there are two queries that should be db_rewrite_sql()ed
- same thing in the update_index hook: the query range should be db_rewrited()

I file this one on the D7 branch, because I think that if it was addressed it won't on the D6 one :)

Sorry if it is a dupe; can't find a related one.

Comments

#1

Backport to drupal5

AttachmentSizeStatusTest resultOperations
341133_drupal5.patch1.7 KBIgnored: Check issue status.NoneNone

#2

Status:active» closed (won't fix)

db_rewrite_sql() is dead, if those queries aren't dynamically/have a proper tag then please open a new issue.

(Sorry for pinging the participants, I'm trying to clean up a few old
issues)

nobody click here