PKP Bugzilla – Bug 8549
UsageStatsTemporaryRecordDAO contains nonstandard SQL
Last modified: 2014-03-03 08:02:17 PST
We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.
PostgreSQL doesn't support the DELETE ... LIMIT syntax used in deleteRecord. See http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=11541
Also, it's not clear to me that if there are multiple matches, the DELETE ... LIMIT will delete the correct one. If it's OK to delete all matches, then that would be an easy solution; otherwise, some kind of identifier is probably needed in order to get the right one.
Fixed for master branch. Need to fix for ojs-stable-2_4