Fix clearlog table
This commit is contained in:
1 parent
8b71a8a62b
commit
cfea33e1fd
1 file changed
+1
-1
@@ -834,7 +834,7 @@ public class CommandsHandler implements CommandExecutor {
|
||||
return;
|
||||
}
|
||||
}
|
||||
state.execute("DELETE `" + table + "` FROM `" + table + "-blocks` " + join + params.getWhere());
|
||||
state.execute("DELETE `" + table + "-blocks` FROM `" + table + "-blocks` " + join + params.getWhere());
|
||||
sender.sendMessage(ChatColor.GREEN + "Cleared out table " + table + ". Deleted " + deleted + " entries.");
|
||||
}
|
||||
rs = state.executeQuery("SELECT COUNT(*) FROM `" + table + "-state` LEFT JOIN `" + table + "-blocks` USING (id) WHERE `" + table + "-blocks`.id IS NULL");
|
||||
|
||||
Reference in new issue
Block a user