sqlite: upgrade to SQLite 3.15.2

Downloaded from https://www.sqlite.org/2016/sqlite-amalgamation-3150200.zip

    $ sha256sum sqlite-amalgamation-3150200.zip
    37e4bffc5568434267617a83671e0b9b39bbcb3732fd75cbcbce250cbd5fd091  sqlite-amalgamation-3150200.zip

dist/orig contains the stock sqlite3 code, as packaged in the ZIP file above.

dist contains a copy of dist/orig, but with the Android.patch file applied.
Please see Android.patch for a list of differences between stock and
Android.

The Android specific patch applied cleanly
and was regenerated.

This minor release contains bug fixes.

More details about the release is avaliable here: https://sqlite.org/releaselog/3_15_2.html

Change-Id: I684208e2b2ab41cf6edd97ed719e9c9db3f7edeb
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
diff --git a/dist/Android.patch b/dist/Android.patch
index e4ed6a4..acd7078 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	2016-11-04 19:21:18.000000000 +0100
-+++ ./shell.c	2016-11-05 15:37:30.041914978 +0100
+--- orig/shell.c	2016-11-29 04:29:24.000000000 +0900
++++ ./shell.c	2016-12-06 00:58:36.768702411 +0900
 @@ -52,6 +52,12 @@
  #endif
  #include <ctype.h>
@@ -38,8 +38,8 @@
  }
  
 diff -r -u -d orig/sqlite3.c ./sqlite3.c
---- orig/sqlite3.c	2016-11-04 19:21:18.000000000 +0100
-+++ ./sqlite3.c	2016-11-05 15:37:30.071914348 +0100
+--- orig/sqlite3.c	2016-11-29 04:29:24.000000000 +0900
++++ ./sqlite3.c	2016-12-06 00:58:36.787701965 +0900
 @@ -33035,7 +33035,7 @@
    SimulateIOError( rc=1 );
    if( rc!=0 ){
@@ -67,7 +67,7 @@
        goto shm_open_err;
      }
  
-@@ -113786,7 +113786,7 @@
+@@ -113802,7 +113802,7 @@
    }
    if( pDb->pSchema->file_format>SQLITE_MAX_FILE_FORMAT ){
      sqlite3SetString(pzErrMsg, db, "unsupported file format");
@@ -76,7 +76,7 @@
      goto initone_error_out;
    }
  
-@@ -147039,13 +147039,25 @@
+@@ -147060,13 +147060,25 @@
    ** module with sqlite.
    */
    if( SQLITE_OK==rc