Closed (fixed)
Project:
Drush
Version:
All-versions-4.x-dev
Component:
Core Commands
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2010 at 14:44 UTC
Updated:
27 Mar 2011 at 14:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
moshe weitzman commentedI reworked this code for a case statement and better coding standards around if statement whitespace and braces. Committed. Thanks.
Comment #2
jaydub commentedI ran into this as well. I backported just the change that was added in commit http://drupal.org/cvs?commit=372162 but that does not fix the issue. The patch above which returns FALSE if there are no results does work. The commit does not include the return FALSE and so the infinite loop continues and out of memory error is returned.
Comment #3
moshe weitzman commentedsorry about that. could you make a patch?
Comment #4
eli commentedHere's a patch that adds the missing return and fixes the problem for me.
Comment #5
jonhattanCommited. thanks.
Comment #6
jonhattan@eli: patches are usually done from the root folder of the project. You can get instructions here: http://drupal.org/project/drush/cvs-instructions
Here's a proper patch to backport the fix to 3.x.
Comment #7
eli commentedThanks, jonhatten, I appreciate it. Somehow I always get the easy stuff wrong. :)
Comment #8
kotnik commentedShouldn't the status of this be fixed?
Comment #9
greg.1.anderson commentedTechnically, yes, this should be 'needs review' since there is a 3.x patch, but please leave it 'patch to be ported' so that it is easier to find when making a 3.x release.
Comment #10
moshe weitzman commented3.x gets security fixes only.