Revert "sqlite: Upgrade to SQLite 3.19.3"
This causes Yahoo Finance to fail on opening with:
java.lang.IllegalArgumentException: column '_id' does not exist
at
android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333)
at
android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87)
Bug: 62431773
Test: App stops crashing
This reverts commit 1ea291d14f0cf30fd85f00307dbcb9991912ed2c.
diff --git a/dist/Android.patch b/dist/Android.patch
index 095b973..98b9f1f 100644
--- a/dist/Android.patch
+++ b/dist/Android.patch
@@ -1,6 +1,6 @@
diff -r -u -d orig/shell.c ./shell.c
---- orig/shell.c 2017-06-08 17:09:50.000000000 +0200
-+++ ./shell.c 2017-06-08 18:08:52.586798733 +0200
+--- orig/shell.c 2017-05-24 17:13:50.000000000 +0200
++++ ./shell.c 2017-05-24 19:24:05.290434785 +0200
@@ -52,6 +52,12 @@
#endif
#include <ctype.h>
@@ -38,8 +38,8 @@
}
diff -r -u -d orig/sqlite3.c ./sqlite3.c
---- orig/sqlite3.c 2017-06-08 17:09:50.000000000 +0200
-+++ ./sqlite3.c 2017-06-08 18:08:52.641797754 +0200
+--- orig/sqlite3.c 2017-05-24 17:13:50.000000000 +0200
++++ ./sqlite3.c 2017-05-24 19:24:05.339433935 +0200
@@ -33542,7 +33542,7 @@
SimulateIOError( rc=1 );
if( rc!=0 ){
@@ -67,7 +67,7 @@
goto shm_open_err;
}
-@@ -115934,7 +115934,7 @@
+@@ -115926,7 +115926,7 @@
}
if( pDb->pSchema->file_format>SQLITE_MAX_FILE_FORMAT ){
sqlite3SetString(pzErrMsg, db, "unsupported file format");
@@ -76,7 +76,7 @@
goto initone_error_out;
}
-@@ -149769,13 +149769,25 @@
+@@ -149753,13 +149753,25 @@
** module with sqlite.
*/
if( SQLITE_OK==rc