Ticket #21272: 21272.diff
| File 21272.diff, 603 bytes (added by , 13 years ago) |
|---|
-
wp-admin/includes/upgrade.php
1642 1642 foreach ( (array) $indices as $index ) { 1643 1643 // Push a query line into $cqueries that adds the index to that table 1644 1644 $cqueries[] = "ALTER TABLE {$table} ADD $index"; 1645 $for_update[ $table.'.'.$fieldname] = 'Added index '.$table.' '.$index;1645 $for_update[] = 'Added index ' . $table . ' ' . $index; 1646 1646 } 1647 1647 1648 1648 // Remove the original table creation query from processing