Bug #17856 » 20071127_dbcompare.diff
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];
|
||
}
|