Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 2efae94 + b5a6b4e commit f5458f7Copy full SHA for f5458f7
src/Illuminate/Database/Connection.php
@@ -506,7 +506,7 @@ public function beginTransaction()
506
if ($this->transactions == 1) {
507
$this->pdo->beginTransaction();
508
} elseif ($this->transactions > 1 && $this->queryGrammar->supportsSavepoints()) {
509
- $this->statement(
+ $this->pdo->exec(
510
$this->queryGrammar->compileSavepoint('trans'.$this->transactions)
511
);
512
}
@@ -540,7 +540,7 @@ public function rollBack()
540
541
$this->pdo->rollBack();
542
543
544
$this->queryGrammar->compileSavepointRollBack('trans'.$this->transactions)
545
546
0 commit comments