Closed (fixed)
Project:
File (Field) Paths
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2009 at 04:22 UTC
Updated:
28 Apr 2009 at 00:30 UTC
Under PostgreSQL, double quote is used to denote a column name, thus this query at line 623 in filefield_paths.module would failed:-
db_query('UPDATE {files} SET filename = "%s", filepath = "%s" WHERE fid = %d', $file['filename']['new'], $file['field']['filepath'], $file['field']['fid']);
| Comment | File | Size | Author |
|---|---|---|---|
| filefield_paths.diff | 519 bytes | k4ml |
Comments
Comment #1
decipheredFixed and committed to DRUPAL-6--1 and DRUPAL-5.
Thanks for that, as you may have noticed I don't tend to do much with PostgreSQL; I have it available for testing, it just doesn't get used as much as it should.
Cheers,
Deciphered.