Index: modules/comment/comment.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.install,v
retrieving revision 1.52
diff -u -p -r1.52 comment.install
--- modules/comment/comment.install	12 Nov 2009 06:46:44 -0000	1.52
+++ modules/comment/comment.install	1 Dec 2009 11:33:02 -0000
@@ -208,6 +208,13 @@ function comment_update_7010() {
 }
 
 /**
+ * Add an index to node_comment_statistics on comment_count.
+ */
+function comment_update_7011() {
+  db_add_index('node_comment_statistics', 'comment_count', array('comment_count'));
+}
+
+/**
  * @} End of "defgroup updates-6.x-to-7.x"
  * The next series of updates should start at 8000.
  */
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.422
diff -u -p -r1.422 system.install
--- modules/system/system.install	11 Nov 2009 17:06:30 -0000	1.422
+++ modules/system/system.install	1 Dec 2009 11:33:32 -0000
@@ -2491,10 +2491,9 @@ function system_update_7029() {
 }
 
 /**
- * Add an index to node_comment_statistics on comment_count.
+ * Moved to comment_update_7011().
  */
 function system_update_7030() {
-  db_add_index('node_comment_statistics', 'comment_count', array('comment_count'));
 }
 
 /**
