Skip to content

Commit

Permalink
fixes (#698)
Browse files Browse the repository at this point in the history
* fixed limit variable ordering in the comments

* Expand readme on autoreconnect and multipe connections usage

* update release numbers

* update copyright years

* Bug #623:  Mistake in Regexp

* Fix for #554 Fixing Join usage with 'USING' instead of 'ON'

* Fix empty exception message

* fix a typo

* Added LIKE case description into readme

* do not reset connection name when transtation is on

* 2.9 release
  • Loading branch information
avbdr committed Nov 29, 2017
1 parent 39d06d9 commit 1f45192
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions MysqliDb.php
Expand Up @@ -10,7 +10,7 @@
* @copyright Copyright (c) 2010-2017
* @license http://opensource.org/licenses/gpl-3.0.html GNU Public License
* @link http://github.com/joshcam/PHP-MySQLi-Database-Class
* @version 2.9-master
* @version 2.9
*/

class MysqliDb
Expand Down Expand Up @@ -416,7 +416,9 @@ protected function reset()
$this->_lastInsertId = null;
$this->_updateColumns = null;
$this->_mapKey = null;
$this->defConnectionName = 'default';
if(!$this->_transaction_in_progress ) {
$this->defConnectionName = 'default';
}
$this->autoReconnectCount = 0;
return $this;
}
Expand Down

0 comments on commit 1f45192

Please sign in to comment.