We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44ded71 commit 5fd2d73Copy full SHA for 5fd2d73
MysqliDb.php
@@ -1758,9 +1758,10 @@ public function startTransaction()
1758
*/
1759
public function commit()
1760
{
1761
- $this->mysqli()->commit();
+ $result = $this->mysqli()->commit();
1762
$this->_transaction_in_progress = false;
1763
$this->mysqli()->autocommit(true);
1764
+ return $result;
1765
}
1766
1767
/**
@@ -1771,9 +1772,10 @@ public function commit()
1771
1772
1773
public function rollback()
1774
- $this->mysqli()->rollback();
1775
+ $result = $this->mysqli()->rollback();
1776
1777
1778
1779
1780
1781
0 commit comments