Closed (fixed)
Project:
Hotkey
Version:
6.x-2.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
18 Aug 2009 at 01:48 UTC
Updated:
27 Feb 2021 at 04:44 UTC
Jump to comment: Most recent file
Comments
Comment #1
smokrisCommitted. Thanks. This will be part of 6.x-2.1.
Comment #2
galaxor commentedIt turns out there was a reason for the ` characters. In mysql, the word "key" is a reserved word. In hotkeys, there's a column called key. Therefore, if we don't quote the name `key`, then none of the queries work.
Here is a patch that changes the name of the `key` column to hkey, and then uses the column with that name, which is safe in postgres and mysql.
Comment #3
smokrisThanks, @galaxor. I revised the patch slightly, to use update_sql instead of the "useless field" hack, and applied it. It's part of the 6.x-2.2 release.