update_sql() does not accept parameters as db_query(). The update_sql() in system_update_120() is thus a no-op.

Patch attached.

Comments

Robrecht Jacques’s picture

Component: install system » system.module
Robrecht Jacques’s picture

StatusFileSize
new751 bytes

Heine noticed on IRC that we probably should use %d instead of '%s' for the $alias->pid.

Patch attached.

Zen’s picture

Version: 5.x-dev » 6.x-dev

Unlikely, but are you sure that pid was not a string back when 120 was introduced?

-K

catch’s picture

This still applies with offset...

dries’s picture

Status: Needs review » Fixed

I've committed this to CVS HEAD, however, it looks like the problem is still present in Drupal 5. I'll commit it to Drupal 5 as well.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.