diff --git modules/statistics/statistics.install modules/statistics/statistics.install
index d5855a7..354005c 100644
--- modules/statistics/statistics.install
+++ modules/statistics/statistics.install
@@ -142,8 +142,29 @@ function statistics_schema() {
 
 /**
  * Update the {accesslog}.sid column to match the length of {sessions}.sid
+ *
+ * The original 7000 extended the sid field, without dropping the index
+ * first. It is unlikely that this succeeded for any mysql users.
+ * A new 7001 is created below that drops indices and then modifies the field.
+ * This update will also work fine for users who did manage to run 7000,
+ * as it is an operation that will not modify any data.
+ * See also http://drupal.org/node/1261056
  */
 function statistics_update_7000() {
+}
+
+/**
+ * Retry statistics update 7000.
+ *
+ * @see statistics_update_7000()
+ */
+function statistics_update_7001() {
+  if (db_index_exists('accesslog', 'accesslog_path_sid')) {
+    db_drop_index('accesslog', 'accesslog_path_sid');
+  }
+  if (db_index_exists('accesslog', 'accesslog_uid_sid')) {
+    db_drop_index('accesslog', 'accesslog_uid_sid');
+  }
   db_change_field('accesslog', 'sid', 'sid', array(
     'type' => 'varchar',
     'length' => 128,
@@ -153,6 +174,7 @@ function statistics_update_7000() {
   ));
 }
 
+
 /**
  * @} End of "addtogroup updates-6.x-to-7.x"
  */
