Attached is a small patch to make the sql queries compatible with both mysql and postgres. Basically the "||" should be "OR" and isnull() should be IS NULL. FYI this fix has been reported and fixed against other modules http://drupal.org/node/466166, http://drupal.org/node/619150
| Comment | File | Size | Author |
|---|---|---|---|
| uc_payflowpro.module.patch | 796 bytes | aaron1234nz |
Comments
Comment #1
kwinters commentedThanks for the patch. I confirmed that the query still works in MySQL, then committed. It may be a little while before a new release goes out, since there are no other completed changes.
This should really be documented in the SQL coding standards: http://drupal.org/node/2497
Comment #2
kwinters commented