Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added mysqli driver. #72

Merged
merged 5 commits into from
Nov 21, 2011
Merged

Added mysqli driver. #72

merged 5 commits into from
Nov 21, 2011

Conversation

kimhemsoe
Copy link
Member

Completes Dbal and ORM tests.

Some primitive "time" cmd of tests is slower then pdo_mysql, all suggestions are welcome :)

@@ -0,0 +1,56 @@
<?php
/*
* $Id$
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line is a leftt-over from the SVN legacy. You should not include it in new files.

@stof stof mentioned this pull request Nov 10, 2011
$values = $this->_fetch();
if (null === $values) {
return null;
} elseif (false === $values) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should use if instead of elseif here. and you should probably use $this->fetch(\PDO::FETCH_NUM) instead of $this->_fetch() to avoid duplicating the logic creating the exception

…. Added MysqlConnection::getWrappedResourceHandle(). MysqliStatement::fetchAll() now decide fetch style if none is set, instead of letting fetch() do it on every call.
beberlei added a commit that referenced this pull request Nov 21, 2011
@beberlei beberlei merged commit 48f67ae into doctrine:master Nov 21, 2011
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants