Needs review
Project:
Ubercart Bulk Discount
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2010 at 19:47 UTC
Updated:
25 Jul 2010 at 16:25 UTC
Hello,
In SQL 99, doubel quotes reference columns, not values.
MySQL has been broken for years and accepts double quote.
Patch attached.
This fixes a PostgreSQL insert failing.
Please apply.
| Comment | File | Size | Author |
|---|---|---|---|
| patch.diff | 499 bytes | grub3 |
Comments
Comment #1
grub3 commentedThe correct SQL code for INSERTS and UPDATEs would be:
The reference in the developer book is:
MySQLism: avoid using double quotes for alphanumerical values
http://drupal.org/node/555548