HAVING is a DB construct which isn't often used, but is actually ANSI SQL. Unfortuntely, Drupal doesn't support it (read: It mutilates queries that use it) if one uses a node_access module (see http://drupal.org/node/157896).
The attached mini-patch solves the problem.
The patch is against D5 but also applies against D6-CVS (and even 4.7).
| Comment | File | Size | Author |
|---|---|---|---|
| having.patch | 610 bytes | killes@www.drop.org |
Comments
Comment #1
drummCommitted to 5.x.
Comment #2
gábor hojtsyLook logical, committed!
Comment #3
(not verified) commented