summaryrefslogtreecommitdiff
path: root/dist/Android.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Android.patch')
-rw-r--r--dist/Android.patch28
1 files changed, 14 insertions, 14 deletions
diff --git a/dist/Android.patch b/dist/Android.patch
index 425e07f..074af39 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 2019-04-16 13:06:10.000000000 -0700
-+++ ./shell.c 2019-05-14 17:16:55.033052600 -0700
+--- orig/shell.c 2019-07-10 11:07:00.000000000 -0700
++++ ./shell.c 2019-07-14 13:48:26.498556296 -0700
@@ -87,6 +87,12 @@
#endif
#include <ctype.h>
@@ -14,7 +14,7 @@ diff -r -u -d orig/shell.c ./shell.c
#if !defined(_WIN32) && !defined(WIN32)
# include <signal.h>
-@@ -11698,6 +11704,23 @@
+@@ -12702,6 +12708,23 @@
sqlite3_create_function(p->db, "edit", 2, SQLITE_UTF8, 0,
editFunc, 0, 0);
#endif
@@ -39,9 +39,9 @@ diff -r -u -d orig/shell.c ./shell.c
char *zSql = sqlite3_mprintf(
"CREATE VIRTUAL TABLE zip USING zipfile(%Q);", p->zDbFilename);
diff -r -u -d orig/sqlite3.c ./sqlite3.c
---- orig/sqlite3.c 2019-04-16 13:06:10.000000000 -0700
-+++ ./sqlite3.c 2019-05-14 17:16:55.146387904 -0700
-@@ -36310,7 +36310,7 @@
+--- orig/sqlite3.c 2019-07-10 11:07:00.000000000 -0700
++++ ./sqlite3.c 2019-07-14 13:48:26.571891200 -0700
+@@ -36374,7 +36374,7 @@
SimulateIOError( rc=1 );
if( rc!=0 ){
storeLastErrno((unixFile*)id, errno);
@@ -50,7 +50,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
}
*pSize = buf.st_size;
-@@ -36346,7 +36346,7 @@
+@@ -36410,7 +36410,7 @@
struct stat buf; /* Used to hold return values of fstat() */
if( osFstat(pFile->h, &buf) ){
@@ -59,7 +59,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
}
nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
-@@ -37032,7 +37032,7 @@
+@@ -37096,7 +37096,7 @@
** with the same permissions.
*/
if( osFstat(pDbFd->h, &sStat) ){
@@ -68,7 +68,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
goto shm_open_err;
}
-@@ -54203,15 +54203,9 @@
+@@ -54268,15 +54268,9 @@
unsigned pgFlags /* Various flags */
){
unsigned level = pgFlags & PAGER_SYNCHRONOUS_MASK;
@@ -87,7 +87,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
if( pPager->noSync ){
pPager->syncFlags = 0;
}else if( pgFlags & PAGER_FULLFSYNC ){
-@@ -55570,18 +55564,11 @@
+@@ -55635,18 +55629,11 @@
pPager->memDb = (u8)memDb;
pPager->readOnly = (u8)readOnly;
assert( useJournal || pPager->tempFile );
@@ -111,7 +111,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
/* pPager->pFirst = 0; */
/* pPager->pFirstSynced = 0; */
/* pPager->pLast = 0; */
-@@ -106114,7 +106101,7 @@
+@@ -106558,7 +106545,7 @@
#endif
sqlite3BtreeLeave(pNew->pBt);
}
@@ -120,7 +120,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
if( rc==SQLITE_OK && pNew->zDbSName==0 ){
rc = SQLITE_NOMEM_BKPT;
}
-@@ -123984,7 +123971,7 @@
+@@ -124505,7 +124492,7 @@
}
if( pDb->pSchema->file_format>SQLITE_MAX_FILE_FORMAT ){
sqlite3SetString(pzErrMsg, db, "unsupported file format");
@@ -129,7 +129,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
goto initone_error_out;
}
-@@ -157804,7 +157791,7 @@
+@@ -158412,7 +158399,7 @@
** database it is OFF. This matches the pager layer defaults.
*/
db->aDb[0].zDbSName = "main";
@@ -138,7 +138,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
db->aDb[1].zDbSName = "temp";
db->aDb[1].safety_level = PAGER_SYNCHRONOUS_OFF;
-@@ -164271,13 +164258,25 @@
+@@ -164895,13 +164882,25 @@
** module with sqlite.
*/
if( SQLITE_OK==rc