Closed (fixed)
Project:
Pathauto Persistent State
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2011 at 17:04 UTC
Updated:
2 Jul 2011 at 20:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
anrikun commentedActually the WSOD seemed to be related to something else.
But the SQL error is still here.
Comment #2
anrikun commentedComment #3
anrikun commentedThis should do the trick.
Comment #4
dan.nsk commentedThis patch does make sense
Comment #5
roderikYup.
As far as I can guess, db_affected_rows() returns 0 if no data (i.e. the pathauto field) was actually changed in the database row.
(Error is generated on a client site, but not on my development system.
mysqli driver selected in settings.php; the biggest difference seems to be that phpmyadmin reports Mysql Client Version "5.1.41" for my client site and "mysqlnd 5.0.7-dev" for myself.)
Comment #6
dave reidThanks, this is now fixed with http://drupalcode.org/project/pathauto_persist.git/commit/e5e55db