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

Commit ef1cc891 authored by Vasu Nori's avatar Vasu Nori Committed by Android (Google) Code Review
Browse files

Merge "sqlite error "unsupported file format" = corruption"

parents bffa851f b339509d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -531,6 +531,7 @@ void throw_sqlite3_exception(JNIEnv* env, int errcode,
            exceptionClass = "android/database/sqlite/SQLiteDiskIOException";
            break;
        case SQLITE_CORRUPT:
        case SQLITE_NOTADB: // treat "unsupported file format" error as corruption also
            exceptionClass = "android/database/sqlite/SQLiteDatabaseCorruptException";
            break;
        case SQLITE_CONSTRAINT: