Closed (outdated)
Project:
Drupal core
Version:
8.1.x-dev
Component:
database system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Dec 2010 at 00:13 UTC
Updated:
8 Sep 2016 at 18:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dmitrig01 commentedComment #3
Crell commentedSaving the placeholder object like that creates a circular reference, which results in a memory leak. That's a no-go.
If all we need to do is see if the placeholder object is different than the last time compile was called, you can get a non-reference object ID out of http://us2.php.net/spl_object_hash
Comment #4
dmitrig01 commentedhow about this?
Comment #6
dmitrig01 commentedComment #7
Crell commentedLet's use a different variable name to make it clear that it's just the hash ID, not the actual object. :-)
(Because I haven't given Dmitri enough grief about comments and variable names yet tonight...)
Comment #8
dmitrig01 commenteddone
Comment #10
Crell commentedAll of the failing tests here involve subqueries, although I cannot for the life of me figure out why. I see no reason why it should be dying, since each sub-condition is compiled separately and has its own changed tracker. Dmitri, any ideas?
Comment #11
dmitrig01 commentedhrm, will look into it
Comment #12
catchThere are no steps to reproduce the bug here, nor a use-case, so this is as best a normal bug report, if not a task.
Comment #13
jhodgdonfix typo in tag
Comment #15
daffie commentedThis is so old and there is no why to reproduce the bug. I am closing this as outdated.