Closed (fixed)
Project:
Type-local nids
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
21 Sep 2009 at 18:09 UTC
Updated:
6 Oct 2009 at 18:00 UTC
You have probably copied the UPDATE .. SET .. syntax for the INSERT INTO .. syntax.
The valid SQL syntax is actually different.
You need to use INSERT INTO (..) VALUES (..)
See: http://www.w3schools.com/SQL/sql_insert.asp
I have attached a patch that fixes this where I have noticed the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| type_local_nids-sql_syntax_fix-1.patch | 581 bytes | thekevinday |
Comments
Comment #1
jbrown commentedI guess this should work on postgres now. :-)
Comment #2
jbrown commentedhttp://drupal.org/cvs?commit=266310