Closed (fixed)
Project:
Drush
Component:
Core Commands
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Nov 2010 at 22:43 UTC
Updated:
8 Dec 2010 at 08:00 UTC
Jump to comment: Most recent file
Drush "watchdog-delete" command deletes all watchdog entries even if a filter argument is provided
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | drush_wd_del_2.patch | 1.03 KB | ahwebd |
| #2 | drush-978204.patch | 830 bytes | jonhattan |
| drush_wd_del.patch | 952 bytes | ahwebd |
Comments
Comment #1
kotnik commentedAll filters are working except when you provide a string, ie:
And it happily deleted all watchdog messages.
Does your patch fix this?
Comment #2
jonhattan@ahwebd only the first snippet of the patch is needed. Second one breaks the message. Consider those examples:
Comment #3
ahwebd commented@kotnik
This is what it does
@jonhattan
Thanks!
however not all people are supposed to understand sql syntax, here's a corrected patch that makes the filter part of the drush message more user friendly
Comment #4
jonhattanCommited. Thanks.