Ticket #356 (closed defect: fixed)
Changing feed update property results in error with MySQL < 4.1
| Reported by: | adam@… | Owned by: | mbonetti |
|---|---|---|---|
| Priority: | normal | Milestone: | Gregarius 0.5.5 |
| Component: | BUGS | Version: | |
| Severity: | normal | Keywords: | mysql systemrequirements |
| Cc: |
Description
As of svn revision 1312, when editing a feed and changing the "Allow Update" property on a system backed by MySQL 4.0 or earlier, a SQL error occurs...
Failed to execute the SQL query
insert into properties (fk_ref_object_id, proptype, property, value) values ('186','feed','rss.input.allowupdates','b:0;') ON DUPLICATE KEY UPDATE value='b:0;'
Error 1064: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ON DUPLICATE KEY UPDATE value='b:0;'' at line 1
INSERT ... ON DUPLICATE KEY was added in MySQL 4.1.
Either the code needs to be changed or the system requirements need to be updated to reflect MySQL 4.1 as the minimum required version.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
