since we define column "status" as "'type' => 'int'", but preform "$existing->status === '0'" checking within module.inc, DB2 will face critical problem during compare: DB2 return a numeric 0, but we are asking for a string '0', which will return FALSE.

this small patch fix the problem, and tested among both MySQL and DB2 :)

CommentFileSizeAuthor
drupal-6.x-dev-module.inc-0.1.diff726 byteshswong3i
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dries’s picture

Status: Needs review » Fixed

Committed to CVS HEAD. Thanks.

Anonymous’s picture

Status: Fixed » Closed (fixed)