Keys 2.0 is not compatible with postgres, since LOCATE is a function for mysql.
For postgres I had to replace
LOCATE(rule, '%s')
for
strpos('%s',rule) > 0
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | keys-postgresql-support-714110-3.diff | 627 bytes | greenskin |
| #2 | keys-allsql.patch | 762 bytes | roderik |
Comments
Comment #1
Anonymous (not verified) commented(continues from initial description)
.... with this I got the debug block to work, but I couldn't get gmaps to work (Gmap 6.x-1.1-rc1); it kept using the initial API key.
Comment #2
roderikUse this: POSITION(rule IN '%s')
The syntax is... creepy, but it's apparently an SQL defined standard function...
Comment #3
greenskin commentedDoes this patch work? I'm not sure why I went with LOCATE originally rather than LIKE.