Project

General

Profile

Bug #14529 ยป 0000748-bug_748.diff

Administrator Admin, 2005-02-03 21:42

View differences:

./class.t3lib_install.php Thu Feb 3 13:38:28 2005
$table = trim($reg[1]);
if ($table) {
if (TYPO3_OS=='WIN') {$table=strtolower($table);} // tablenames are always lowercase on windows!
$sqlLines=explode("\n", $linecontent);
for ($i=0; $i < count($sqlLines); $i++){
if(strstr($sqlLines[$i],'auto_increment')) {
$sqlLines[$i] = eregi_replace('default \'0\'','',$sqlLines[$i]);
}
}
$linecontent = implode ("\n", $sqlLines);
$crTables[$table] = $linecontent;
}
} elseif ($insertCountFlag && eregi('^insert[[:space:]]*into[[:space:]]*([[:alnum:]_]*)',substr($linecontent,0,100),$reg)) {
    (1-1/1)