Commit 2addbddb authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix two bugs in Oracle Support

parent 6a62fefe
......@@ -40,7 +40,6 @@ class OCI8Statement implements \IteratorAggregate, Statement
PDO::FETCH_BOTH => OCI_BOTH,
PDO::FETCH_ASSOC => OCI_ASSOC,
PDO::FETCH_NUM => OCI_NUM,
PDO::PARAM_LOB => OCI_B_BLOB,
PDO::FETCH_COLUMN => OCI_NUM,
);
protected $_defaultFetchMode = PDO::FETCH_BOTH;
......
......@@ -161,7 +161,7 @@ class WriteTest extends \Doctrine\Tests\DbalFunctionalTestCase
$sequences = $this->_conn->getSchemaManager()->listSequences();
$this->assertEquals(1, count(array_filter($sequences, function($sequence) {
return $sequence->getName() === 'write_table_id_seq';
return strtolower($sequence->getName()) === 'write_table_id_seq';
})));
$stmt = $this->_conn->query($this->_conn->getDatabasePlatform()->getSequenceNextValSQL('write_table_id_seq'));
......
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