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 38a4125

Browse filesBrowse files
committed
attach all required parameters to query
1 parent 0a30c9b commit 38a4125
Copy full SHA for 38a4125

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
@@ -181,7 +181,8 @@ public function get(): ?array
181181
// Wrap the rownum query in a sub-query to allow writelocks without ORA-02014 error
182182
if ($this->driverConnection->getDatabasePlatform() instanceof OraclePlatform) {
183183
$query = $this->createQueryBuilder('w')
184-
->where('w.id IN ('.str_replace('SELECT a.* FROM', 'SELECT a.id FROM', $sql).')');
184+
->where('w.id IN ('.str_replace('SELECT a.* FROM', 'SELECT a.id FROM', $sql).')')
185+
->setParameters($query->getParameters());
185186

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

0 commit comments

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