Commit 67a2fa40 authored by dpb587's avatar dpb587 Committed by Benjamin Eberlei

[DDC-262] Oracle and TableGenerator

parent b0f52806
......@@ -118,7 +118,9 @@ class TableGenerator
"WHERE sequence_name = ? " . $platform->getWriteLockSQL();
$stmt = $this->conn->executeQuery($sql, array($sequenceName));
if ($row = $stmt->fetch()) {
if ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
$row = array_change_key_case($row, CASE_LOWER);
$value = $row['sequence_value'];
$value++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment