Commit 94d0be55 authored by Dries's avatar Dries

- Patch #744972 by marcvangend: critical bug: unindexed query to...

- Patch #744972 by marcvangend: critical bug: unindexed query to taxonomy_index() table during hook_node_delete().
parent 32bc8911
......@@ -195,6 +195,7 @@ function taxonomy_schema() {
),
'indexes' => array(
'term_node' => array('tid', 'sticky', 'created'),
'nid' => array('nid'),
),
'foreign keys' => array(
'node' => 'nid',
......@@ -314,6 +315,7 @@ function taxonomy_update_7004() {
),
'indexes' => array(
'term_node' => array('tid', 'sticky', 'created'),
'nid' => array('nid'),
),
'foreign keys' => array(
'node' => 'nid',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment