I usually have dblog module turned off. When you do this, the watchdog table isn't there. I noticed using drush it'll throw an exception saying:
Base table or view not found: 1146 Table [error]
'new.watchdog' doesn't exist: TRUNCATE {watchdog};
Maybe a check can be added for this service to see if the table exists before trying to truncate it.
Nice module BTW!
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | cleaner-check_for_watchdog_table-2810655-10.patch | 606 bytes | valentine94 |
| #7 | cleaner-check_for_watchdog_table-2810655-7-D7-do-not-test.patch | 584 bytes | nancydru |
Comments
Comment #2
valentine94Hi rferguson,
Thanks for report I'll take a look asap.
Regards, Valentine
Comment #3
nancydruSee #2886576: Settings should indicate if not needed
Comment #4
nancydruComment #5
nancydruHere's a patch against the 7.x branch.
Comment #6
nancydruProper patch name so it doesn't try to test against 8.x.
Comment #7
nancydruTrying again with the name
Comment #9
nancydruNeeds to be ported to 8.x-1.x
Comment #10
valentine94OK, here is a patch for D8
Comment #11
nancydruIf you've tested it, go ahead and commit it.
Comment #14
valentine94Mark as fixed