Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
f21fbc06
Commit
f21fbc06
authored
May 05, 2012
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests breaking with Mysqli and DB2
parent
e97f15ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
README.md
README.md
+4
-3
DB2Statement.php
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
+1
-1
MysqliStatement.php
lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php
+1
-1
No files found.
README.md
View file @
f21fbc06
# 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.
*
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:
*
[
Website
](
http://www.doctrine-project.org
)
...
...
lib/Doctrine/DBAL/Driver/IBMDB2/DB2Statement.php
View file @
f21fbc06
...
...
@@ -148,7 +148,7 @@ class DB2Statement implements \IteratorAggregate, Statement
/**
* {@inheritdoc}
*/
public
function
setFetchMode
(
$fetchStyle
=
\PDO
::
FETCH_BOTH
)
public
function
setFetchMode
(
$fetchStyle
=
\PDO
::
FETCH_BOTH
,
$arg2
=
null
,
$arg3
=
null
)
{
$this
->
_defaultFetchStyle
=
$fetchStyle
;
}
...
...
lib/Doctrine/DBAL/Driver/Mysqli/MysqliStatement.php
View file @
f21fbc06
...
...
@@ -326,7 +326,7 @@ class MysqliStatement implements \IteratorAggregate, Statement
/**
* {@inheritdoc}
*/
public
function
setFetchMode
(
$fetchMode
=
PDO
::
FETCH_BOTH
)
public
function
setFetchMode
(
$fetchMode
=
PDO
::
FETCH_BOTH
,
$arg2
=
null
,
$arg3
=
null
)
{
$this
->
_defaultFetchStyle
=
$fetchMode
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment