Commit 9c955424 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix tests breaking with Mysqli and DB2

parent f14799ed
# Doctrine DBAL # Doctrine DBAL
Master: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=master)](http://travis-ci.org/doctrine/dbal)
2.1.x: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=2.1.x)](http://travis-ci.org/doctrine/dbal)
Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction. Powerful database abstraction layer with many features for database schema introspection, schema management and PDO abstraction.
* Master: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=master)](http://travis-ci.org/doctrine/dbal)
* Master: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=2.2)](http://travis-ci.org/doctrine/dbal)
* 2.1.x: [![Build Status](https://secure.travis-ci.org/doctrine/dbal.png?branch=2.1.x)](http://travis-ci.org/doctrine/dbal)
## More resources: ## More resources:
* [Website](http://www.doctrine-project.org) * [Website](http://www.doctrine-project.org)
......
...@@ -148,7 +148,7 @@ class DB2Statement implements \IteratorAggregate, Statement ...@@ -148,7 +148,7 @@ class DB2Statement implements \IteratorAggregate, Statement
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function setFetchMode($fetchStyle = \PDO::FETCH_BOTH) public function setFetchMode($fetchStyle = \PDO::FETCH_BOTH, $arg2 = null, $arg3 = null)
{ {
$this->_defaultFetchStyle = $fetchStyle; $this->_defaultFetchStyle = $fetchStyle;
} }
......
...@@ -319,7 +319,7 @@ class MysqliStatement implements \IteratorAggregate, Statement ...@@ -319,7 +319,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function setFetchMode($fetchMode = PDO::FETCH_BOTH) public function setFetchMode($fetchMode = PDO::FETCH_BOTH, $arg2 = null, $arg3 = null)
{ {
$this->_defaultFetchStyle = $fetchMode; $this->_defaultFetchStyle = $fetchMode;
} }
......
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