Posted by thekevinday on September 21, 2009 at 6:09pm
Jump to:
| Project: | Type-local nids |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | jbrown |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| type_local_nids-sql_syntax_fix-1.patch | 581 bytes |
Comments
#1
I guess this should work on postgres now. :-)
#2
http://drupal.org/cvs?commit=266310
#3
Automatically closed -- issue fixed for 2 weeks with no activity.