[PR #1024] [CLOSED] [DDC-3107][Persister] Remove the insertSql cache #9052

Closed
opened 2026-01-22 16:02:59 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/1024
Author: @tyx
Created: 4/30/2014
Status: Closed

Base: masterHead: fix/dont-cache-insert-sql


📝 Commits (1)

  • e7f4c5d Remove the insertSql cache

📊 Changes

1 file changed (+2 additions, -17 deletions)

View changed files

📝 lib/Doctrine/ORM/Persisters/BasicEntityPersister.php (+2 -17)

📄 Description

Here is a piece of code which leads to an exception if we keep it :
https://gist.github.com/tyx/353de6d6aaf367abd6e6

Sure it is an edge case with tricks but I'm sure Doctrine does not need this kind of optimization.

My 2 cent


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/1024 **Author:** [@tyx](https://github.com/tyx) **Created:** 4/30/2014 **Status:** ❌ Closed **Base:** `master` ← **Head:** `fix/dont-cache-insert-sql` --- ### 📝 Commits (1) - [`e7f4c5d`](https://github.com/doctrine/orm/commit/e7f4c5d567bf57fe343c92f4cae3f25805d96785) Remove the insertSql cache ### 📊 Changes **1 file changed** (+2 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Persisters/BasicEntityPersister.php` (+2 -17) </details> ### 📄 Description Here is a piece of code which leads to an exception if we keep it : https://gist.github.com/tyx/353de6d6aaf367abd6e6 Sure it is an edge case with tricks but I'm sure Doctrine does not need this kind of optimization. My 2 cent --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:02:59 +01:00
admin closed this issue 2026-01-22 16:03:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#9052