Skip to content

Commit

Permalink
Bug fix mysqli transaction function call
Browse files Browse the repository at this point in the history
  • Loading branch information
ym1623 committed Dec 20, 2017
1 parent 6996f76 commit 3a45e51
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 3a45e51

Please sign in to comment.