There is an obivous syntax error in the SQL statement in the _filemanager_find_directory() function. MySQL seems to ignore this error. However, PostGreSQL does not allow aliasing of columsn without an "AS" statement.
Attached patch fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | filemanager.pgsql_0.patch | 1.25 KB | sun |
| filemanager.pgsql.patch | 814 bytes | sun |
Comments
Comment #1
sunfilemanager_get_area_info() also contains a SQL alias which needs the "AS" statement.
Patch updated.
Comment #2
sunSuccessfully tested on Windows and Linux, both with PostGreSQL 8.1.
Comment #3
drewish commentedApplied the same changes from #78749.
Comment #4
(not verified) commented