Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ce03226

Browse filesBrowse files
committed
attach all required parameters to query
1 parent 7398334 commit ce03226
Copy full SHA for ce03226

File tree

1 file changed

+2
-1
lines changed
Filter options
  • src/Symfony/Component/Messenger/Bridge/Doctrine/Transport

1 file changed

+2
-1
lines changed

‎src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Bridge/Doctrine/Transport/Connection.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,8 @@ public function get(): ?array
182182
// Wrap the rownum query in a sub-query to allow writelocks without ORA-02014 error
183183
if ($this->driverConnection->getDatabasePlatform() instanceof OraclePlatform) {
184184
$query = $this->createQueryBuilder('w')
185-
->where('w.id IN ('.str_replace('SELECT a.* FROM', 'SELECT a.id FROM', $sql).')');
185+
->where('w.id IN ('.str_replace('SELECT a.* FROM', 'SELECT a.id FROM', $sql).')')
186+
->setParameters($query->getParameters());
186187

187188
if (method_exists(QueryBuilder::class, 'forUpdate')) {
188189
$query->forUpdate();

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.