Project

General

Profile

Bug #17856 » 20071127_dbcompare.diff

Administrator Admin, 2007-11-27 19:01

View differences:

t3lib/class.t3lib_install.php (working copy)
$fieldN = str_replace('`','',$fieldN);
if (!isset($FDcomp[$table][$theKey][$fieldN])) {
$extraArr[$table][$theKey][$fieldN] = $fieldC;
} elseif (strcmp($FDcomp[$table][$theKey][$fieldN], $ignoreNotNullWhenComparing?str_replace(' NOT NULL', '', $fieldC):$fieldC)) {
} elseif (strcmp(trim($FDcomp[$table][$theKey][$fieldN]), $ignoreNotNullWhenComparing?str_replace(' NOT NULL', '', trim($fieldC)):trim($fieldC))) {
$diffArr[$table][$theKey][$fieldN] = $fieldC;
$diffArr_cur[$table][$theKey][$fieldN] = $FDcomp[$table][$theKey][$fieldN];
}
(1-1/2)