You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems harmless, but with SQLite, calling closeReading fails and throws and exception in the logs as the database connection is already closed.
// always commit before close to finish cursors/transactions
if (!readConnection.getAutoCommit()) {
readConnection.commit();
}
if (!readConnection.isClosed()) {
readConnection.close();
}
It seems like the test should be:
// always commit before close to finish cursors/transactions
if (!readConnection.isClosed() && !readConnection.getAutoCommit()) {
readConnection.commit();
}
if (!readConnection.isClosed()) {
readConnection.close();
}
The text was updated successfully, but these errors were encountered:
It seems harmless, but with SQLite, calling closeReading fails and throws and exception in the logs as the database connection is already closed.
It seems like the test should be:
The text was updated successfully, but these errors were encountered: