Project

General

Profile

Bug #20470 » 11142_v2.diff

Administrator Admin, 2009-11-02 11:29

View differences:

typo3/sysext/dbal/class.ux_t3lib_sqlparser.php 2009-11-02 06:35:06.000000000 +0100
}
// Add additional features:
$noQuote = TRUE;
if (is_array($fieldCfg['featureIndex'])) {
// MySQL assigns DEFAULT value automatically if NOT NULL, fake this here
......
$cfg .= ' "\'\'"';
} else {
$cfg .= ' ' . $featureDef['value'][1] . $this->compileAddslashes($featureDef['value'][0]) . $featureDef['value'][1];
if (!is_numeric($featureDef['value'][0])) {
$noQuote = FALSE;
}
}
}
}
}
$cfg .= ' NOQUOTE';
if ($noQuote) {
$cfg .= ' NOQUOTE';
}
break;
}
(3-3/4)