move some android code out of sqlite3.c
do this check in android_database_SQLiteDatabase.cpp
so that we have less of android-specific code in sqlite3.c
Change-Id: I334286a1a377b962b1a97dd2af00e194f035090e
diff --git a/dist/sqlite3.c b/dist/sqlite3.c
index 076c66a..cc77c23 100644
--- a/dist/sqlite3.c
+++ b/dist/sqlite3.c
@@ -40101,12 +40101,6 @@
page1_init_failed:
releasePage(pPage1);
pBt->pPage1 = 0;
- // Begin Android-add
- if (rc == SQLITE_NOTADB) {
- // the file-header is bad. assume that it got corrupted and return "corruption error"
- rc = SQLITE_CORRUPT_BKPT;
- }
- // End Android-add
return rc;
}