? .git ? b ? drushrc.php ? forum_node_access.patch ? logger.patch ? min.patch ? mw.patch ? tmp.patch ? includes/database/log.inc Index: includes/database/select.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database/select.inc,v retrieving revision 1.4 diff -u -F^f -p -r1.4 select.inc --- includes/database/select.inc 15 Sep 2008 05:00:48 -0000 1.4 +++ includes/database/select.inc 13 Oct 2008 12:46:48 -0000 @@ -282,7 +282,13 @@ class SelectQuery extends Query implemen } public function execute() { + // Modules may alter all queries or only those having a particular tag. drupal_alter('query', $this); + if (isset($this->alterTags)) { + foreach ($this->alterTags as $tag => $value) { + drupal_alter("query_$tag", $this); + } + } $this->where->compile($this->connection); $this->having->compile($this->connection);