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).

Members fund testing for the Drupal project. Drupal Association Learn more


vangorra’s picture

Title: Dot cross DB compatible. » NDot cross DB compatible.
Assigned: Unassigned » vangorra
Status: Active » Needs review
1.41 KB

Here is a patch that allows this module to work for any database that drupal has a driver for.


attiks’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Needs review » Fixed

Changed to code to use db_merge

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.