(more) db prefix abstraction issues
schuyler1d - May 15, 2008 - 15:17
| Project: | Outline Designer |
| Version: | 5.x-1.2-1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
queries of the form:
db_query('Select node.title from {node}');
will fail on prefixed dbs because 'node.title' is not a valid table.column. They should always be in the form
db_query('Select n.title from {node} AS n');
| Attachment | Size |
|---|---|
| prefix_abstraction.patch | 2.35 KB |

#1
This method worked for solving our problems with prefixed columns.
#2
#3
Automatically closed -- issue fixed for two weeks with no activity.