Skip to content

Commit

Permalink
Fix cursor name generation
Browse files Browse the repository at this point in the history
  • Loading branch information
anokhinAleksey authored and mrVrAlex committed Mar 23, 2022
1 parent a5a4e0d commit 79b1749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Swoole/PgSQL/Cursor.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function __construct(
private array $paramsTypes = [],
private bool $withHold = false,
) {
$this->cursorName = $this->connection->quoteIdentifier(uniqid('cursor_', true));
$this->cursorName = $this->connection->quoteIdentifier(uniqid('cursor_'));
Assertion::isInstanceOf($this->connection->getDriver(), Driver::class);
}

Expand Down

0 comments on commit 79b1749

Please sign in to comment.