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.
exec
SwoolePostgresqlClient
1 parent 4dd3068 commit 8d5feb1Copy full SHA for 8d5feb1
src/Concerns/PostgreSqlSwooleExtManagesTransactions.php
@@ -179,7 +179,7 @@ protected function createTransaction()
179
*/
180
protected function createSavepoint()
181
{
182
- $this->getPdo()->exec(
+ $this->getPdo()->query(
183
$this->queryGrammar->compileSavepoint('trans' . ($this->transactions + 1))
184
);
185
}
@@ -212,7 +212,7 @@ protected function performRollBack($toLevel)
212
if ($toLevel == 0) {
213
$this->getPdo()->query('ROLLBACK');
214
} elseif ($this->queryGrammar->supportsSavepoints()) {
215
216
$this->queryGrammar->compileSavepointRollBack('trans' . ($toLevel + 1))
217
218
0 commit comments