8000 Add SQLite 3.32.2 for CPython (#20) · python/cpython-source-deps@ba0c59b · GitHub
[go: up one dir, main page]

Skip to content

Commit ba0c59b

Browse files
author
Erlend Egeberg Aasland
authored
Add SQLite 3.32.2 for CPython (#20)
1 parent 5a455e5 commit ba0c59b

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

sqlite3.c

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/******************************************************************************
22
** This file is an amalgamation of many separate C source files from SQLite
3-
** version 3.32.1. By combining all the individual C code files into this
3+
** version 3.32.2. By combining all the individual C code files into this
44
** single large file, the entire code can be compiled as a single translation
55
** unit. This allows many compilers to do optimizations that would not be
66
** possible if the files were compiled separately. Performance improvements
@@ -1162,9 +1162,9 @@ extern "C" {
11621162
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
11631163
** [sqlite_version()] and [sqlite_source_id()].
11641164
*/
1165-
#define SQLITE_VERSION "3.32.1"
1166-
#define SQLITE_VERSION_NUMBER 3032001
1167-
#define SQLITE_SOURCE_ID "2020-05-25 16:19:56 0c1fcf4711a2e66c813aed38cf41cd3e2123ee8eb6db98118086764c4ba83350"
1165+
#define SQLITE_VERSION "3.32.2"
1166+
#define SQLITE_VERSION_NUMBER 3032002
1167+
#define SQLITE_SOURCE_ID "2020-06-04 12:58:43 ec02243ea6ce33b090870ae55ab8aa2534b54d216d45c4aa2fdbb00e86861e8c"
11681168

11691169
/*
11701170
** CAPI3REF: Run-Time Library Version Numbers
@@ -85820,6 +85820,8 @@ SQLITE_PRIVATE int sqlite3VdbeExec(
8582085820
goto no_mem;
8582185821
}
8582285822
assert( p->rc==SQLITE_OK || (p->rc&0xff)==SQLITE_BUSY );
85823+
testcase( p->rc!=SQLITE_OK );
85824+
p->rc = SQLITE_OK;
8582385825
assert( p->bIsReader || p->readOnly!=0 );
8582485826
p->iCurrentTime = 0;
8582585827
assert( p->explain==0 );
@@ -224822,7 +224824,7 @@ static void fts5SourceIdFunc(
224822224824
){
224823224825
assert( nArg==0 );
224824224826
UNUSED_PARAM2(nArg, apUnused);
224825-
sqlite3_result_text(pCtx, "fts5: 2020-05-25 16:19:56 0c1fcf4711a2e66c813aed38cf41cd3e2123ee8eb6db98118086764c4ba83350", -1, SQLITE_TRANSIENT);
224827+
sqlite3_result_text(pCtx, "fts5: 2020-06-04 12:58:43 ec02243ea6ce33b090870ae55ab8aa2534b54d216d45c4aa2fdbb00e86861e8c", -1, SQLITE_TRANSIENT);
224826224828
}
224827224829

224828224830
/*
@@ -229605,9 +229607,9 @@ SQLITE_API int sqlite3_stmt_init(
229605229607
#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_STMTVTAB) */
229606229608

229607229609
/************** End of stmt.c ************************************************/
229608-
#if __LINE__!=229608
229610+
#if __LINE__!=229610
229609229611
#undef SQLITE_SOURCE_ID
229610-
#define SQLITE_SOURCE_ID "2020-05-25 16:19:56 0c1fcf4711a2e66c813aed38cf41cd3e2123ee8eb6db98118086764c4ba8alt2"
229612+
#define SQLITE_SOURCE_ID "2020-06-04 12:58:43 ec02243ea6ce33b090870ae55ab8aa2534b54d216d45c4aa2fdbb00e8686alt2"
229611229613
#endif
229612229614
/* Return the source-id for this library */
229613229615
SQLITE_API const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; }

sqlite3.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ extern "C" {
123123
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
124124
** [sqlite_version()] and [sqlite_source_id()].
125125
*/
126-
#define SQLITE_VERSION "3.32.1"
127-
#define SQLITE_VERSION_NUMBER 3032001
128-
#define SQLITE_SOURCE_ID "2020-05-25 16:19:56 0c1fcf4711a2e66c813aed38cf41cd3e2123ee8eb6db98118086764c4ba83350"
126+
#define SQLITE_VERSION "3.32.2"
127+
#define SQLITE_VERSION_NUMBER 3032002
128+
#define SQLITE_SOURCE_ID "2020-06-04 12:58:43 ec02243ea6ce33b090870ae55ab8aa2534b54d216d45c4aa2fdbb00e86861e8c"
129129

130130
/*
131131
** CAPI3REF: Run-Time Library Version Numbers

0 commit comments

Comments
 (0)
0