Closed (fixed)
Project:
Associated Nodes
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2009 at 12:40 UTC
Updated:
10 Nov 2010 at 16:48 UTC
Jump to comment: Most recent file
Comments
Comment #1
xatoo_ commentedOk, there are some more changes to be made:
On line 386 of associated_nodes.module change:
$q = "INSERT INTO {associated_nodes_cache} SET aid = %d, nid = %d, associated_nid = %d";Into:
$q = "INSERT INTO {associated_nodes_cache} (aid, nid, associated_nid) VALUES (%d, %d, %d)";On line 479 of associated_nodes.module change:
$q = "INSERT INTO {associated_nodes_nodetype} SET aid = %d, type = '%s'";Into:
$q = "INSERT INTO {associated_nodes_nodetype} (aid, type) VALUES (%d, '%s')";On line 491 of associated_nodes.module change:
$q = "INSERT INTO {associated_nodes_criterion} SET aid = %d, type = '%s', element = '%s', weight = %f";Into:
$q = "INSERT INTO {associated_nodes_criterion} (aid, type, element, weight) VALUES (%d, '%s', '%s', %f)";On line 516 of associated_nodes.module change:
$q = "INSERT INTO {associated_nodes_association} SET name = ''";Into:
$q = "INSERT INTO {associated_nodes_association} (name) VALUES ('')";Comment #2
jfberroyer commentedThanks for your bug repport and patch.
Actualy, the SQL inserts was not standard (I imagine you don't use MySQL)
I will apply your patch and do a new release soon.
Comment #3
xatoo_ commented