Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
external_sqlite
Commits
1a7b1747
Commit
1a7b1747
authored
8 years ago
by
Treehugger Robot
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Download
Plain Diff
Merge "sqlite: upgrade to SQLite 3.16.2"
parents
daab8356
f6b82a31
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
247 additions
and
141 deletions
+247
-141
README.version
README.version
+2
-2
dist/Android.patch
dist/Android.patch
+7
-7
dist/orig/sqlite3.c
dist/orig/sqlite3.c
+110
-61
dist/orig/sqlite3.h
dist/orig/sqlite3.h
+9
-5
dist/sqlite3.c
dist/sqlite3.c
+110
-61
dist/sqlite3.h
dist/sqlite3.h
+9
-5
No files found.
README.version
View file @
1a7b1747
URL: https://sqlite.org/2017/sqlite-amalgamation-3160
1
00.zip
Version: 3.16.
1
URL: https://sqlite.org/2017/sqlite-amalgamation-3160
2
00.zip
Version: 3.16.
2
BugComponent: 24950
This diff is collapsed.
Click to expand it.
dist/Android.patch
View file @
1a7b1747
...
...
@@ -38,9 +38,9 @@ diff -r -u -d orig/shell.c ./shell.c
}
diff -r -u -d orig/sqlite3.c ./sqlite3.c
--- orig/sqlite3.c 2017-01-0
4 01:37:00.000000000
+0100
+++ ./sqlite3.c 2017-01-0
3 20:54:19.693330766
+0100
@@ -333
29
,7 +333
29
,7 @@
--- orig/sqlite3.c 2017-01-0
8 16:42:37.337827441
+0100
+++ ./sqlite3.c 2017-01-0
8 16:42:37.347827291
+0100
@@ -333
35
,7 +333
35
,7 @@
SimulateIOError( rc=1 );
if( rc!=0 ){
storeLastErrno((unixFile*)id, errno);
...
...
@@ -49,7 +49,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
}
*pSize = buf.st_size;
@@ -333
65
,7 +333
65
,7 @@
@@ -333
71
,7 +333
71
,7 @@
struct stat buf; /* Used to hold return values of fstat() */
if( osFstat(pFile->h, &buf) ){
...
...
@@ -58,7 +58,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
}
nSize = ((nByte+pFile->szChunk-1) / pFile->szChunk) * pFile->szChunk;
@@ -339
39
,7 +339
39
,7 @@
@@ -339
45
,7 +339
45
,7 @@
** with the same permissions.
*/
if( osFstat(pDbFd->h, &sStat) ){
...
...
@@ -67,7 +67,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
goto shm_open_err;
}
@@ -114
859
,7 +114
859
,7 @@
@@ -114
907
,7 +114
907
,7 @@
}
if( pDb->pSchema->file_format>SQLITE_MAX_FILE_FORMAT ){
sqlite3SetString(pzErrMsg, db, "unsupported file format");
...
...
@@ -76,7 +76,7 @@ diff -r -u -d orig/sqlite3.c ./sqlite3.c
goto initone_error_out;
}
@@ -148
199
,13 +148
199
,25 @@
@@ -148
247
,13 +148
247
,25 @@
** module with sqlite.
*/
if( SQLITE_OK==rc
...
...
This diff is collapsed.
Click to expand it.
dist/orig/sqlite3.c
View file @
1a7b1747
This diff is collapsed.
Click to expand it.
dist/orig/sqlite3.h
View file @
1a7b1747
...
...
@@ -121,9 +121,9 @@ extern "C" {
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
** [sqlite_version()] and [sqlite_source_id()].
*/
#define SQLITE_VERSION "3.16.
1
"
#define SQLITE_VERSION_NUMBER 301600
1
#define SQLITE_SOURCE_ID "2017-01-0
3
1
8:27:03 979f04392853b8053817a3eea2fc679947b437fd
"
#define SQLITE_VERSION "3.16.
2
"
#define SQLITE_VERSION_NUMBER 301600
2
#define SQLITE_SOURCE_ID "2017-01-0
6
1
6:32:41 a65a62893ca8319e89e48b8a38cf8a59c69a8209
"
/*
** CAPI3REF: Run-Time Library Version Numbers
...
...
@@ -3896,8 +3896,12 @@ SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt*);
** METHOD: sqlite3_stmt
**
** ^Return the number of columns in the result set returned by the
** [prepared statement]. ^This routine returns 0 if pStmt is an SQL
** statement that does not return data (for example an [UPDATE]).
** [prepared statement]. ^If this routine returns 0, that means the
** [prepared statement] returns no data (for example an [UPDATE]).
** ^However, just because this routine returns a positive number does not
** mean that one or more rows of data will be returned. ^A SELECT statement
** will always have a positive sqlite3_column_count() but depending on the
** WHERE clause constraints and the table content, it might return no rows.
**
** See also: [sqlite3_data_count()]
*/
...
...
This diff is collapsed.
Click to expand it.
dist/sqlite3.c
View file @
1a7b1747
This diff is collapsed.
Click to expand it.
dist/sqlite3.h
View file @
1a7b1747
...
...
@@ -121,9 +121,9 @@ extern "C" {
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
** [sqlite_version()] and [sqlite_source_id()].
*/
#define SQLITE_VERSION "3.16.
1
"
#define SQLITE_VERSION_NUMBER 301600
1
#define SQLITE_SOURCE_ID "2017-01-0
3
1
8:27:03 979f04392853b8053817a3eea2fc679947b437fd
"
#define SQLITE_VERSION "3.16.
2
"
#define SQLITE_VERSION_NUMBER 301600
2
#define SQLITE_SOURCE_ID "2017-01-0
6
1
6:32:41 a65a62893ca8319e89e48b8a38cf8a59c69a8209
"
/*
** CAPI3REF: Run-Time Library Version Numbers
...
...
@@ -3896,8 +3896,12 @@ SQLITE_API int sqlite3_clear_bindings(sqlite3_stmt*);
** METHOD: sqlite3_stmt
**
** ^Return the number of columns in the result set returned by the
** [prepared statement]. ^This routine returns 0 if pStmt is an SQL
** statement that does not return data (for example an [UPDATE]).
** [prepared statement]. ^If this routine returns 0, that means the
** [prepared statement] returns no data (for example an [UPDATE]).
** ^However, just because this routine returns a positive number does not
** mean that one or more rows of data will be returned. ^A SELECT statement
** will always have a positive sqlite3_column_count() but depending on the
** WHERE clause constraints and the table content, it might return no rows.
**
** See also: [sqlite3_data_count()]
*/
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment