Ticket #26788: dbdelta.diff
File dbdelta.diff, 734 bytes (added by , 11 years ago) |
---|
-
wp-admin/includes/upgrade.php
1619 1619 // If the table field exists in the field array... 1620 1620 if (array_key_exists(strtolower($tablefield->Field), $cfields)) { 1621 1621 // Get the field type from the query 1622 preg_match("|".$tablefield->Field." 1622 preg_match("|".$tablefield->Field."\s+([^ ]*( unsigned)?)|i", $cfields[strtolower($tablefield->Field)], $matches); 1623 1623 $fieldtype = $matches[1]; 1624 1624 1625 1625 // Is actual field type different from the field type in query?