Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.238.2.15
diff -u -p -r1.238.2.15 system.install
--- modules/system/system.install	1 Jul 2009 20:51:56 -0000	1.238.2.15
+++ modules/system/system.install	26 Sep 2009 04:28:00 -0000
@@ -2382,7 +2382,7 @@ function system_update_6043() {
   }
   // Alter locale table to add a primary key, drop an index.
   if (db_table_exists('locales_target')) {
-    db_add_primary_key($ret, 'locales_target', array('language', 'lid', 'plural'));
+    $ret[] = update_sql("ALTER IGNORE TABLE {locales_target} ADD PRIMARY KEY (language, lid, plural)");
   }
   // Alter a poll module table to add a primary key.
   if (db_table_exists('poll_votes')) {
