Active
Project:
Wikitools
Version:
6.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2012 at 16:37 UTC
Updated:
18 Dec 2012 at 16:43 UTC
Jump to comment: Most recent file
The following line causes warnings if Drupal use PostgreSQL:
$result = db_query(db_rewrite_sql("SELECT n.nid, n.type, n.title FROM {node} n LEFT JOIN {node_revisions} r ON n.nid = r.nid WHERE LOWER(r.title) = LOWER('%s') ORDER BY n.vid DESC"), $page_name);
For correct work this query on PostgreSQL the SELECT part should contain all fields mentioned in ORDER BY.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | wikitools-postgresql_warnings-1869538.patch | 828 bytes | apodran |
Comments
Comment #1
apodran commentedThe patch.