mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26: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.set(statement);
|
||||||
task.addBatch(statement);
|
task.addBatch(statement);
|
||||||
if (statement.isClosed()) {
|
try {
|
||||||
statement = null;
|
if (statement.isClosed()) {
|
||||||
}
|
statement = null;
|
||||||
|
}
|
||||||
|
} catch (AbstractMethodError ignore) {}
|
||||||
}
|
}
|
||||||
lastTask = task;
|
lastTask = task;
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user