This commit is contained in:
boy0001 2015-04-11 14:07:19 +10:00
parent 6ec4668177
commit 09424c30b4
5 changed files with 13 additions and 6 deletions

View file

@ -584,9 +584,9 @@ public class SQLManager implements AbstractDB {
public void updateTables() {
try {
final DatabaseMetaData data = this.connection.getMetaData();
ResultSet rs = data.getColumns(null, null, this.prefix + "plot_comments", "plot");
ResultSet rs = data.getColumns(null, null, this.prefix + "plot_comments", "plot_plot_id");
if (rs.next()) {
rs = data.getColumns(null, null, this.prefix + "plot_comments", "hashcode");
rs = data.getColumns(null, null, this.prefix + "plot_comments", "hashcode");
if (!rs.next()) {
rs.close();
final Statement statement = this.connection.createStatement();