Ticket #21272: for-update-keys.diff
| File for-update-keys.diff, 597 bytes (added by , 14 years ago) |
|---|
-
wp-admin/includes/upgrade.php
1628 1628 foreach ( (array) $indices as $index ) { 1629 1629 // Push a query line into $cqueries that adds the index to that table 1630 1630 $cqueries[] = "ALTER TABLE {$table} ADD $index"; 1631 $for_update[ $table.'.'.$fieldname] = 'Added index '.$table.' '.$index;1631 $for_update[] = 'Added index '.$table.' '.$index; 1632 1632 } 1633 1633 1634 1634 // Remove the original table creation query from processing