Project

General

Profile

Bug #22250 ยป 13766.diff

Administrator Admin, 2010-03-08 19:15

View differences:

typo3/sysext/adodb/adodb/drivers/adodb-odbc.inc.php (working copy)
$num += 1;
$this->genID = $num;
return $num;
} elseif ($this->affected_rows() == 0) {
// some drivers do not return a valid value => try with another method
$value = $this->GetOne("select id from $seq");
if ($value == $num + 1) {
return $value;
}
}
}
if ($fn = $this->raiseErrorFn) {
    (1-1/1)