mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
Ignore unsupported statement isClosed
This commit is contained in:
parent
1cd30b84d5
commit
5b18b918a9
@ -359,9 +359,11 @@ public class SQLManager implements AbstractDB {
|
||||
}
|
||||
task.set(statement);
|
||||
task.addBatch(statement);
|
||||
if (statement.isClosed()) {
|
||||
statement = null;
|
||||
}
|
||||
try {
|
||||
if (statement.isClosed()) {
|
||||
statement = null;
|
||||
}
|
||||
} catch (AbstractMethodError ignore) {}
|
||||
}
|
||||
lastTask = task;
|
||||
} catch (Throwable e) {
|
||||
|
Loading…
Reference in New Issue
Block a user