Skip to content

Commit 748761b

Browse files
committed
Update to SQLite 3.32.2
1 parent a8cb6d9 commit 748761b

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

c/sqlite3.c

+14-11
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 );
@@ -128972,9 +128974,9 @@ SQLITE_PRIVATE Select *sqlite3SelectNew(
128972128974
u32 selFlags, /* Flag parameters, such as SF_Distinct */
128973128975
Expr *pLimit /* LIMIT value. NULL means not used */
128974128976
){
128975-
Select *pNew, *pAllocated;
128977+
Select *pNew;
128976128978
Select standin;
128977-
pAllocated = pNew = sqlite3DbMallocRawNN(pParse->db, sizeof(*pNew) );
128979+
pNew = sqlite3DbMallocRawNN(pParse->db, sizeof(*pNew) );
128978128980
if( pNew==0 ){
128979128981
assert( pParse->db->mallocFailed );
128980128982
pNew = &standin;
@@ -129008,11 +129010,12 @@ SQLITE_PRIVATE Select *sqlite3SelectNew(
129008129010
#endif
129009129011
if( pParse->db->mallocFailed ) {
129010129012
clearSelect(pParse->db, pNew, pNew!=&standin);
129011-
pAllocated = 0;
129013+
pNew = 0;
129012129014
}else{
129013129015
assert( pNew->pSrc!=0 || pParse->nErr>0 );
129014129016
}
129015-
return pAllocated;
129017+
assert( pNew!=&standin );
129018+
return pNew;
129016129019
}
129017129020

129018129021

@@ -224821,7 +224824,7 @@ static void fts5SourceIdFunc(
224821224824
){
224822224825
assert( nArg==0 );
224823224826
UNUSED_PARAM2(nArg, apUnused);
224824-
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);
224825224828
}
224826224829

224827224830
/*
@@ -229604,9 +229607,9 @@ SQLITE_API int sqlite3_stmt_init(
229604229607
#endif /* !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_STMTVTAB) */
229605229608

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

sqlite3.h

+3-3
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)