Skip to content

Commit

Permalink
Merge pull request #869 from ym1623/develop
Browse files Browse the repository at this point in the history
Bug fix mysqli transaction function call
  • Loading branch information
lonnieezell authored Dec 22, 2017
2 parents 88058ee + 3a45e51 commit fc37872
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
File renamed without changes.
8 changes: 8 additions & 0 deletions system/Database/MySQLi/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,14 @@ public function getVersion()
*/
public function execute($sql)
{
while($this->connID->more_results())
{
$this->connID->next_result();
if($res = $this->connID->store_result())
{
$res->free();
}
}
return $this->connID->query($this->prepQuery($sql));
}

Expand Down

0 comments on commit fc37872

Please sign in to comment.