Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please add support for all databases by using the drupal query builder classes.
This is strictly a MySQL style query:
PDOException: SQLSTATE[HY000]: General error: 1 near "ON": syntax error: insert into {ga_login} (name, keydata) values ('myuser@Site Name', '..Super secret key..') ON DUPLICATE KEY UPDATE keydata='...keydata...'; Array ( ) in ga_loginGA->putData() (line 44 of sites\all\modules\ga_login\ga_login.class.php).
Comment | File | Size | Author |
---|---|---|---|
#1 | ga_login-fix_db_abstraction-1733600-1.patch | 1.41 KB | vangorra |
Comments
Comment #1
vangorra CreditAttribution: vangorra commentedHere is a patch that allows this module to work for any database that drupal has a driver for.
Cheers!
Comment #2
attiks CreditAttribution: attiks commentedChanged to code to use db_merge