This was never an issue.

This commit is contained in:
GJ 2013-05-16 16:13:40 -04:00
parent 0423a7831d
commit 24e5147a2a
2 changed files with 0 additions and 10 deletions

View File

@ -151,7 +151,6 @@ public final class SQLDatabaseManager {
checkDatabaseStructure(DatabaseUpdateType.INDEX); checkDatabaseStructure(DatabaseUpdateType.INDEX);
checkDatabaseStructure(DatabaseUpdateType.MOB_HEALTHBARS); checkDatabaseStructure(DatabaseUpdateType.MOB_HEALTHBARS);
checkDatabaseStructure(DatabaseUpdateType.PARTY_NAMES); checkDatabaseStructure(DatabaseUpdateType.PARTY_NAMES);
checkDatabaseStructure(DatabaseUpdateType.USER_COLUMN);
} }
/** /**
@ -574,10 +573,6 @@ public final class SQLDatabaseManager {
write("ALTER TABLE `" + tablePrefix + "users` DROP COLUMN `party` ;"); write("ALTER TABLE `" + tablePrefix + "users` DROP COLUMN `party` ;");
break; break;
case USER_COLUMN:
sql = "SELECT * FROM `" + tablePrefix + "users` ORDER BY `" + tablePrefix + "users`.`user` ASC LIMIT 0 , 30";
break;
default: default:
break; break;
} }
@ -619,10 +614,6 @@ public final class SQLDatabaseManager {
write("ALTER TABLE `" + tablePrefix + "huds` ADD `mobhealthbar` varchar(50) NOT NULL DEFAULT '" + Config.getInstance().getMobHealthbarDefault() + "' ;"); write("ALTER TABLE `" + tablePrefix + "huds` ADD `mobhealthbar` varchar(50) NOT NULL DEFAULT '" + Config.getInstance().getMobHealthbarDefault() + "' ;");
break; break;
case USER_COLUMN:
mcMMO.p.getLogger().info("Updating mcMMO MySQL tables for user column name...");
write("ALTER TABLE `" + tablePrefix + "users` RENAME COLUMN `userr` to `user`;");
break;
default: default:
break; break;
} }

View File

@ -6,5 +6,4 @@ public enum DatabaseUpdateType {
INDEX, INDEX,
MOB_HEALTHBARS, MOB_HEALTHBARS,
PARTY_NAMES, PARTY_NAMES,
USER_COLUMN;
} }