Commit 86a73d78 authored by Earnie Boyd's avatar Earnie Boyd

#544774 Slow queries - add index to loc column.

parent 5ae00939
$Id$
XML sitemap 6.x-1, 2009-08-10
-----------------------------------
#544774 Slow queries - add index to loc column.
XML sitemap 6.x-1, 2009-07-24
-----------------------------------
#535192 Override node settings permission is not checked properly in xmlsitemap_node_form_alter().
......
......@@ -106,6 +106,7 @@ function xmlsitemap_schema() {
'link_changed' => array('changed'),
'link_priority' => array('priority'),
'type_id' => array('type', 'id'),
'loc' => array('loc'),
),
'primary key' => array('lid'),
);
......@@ -563,6 +564,16 @@ function xmlsitemap_update_6151() {
return $ret;
}
/**
* Implementation of hook_update_N().
* Add `loc` index.
*/
function xmlsitempa_update_6152() {
$ret = array();
db_add_index($ret, 'xmlsitemap', 'loc', array('loc'));
return $ret;
}
/**
* Implementation of hook_requirements().
*/
......
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