DDC-2090: MultiTableUpdateExecutor works incorrect with query cache enabled #2635

Closed
opened 2026-01-22 13:58:52 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Oct 19, 2012).

Jira issue originally created by user feedbee:

Doctrine\ORM\Query\Exec\MultiTableUpdateExecutor works incorrect with query cache enabled.
I execute two similar update-queries with different parameters, but the second query is never executed in database.

There is todo-task in code:

//FIXME (URGENT): With query cache the parameter is out of date. Move to execute() stage.

This is important issue. Much time spent in debugging.

Originally created by @doctrinebot on GitHub (Oct 19, 2012). Jira issue originally created by user feedbee: Doctrine\ORM\Query\Exec\MultiTableUpdateExecutor works incorrect with query cache enabled. I execute two similar update-queries with different parameters, but the second query is never executed in database. There is todo-task in code: //FIXME (URGENT): With query cache the parameter is out of date. Move to execute() stage. This is important issue. Much time spent in debugging.
admin added the Bug label 2026-01-22 13:58:52 +01:00
admin closed this issue 2026-01-22 13:58:52 +01:00
Author
Owner

@doctrinebot commented on GitHub (Oct 19, 2012):

Comment created by feedbee:

Workaround is to disable query cache per every multitable update query: http://stackoverflow.com/questions/12969460/doctrine-query-cache-update

@doctrinebot commented on GitHub (Oct 19, 2012): Comment created by feedbee: Workaround is to disable query cache per every multitable update query: http://stackoverflow.com/questions/12969460/doctrine-query-cache-update
Author
Owner

@doctrinebot commented on GitHub (Mar 17, 2013):

Comment created by @FabioBatSilva:

Fixed : 60b8bc63a1

@doctrinebot commented on GitHub (Mar 17, 2013): Comment created by @FabioBatSilva: Fixed : https://github.com/doctrine/doctrine2/commit/60b8bc63a1a4819cf112cfbbc7cca06b5792aba6
Author
Owner

@doctrinebot commented on GitHub (Mar 17, 2013):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 17, 2013): Issue was closed with resolution "Fixed"
Author
Owner

@doctrinebot commented on GitHub (Mar 17, 2013):

Comment created by @beberlei:

Merged into 2.3 for release with 2.3.3

@doctrinebot commented on GitHub (Mar 17, 2013): Comment created by @beberlei: Merged into 2.3 for release with 2.3.3
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2635