Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb3803a3 authored by Vasu Nori's avatar Vasu Nori
Browse files

a dbobject is closed twice and that causes incorrect warnings

parent c11f9d33
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1542,7 +1542,6 @@ public class SQLiteDatabase extends SQLiteClosable {
                }
            }
            statement.execute();
            statement.close();
            return lastChangeCount();
        } catch (SQLiteDatabaseCorruptException e) {
            onCorruption();
@@ -1638,7 +1637,6 @@ public class SQLiteDatabase extends SQLiteClosable {

            // Run the program and then cleanup
            statement.execute();
            statement.close();
            int numChangedRows = lastChangeCount();
            if (Config.LOGD && Log.isLoggable(TAG, Log.VERBOSE)) {
                Log.v(TAG, "Updated " + numChangedRows + " using " + values + " and " + sql);