Index: src/wp-admin/includes/upgrade.php
===================================================================
--- src/wp-admin/includes/upgrade.php	(revision 30751)
+++ src/wp-admin/includes/upgrade.php	(working copy)
@@ -1727,7 +1727,7 @@
 			case 'unique':
 			case 'key':
 				$validfield = false;
-				$indices[] = trim(trim($fld), ", \n");
+				$indices[] = strtoupper(trim(trim($fld), ", \n"));
 				break;
 			}
 			$fld = trim($fld);
@@ -1825,7 +1825,7 @@
 				}
 				// Add the column list to the index create string.
 				$index_string .= ' ('.$index_columns.')';
-				if (!(($aindex = array_search($index_string, $indices)) === false)) {
+				if (!(($aindex = array_search(strtoupper($index_string), $indices)) === false)) {
 					unset($indices[$aindex]);
 					// todo: Remove this?
 					//echo "<pre style=\"border:1px solid #ccc;margin-top:5px;\">{$table}:<br />Found index:".$index_string."</pre>\n";
