Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.238.2.8
diff -u -p -r1.238.2.8 system.install
--- modules/system/system.install	14 Jan 2009 21:36:16 -0000	1.238.2.8
+++ modules/system/system.install	16 Feb 2009 12:32:03 -0000
@@ -2532,6 +2532,15 @@ function system_update_6048() {
   return $ret;
 }
 
+/**
+ * Add indexes to the {node} table on language, and on uid, status, changed.
+ */
+function system_update_6049() {
+  $ret = array();
+  db_add_index($ret, 'node', 'node_language', array('language'));
+  db_add_index($ret, 'node', 'node_uid_status_changed', array('uid, status, changed'));
+  return $ret;
+}
 
 /**
  * @} End of "defgroup updates-5.x-to-6.x"
