Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
watchdog.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
30 Oct 2012 at 15:42 UTC
Updated:
21 Aug 2018 at 03:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
amatzies commentedThis patch adds the index.
Comment #2
Anonymous (not verified) commentedWhile the patch adds the index for new installations you didn't supply a hook_update_N to modify the existing tables.
Comment #3
amatzies commentedThanks for the feedback. I added the hook_update_N now.
Comment #4
Anonymous (not verified) commentedYou need to set the status to "needs review" when adding a patch for the testbot to see it.
Comment #5
patrickd commentedworks for me (there's a missing dot at the end of the comment though)
Comment #6
Anonymous (not verified) commentedThen let us be nit-picky.
Comment #7
patrickd commentedsame as #3, but with dot
Comment #9
Anonymous (not verified) commentedI think the testbot had a hiccup in its get-up-and-go.
Comment #10
Anonymous (not verified) commented#7: severity_dbtng-1827136-7.patch queued for re-testing.
Comment #12
patrickd commented#7 now it's green, weird bot
Comment #13
Anonymous (not verified) commentedYea, the testbot had an issue and the was requeued by the testbot admin. Unfortunately that doesn't reset the Status.
Comment #14
catchPlease post a before/after EXPLAIN on the query this index affects.
Since this needs backport to Drupal 7, I think we can actually skip adding the update to Drupal 8 (as long as it does actually get backported).
Comment #15
Anonymous (not verified) commentedWithout:
With:
Comment #16
Anonymous (not verified) commentedComment #17
catchThanks!
I removed the update function from the patch and committed/pushed this one to 8.x. Moving to 7.x for backport. Tagging with 'revisit before release' so this doesn't get lost if it's never committed to 7.x for any reason.
Comment #18
posulliv commentedPatch to backport to D7.
Comment #19
droplet commentedPatch looks good.
Comment #20
David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/b5d7ec6
(Note that I fixed a couple small documentation issues on commit: The function was in the wrong docgroup, since this is not part of the Drupal 6-to-7 upgrade, and the grammar on the function PHPDoc needed a little work.)