diff -urp --strip-trailing-cr ../drupal-6.x-dev/modules/locale/locale.install ./modules/locale/locale.install
--- ../drupal-6.x-dev/modules/locale/locale.install	2007-10-21 20:59:02.000000000 +0200
+++ ./modules/locale/locale.install	2007-11-11 14:44:09.000000000 +0100
@@ -115,6 +115,17 @@ function locale_update_6005() {
 }
 
 /**
+ * Restore lost index on language column (previously locale). This is
+ * separate from locale_update_6002() just to cover upgrade path from
+ * the two 6.0-beta releases ibetween.
+ */
+function locale_update_6006() {
+  $ret = array();
+  db_add_index($ret, 'locales_target', 'language', array('language'));
+  return $ret;
+}
+
+/**
  * @} End of "defgroup updates-5.x-to-6.x"
  */
 
