function system_update_6004 in Drupal 6
This update used to add an index on users created column (#127941). However, system_update_1022() does the same thing. This update tried to detect if 1022 had already run but failed to do so, resulting in an "index already exists" error.
Adding the index here is never necessary. Sites installed before 1022 will run 1022, getting the update. Sites installed on/after 1022 got the index when the table was first created. Therefore, this function is now a no-op.
Related topics
File
- modules/
system/ system.install, line 1273
Code
function system_update_6004() {
return array();
}