summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-26 16:53:33 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-26 16:53:33 +0000
commit94d0be55b4580086b214f4abbf33858e3f2535ba (patch)
tree86c98651f051345105d94e6db881df3095731134
parent32bc8911b1d7345d78c17e36dbbbe64119d62e96 (diff)
downloadbrdo-94d0be55b4580086b214f4abbf33858e3f2535ba.tar.gz
brdo-94d0be55b4580086b214f4abbf33858e3f2535ba.tar.bz2
- Patch #744972 by marcvangend: critical bug: unindexed query to taxonomy_index() table during hook_node_delete().
-rw-r--r--modules/taxonomy/taxonomy.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/taxonomy/taxonomy.install b/modules/taxonomy/taxonomy.install
index 94c19d464..b47689ed5 100644
--- a/modules/taxonomy/taxonomy.install
+++ b/modules/taxonomy/taxonomy.install
@@ -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',