Closed (fixed)
Project:
Views (for Drupal 7)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Aug 2012 at 14:52 UTC
Updated:
31 Mar 2017 at 11:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerOne reason for having all this stuff in d7 was to have an easy way to port patches, but as the code is pretty stable this doesn't matter anymore.
Here is a patch with the adapted base schema.
Comment #2
aspilicious commentedcan we adjust the doc header too than and why is it called schema_6000
Comment #3
aspilicious commentedI think this should do it
Comment #4
aspilicious commentedtiny cleanup
Comment #5
tim.plunkettI've always been massively confused by views_schema(). Can't we eliminate all of that and just start with a clean, normal function?
Especially if this is to go into core.
Comment #6
aspilicious commentedMore cleanups
Comment #7
aspilicious commentedWe should check if these are still needed
Comment #8
aspilicious commentedNow its all nice and clean :)
Comment #9
dawehnerCan you please explain why this is not needed anymore?
Why don't we want this nice schema update mechanism?
Comment #10
aspilicious commentedBoth are approved by Merlin, we decided (me, tim and merlin) after some discussion to remove all the custom code. The update mechanism was nice but according to Merlin it didn't solve every problem.
And Merlin said the pgsql fixes were really old and not needed anymore.
Comment #11
dawehnerGood to know!
Comment #12
tim.plunkettGoing to manually test this today.
Comment #13
tim.plunkettI keep losing this one.
Comment #14
tim.plunketthttp://drupalcode.org/project/views.git/commit/b6f5b5b
Comment #16
larowlanThis function is chewing through memory in some tests in D7, specifically the call to get_defined_functions() is this a backport candidate?
Comment #17
larowlanThis at least kills off the get_defined_functions() which prevents OOM locally for me at least.
Comment #18
jibranNice catch. It has definitely improved the memory utilization.
Comment #19
dawehnerso @jibran did you tested the patch? I don't see a RTBC on this issue yet. Please try it out, ...
Comment #20
jibranFor some client work when I added https://www.drupal.org/project/views_datasource the site started giving memory limit error. After applying this patch the error went away. So yeah I have tested it.
Comment #21
larowlanYep, tested it on a client site as @jibran eluded
Comment #22
colanWe've recently switched our testing from the old qa.drupal.org to DrupalCI. Because of a bug in the new system, #2623840: Views (D7) patches not being tested, older patches must be re-uploaded. On re-uploading the patch, please set the status to "Needs Review" so that the test bot will add it to its queue.
If all tests pass, change the Status back to "Reviewed & tested by the community". We'll most likely commit the patch immediately without having to go through another round of peer review.
We apologize for the trouble, and appreciate your patience.
Comment #23
jibranRe-uploading the patch.
Comment #25
damienmckennaCommitted. Thanks.