better-sqlite3-multiple-ciphers 7.5.2-beta.0 → 7.5.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/deps/setup.ps1 +1 -1
- package/deps/sqlite3/sqlite3.c +102 -38
- package/deps/sqlite3/sqlite3.h +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,14 +19,14 @@ The fastest and simplest library for SQLite3 in Node.js. This particular fork su
|
|
|
19
19
|
- ### Stable
|
|
20
20
|
- **better-sqlite3-multiple-ciphers** - [`7.5.1`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v7.5.1)
|
|
21
21
|
- **better-sqlite3** - [`7.5.1`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v7.5.1)
|
|
22
|
-
- **SQLite** - [`3.38.2`](https://www.sqlite.org/
|
|
22
|
+
- **SQLite** - [`3.38.2`](https://www.sqlite.org/releaselog/3_38_2.html)
|
|
23
23
|
- **SQLite3 Multiple Ciphers** - [`1.3.10`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.3.10)
|
|
24
24
|
|
|
25
25
|
- ### Beta
|
|
26
|
-
- **better-sqlite3-multiple-ciphers** - [`7.5.2-beta.
|
|
26
|
+
- **better-sqlite3-multiple-ciphers** - [`7.5.2-beta.1`](https://github.com/m4heshd/better-sqlite3-multiple-ciphers/releases/tag/v7.5.2-beta.1)
|
|
27
27
|
- **better-sqlite3** - [`7.5.1`](https://github.com/JoshuaWise/better-sqlite3/releases/tag/v7.5.1)
|
|
28
|
-
- **SQLite** - [`3.38.
|
|
29
|
-
- **SQLite3 Multiple Ciphers** - [`1.4.
|
|
28
|
+
- **SQLite** - [`3.38.3`](https://www.sqlite.org/releaselog/3_38_3.html)
|
|
29
|
+
- **SQLite3 Multiple Ciphers** - [`1.4.2`](https://github.com/utelle/SQLite3MultipleCiphers/releases/tag/v1.4.2)
|
|
30
30
|
|
|
31
31
|
## Help this project stay strong! 💪
|
|
32
32
|
|
package/deps/setup.ps1
CHANGED
package/deps/sqlite3/sqlite3.c
CHANGED
|
@@ -92,7 +92,7 @@ extern SQLITE_API LPWSTR sqlite3_win32_utf8_to_unicode(const char*);
|
|
|
92
92
|
/*** Begin of #include "sqlite3patched.c" ***/
|
|
93
93
|
/******************************************************************************
|
|
94
94
|
** This file is an amalgamation of many separate C source files from SQLite
|
|
95
|
-
** version 3.38.
|
|
95
|
+
** version 3.38.3. By combining all the individual C code files into this
|
|
96
96
|
** single large file, the entire code can be compiled as a single translation
|
|
97
97
|
** unit. This allows many compilers to do optimizations that would not be
|
|
98
98
|
** possible if the files were compiled separately. Performance improvements
|
|
@@ -544,9 +544,9 @@ extern "C" {
|
|
|
544
544
|
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
|
545
545
|
** [sqlite_version()] and [sqlite_source_id()].
|
|
546
546
|
*/
|
|
547
|
-
#define SQLITE_VERSION "3.38.
|
|
548
|
-
#define SQLITE_VERSION_NUMBER
|
|
549
|
-
#define SQLITE_SOURCE_ID "2022-
|
|
547
|
+
#define SQLITE_VERSION "3.38.3"
|
|
548
|
+
#define SQLITE_VERSION_NUMBER 3038003
|
|
549
|
+
#define SQLITE_SOURCE_ID "2022-04-27 12:03:15 9547e2c38a1c6f751a77d4d796894dec4dc5d8f5d79b1cd39e1ffc50df7b3be4"
|
|
550
550
|
|
|
551
551
|
/*
|
|
552
552
|
** CAPI3REF: Run-Time Library Version Numbers
|
|
@@ -20028,6 +20028,7 @@ SQLITE_PRIVATE int sqlite3ExprIsConstantNotJoin(Expr*);
|
|
|
20028
20028
|
SQLITE_PRIVATE int sqlite3ExprIsConstantOrFunction(Expr*, u8);
|
|
20029
20029
|
SQLITE_PRIVATE int sqlite3ExprIsConstantOrGroupBy(Parse*, Expr*, ExprList*);
|
|
20030
20030
|
SQLITE_PRIVATE int sqlite3ExprIsTableConstant(Expr*,int);
|
|
20031
|
+
SQLITE_PRIVATE int sqlite3ExprIsTableConstraint(Expr*,const SrcItem*);
|
|
20031
20032
|
#ifdef SQLITE_ENABLE_CURSOR_HINTS
|
|
20032
20033
|
SQLITE_PRIVATE int sqlite3ExprContainsSubquery(Expr*);
|
|
20033
20034
|
#endif
|
|
@@ -29436,8 +29437,9 @@ SQLITE_PRIVATE char *sqlite3DbSpanDup(sqlite3 *db, const char *zStart, const cha
|
|
|
29436
29437
|
** Free any prior content in *pz and replace it with a copy of zNew.
|
|
29437
29438
|
*/
|
|
29438
29439
|
SQLITE_PRIVATE void sqlite3SetString(char **pz, sqlite3 *db, const char *zNew){
|
|
29440
|
+
char *z = sqlite3DbStrDup(db, zNew);
|
|
29439
29441
|
sqlite3DbFree(db, *pz);
|
|
29440
|
-
*pz =
|
|
29442
|
+
*pz = z;
|
|
29441
29443
|
}
|
|
29442
29444
|
|
|
29443
29445
|
/*
|
|
@@ -67863,6 +67865,8 @@ static u8 *pageFindSlot(MemPage *pPg, int nByte, int *pRc){
|
|
|
67863
67865
|
** fragmented bytes within the page. */
|
|
67864
67866
|
memcpy(&aData[iAddr], &aData[pc], 2);
|
|
67865
67867
|
aData[hdr+7] += (u8)x;
|
|
67868
|
+
testcase( pc+x>maxPC );
|
|
67869
|
+
return &aData[pc];
|
|
67866
67870
|
}else if( x+pc > maxPC ){
|
|
67867
67871
|
/* This slot extends off the end of the usable part of the page */
|
|
67868
67872
|
*pRc = SQLITE_CORRUPT_PAGE(pPg);
|
|
@@ -72062,7 +72066,7 @@ SQLITE_PRIVATE int sqlite3BtreeIndexMoveto(
|
|
|
72062
72066
|
assert( lwr==upr+1 || (pPage->intKey && !pPage->leaf) );
|
|
72063
72067
|
assert( pPage->isInit );
|
|
72064
72068
|
if( pPage->leaf ){
|
|
72065
|
-
assert( pCur->ix<pCur->pPage->nCell );
|
|
72069
|
+
assert( pCur->ix<pCur->pPage->nCell || CORRUPT_DB );
|
|
72066
72070
|
pCur->ix = (u16)idx;
|
|
72067
72071
|
*pRes = c;
|
|
72068
72072
|
rc = SQLITE_OK;
|
|
@@ -74586,7 +74590,7 @@ static int balance_nonroot(
|
|
|
74586
74590
|
iOvflSpace += sz;
|
|
74587
74591
|
assert( sz<=pBt->maxLocal+23 );
|
|
74588
74592
|
assert( iOvflSpace <= (int)pBt->pageSize );
|
|
74589
|
-
for(k=0; b.ixNx[k]<=
|
|
74593
|
+
for(k=0; b.ixNx[k]<=j && ALWAYS(k<NB*2); k++){}
|
|
74590
74594
|
pSrcEnd = b.apEnd[k];
|
|
74591
74595
|
if( SQLITE_WITHIN(pSrcEnd, pCell, pCell+sz) ){
|
|
74592
74596
|
rc = SQLITE_CORRUPT_BKPT;
|
|
@@ -78151,7 +78155,11 @@ SQLITE_PRIVATE int sqlite3VdbeChangeEncoding(Mem *pMem, int desiredEnc){
|
|
|
78151
78155
|
assert( !sqlite3VdbeMemIsRowSet(pMem) );
|
|
78152
78156
|
assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE
|
|
78153
78157
|
|| desiredEnc==SQLITE_UTF16BE );
|
|
78154
|
-
if( !(pMem->flags&MEM_Str)
|
|
78158
|
+
if( !(pMem->flags&MEM_Str) ){
|
|
78159
|
+
pMem->enc = desiredEnc;
|
|
78160
|
+
return SQLITE_OK;
|
|
78161
|
+
}
|
|
78162
|
+
if( pMem->enc==desiredEnc ){
|
|
78155
78163
|
return SQLITE_OK;
|
|
78156
78164
|
}
|
|
78157
78165
|
assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) );
|
|
@@ -104858,6 +104866,38 @@ SQLITE_PRIVATE int sqlite3ExprIsTableConstant(Expr *p, int iCur){
|
|
|
104858
104866
|
return exprIsConst(p, 3, iCur);
|
|
104859
104867
|
}
|
|
104860
104868
|
|
|
104869
|
+
/*
|
|
104870
|
+
** Check pExpr to see if it is an invariant constraint on data source pSrc.
|
|
104871
|
+
** This is an optimization. False negatives will perhaps cause slower
|
|
104872
|
+
** queries, but false positives will yield incorrect answers. So when in
|
|
104873
|
+
** double, return 0.
|
|
104874
|
+
**
|
|
104875
|
+
** To be an invariant constraint, the following must be true:
|
|
104876
|
+
**
|
|
104877
|
+
** (1) pExpr cannot refer to any table other than pSrc->iCursor.
|
|
104878
|
+
**
|
|
104879
|
+
** (2) pExpr cannot use subqueries or non-deterministic functions.
|
|
104880
|
+
**
|
|
104881
|
+
** (*) ** Not applicable to this branch **
|
|
104882
|
+
**
|
|
104883
|
+
** (4) If pSrc is the right operand of a LEFT JOIN, then...
|
|
104884
|
+
** (4a) pExpr must come from an ON clause..
|
|
104885
|
+
** (4b) and specifically the ON clause associated with the LEFT JOIN.
|
|
104886
|
+
**
|
|
104887
|
+
** (5) If pSrc is not the right operand of a LEFT JOIN or the left
|
|
104888
|
+
** operand of a RIGHT JOIN, then pExpr must be from the WHERE
|
|
104889
|
+
** clause, not an ON clause.
|
|
104890
|
+
*/
|
|
104891
|
+
SQLITE_PRIVATE int sqlite3ExprIsTableConstraint(Expr *pExpr, const SrcItem *pSrc){
|
|
104892
|
+
if( pSrc->fg.jointype & JT_LEFT ){
|
|
104893
|
+
if( !ExprHasProperty(pExpr, EP_FromJoin) ) return 0; /* rule (4a) */
|
|
104894
|
+
if( pExpr->w.iRightJoinTable!=pSrc->iCursor ) return 0; /* rule (4b) */
|
|
104895
|
+
}else{
|
|
104896
|
+
if( ExprHasProperty(pExpr, EP_FromJoin) ) return 0; /* rule (5) */
|
|
104897
|
+
}
|
|
104898
|
+
return sqlite3ExprIsTableConstant(pExpr, pSrc->iCursor); /* rules (1), (2) */
|
|
104899
|
+
}
|
|
104900
|
+
|
|
104861
104901
|
|
|
104862
104902
|
/*
|
|
104863
104903
|
** sqlite3WalkExpr() callback used by sqlite3ExprIsConstantOrGroupBy().
|
|
@@ -139146,8 +139186,7 @@ static int pushDownWhereTerms(
|
|
|
139146
139186
|
Parse *pParse, /* Parse context (for malloc() and error reporting) */
|
|
139147
139187
|
Select *pSubq, /* The subquery whose WHERE clause is to be augmented */
|
|
139148
139188
|
Expr *pWhere, /* The WHERE clause of the outer query */
|
|
139149
|
-
|
|
139150
|
-
int isLeftJoin /* True if pSubq is the right term of a LEFT JOIN */
|
|
139189
|
+
SrcItem *pSrc /* The subquery term of the outer FROM clause */
|
|
139151
139190
|
){
|
|
139152
139191
|
Expr *pNew;
|
|
139153
139192
|
int nChng = 0;
|
|
@@ -139182,10 +139221,11 @@ static int pushDownWhereTerms(
|
|
|
139182
139221
|
return 0; /* restriction (3) */
|
|
139183
139222
|
}
|
|
139184
139223
|
while( pWhere->op==TK_AND ){
|
|
139185
|
-
nChng += pushDownWhereTerms(pParse, pSubq, pWhere->pRight,
|
|
139186
|
-
iCursor, isLeftJoin);
|
|
139224
|
+
nChng += pushDownWhereTerms(pParse, pSubq, pWhere->pRight, pSrc);
|
|
139187
139225
|
pWhere = pWhere->pLeft;
|
|
139188
139226
|
}
|
|
139227
|
+
|
|
139228
|
+
#if 0 /* Legacy code. Checks now done by sqlite3ExprIsTableConstraint() */
|
|
139189
139229
|
if( isLeftJoin
|
|
139190
139230
|
&& (ExprHasProperty(pWhere,EP_FromJoin)==0
|
|
139191
139231
|
|| pWhere->w.iRightJoinTable!=iCursor)
|
|
@@ -139197,7 +139237,9 @@ static int pushDownWhereTerms(
|
|
|
139197
139237
|
){
|
|
139198
139238
|
return 0; /* restriction (5) */
|
|
139199
139239
|
}
|
|
139200
|
-
|
|
139240
|
+
#endif
|
|
139241
|
+
|
|
139242
|
+
if( sqlite3ExprIsTableConstraint(pWhere, pSrc) ){
|
|
139201
139243
|
nChng++;
|
|
139202
139244
|
pSubq->selFlags |= SF_PushDown;
|
|
139203
139245
|
while( pSubq ){
|
|
@@ -139205,8 +139247,8 @@ static int pushDownWhereTerms(
|
|
|
139205
139247
|
pNew = sqlite3ExprDup(pParse->db, pWhere, 0);
|
|
139206
139248
|
unsetJoinExpr(pNew, -1);
|
|
139207
139249
|
x.pParse = pParse;
|
|
139208
|
-
x.iTable = iCursor;
|
|
139209
|
-
x.iNewTable = iCursor;
|
|
139250
|
+
x.iTable = pSrc->iCursor;
|
|
139251
|
+
x.iNewTable = pSrc->iCursor;
|
|
139210
139252
|
x.isLeftJoin = 0;
|
|
139211
139253
|
x.pEList = pSubq->pEList;
|
|
139212
139254
|
pNew = substExpr(&x, pNew);
|
|
@@ -140988,8 +141030,7 @@ SQLITE_PRIVATE int sqlite3Select(
|
|
|
140988
141030
|
if( OptimizationEnabled(db, SQLITE_PushDown)
|
|
140989
141031
|
&& (pItem->fg.isCte==0
|
|
140990
141032
|
|| (pItem->u2.pCteUse->eM10d!=M10d_Yes && pItem->u2.pCteUse->nUse<2))
|
|
140991
|
-
&& pushDownWhereTerms(pParse, pSub, p->pWhere, pItem
|
|
140992
|
-
(pItem->fg.jointype & JT_OUTER)!=0)
|
|
141033
|
+
&& pushDownWhereTerms(pParse, pSub, p->pWhere, pItem)
|
|
140993
141034
|
){
|
|
140994
141035
|
#if SELECTTRACE_ENABLED
|
|
140995
141036
|
if( sqlite3SelectTrace & 0x100 ){
|
|
@@ -152914,8 +152955,7 @@ static SQLITE_NOINLINE void constructAutomaticIndex(
|
|
|
152914
152955
|
** WHERE clause (or the ON clause of a LEFT join) that constrain which
|
|
152915
152956
|
** rows of the target table (pSrc) that can be used. */
|
|
152916
152957
|
if( (pTerm->wtFlags & TERM_VIRTUAL)==0
|
|
152917
|
-
&& (
|
|
152918
|
-
&& sqlite3ExprIsTableConstant(pExpr, pSrc->iCursor)
|
|
152958
|
+
&& sqlite3ExprIsTableConstraint(pExpr, pSrc)
|
|
152919
152959
|
){
|
|
152920
152960
|
pPartial = sqlite3ExprAnd(pParse, pPartial,
|
|
152921
152961
|
sqlite3ExprDup(pParse->db, pExpr, 0));
|
|
@@ -153154,7 +153194,7 @@ static SQLITE_NOINLINE void sqlite3ConstructBloomFilter(
|
|
|
153154
153194
|
for(pTerm=pWInfo->sWC.a; pTerm<pWCEnd; pTerm++){
|
|
153155
153195
|
Expr *pExpr = pTerm->pExpr;
|
|
153156
153196
|
if( (pTerm->wtFlags & TERM_VIRTUAL)==0
|
|
153157
|
-
&&
|
|
153197
|
+
&& sqlite3ExprIsTableConstraint(pExpr, pItem)
|
|
153158
153198
|
){
|
|
153159
153199
|
sqlite3ExprIfFalse(pParse, pTerm->pExpr, addrCont, SQLITE_JUMPIFNULL);
|
|
153160
153200
|
}
|
|
@@ -160074,7 +160114,7 @@ static void windowAggStep(
|
|
|
160074
160114
|
|
|
160075
160115
|
for(iEnd=sqlite3VdbeCurrentAddr(v); iOp<iEnd; iOp++){
|
|
160076
160116
|
VdbeOp *pOp = sqlite3VdbeGetOp(v, iOp);
|
|
160077
|
-
if( pOp->opcode==OP_Column && pOp->p1==
|
|
160117
|
+
if( pOp->opcode==OP_Column && pOp->p1==pMWin->iEphCsr ){
|
|
160078
160118
|
pOp->p1 = csr;
|
|
160079
160119
|
}
|
|
160080
160120
|
}
|
|
@@ -194397,14 +194437,15 @@ static JsonNode *jsonLookupStep(
|
|
|
194397
194437
|
*pzErr = zPath;
|
|
194398
194438
|
return 0;
|
|
194399
194439
|
}
|
|
194440
|
+
testcase( nKey==0 );
|
|
194400
194441
|
}else{
|
|
194401
194442
|
zKey = zPath;
|
|
194402
194443
|
for(i=0; zPath[i] && zPath[i]!='.' && zPath[i]!='['; i++){}
|
|
194403
194444
|
nKey = i;
|
|
194404
|
-
|
|
194405
|
-
|
|
194406
|
-
|
|
194407
|
-
|
|
194445
|
+
if( nKey==0 ){
|
|
194446
|
+
*pzErr = zPath;
|
|
194447
|
+
return 0;
|
|
194448
|
+
}
|
|
194408
194449
|
}
|
|
194409
194450
|
j = 1;
|
|
194410
194451
|
for(;;){
|
|
@@ -195552,6 +195593,33 @@ static int jsonEachNext(sqlite3_vtab_cursor *cur){
|
|
|
195552
195593
|
return SQLITE_OK;
|
|
195553
195594
|
}
|
|
195554
195595
|
|
|
195596
|
+
/* Append an object label to the JSON Path being constructed
|
|
195597
|
+
** in pStr.
|
|
195598
|
+
*/
|
|
195599
|
+
static void jsonAppendObjectPathElement(
|
|
195600
|
+
JsonString *pStr,
|
|
195601
|
+
JsonNode *pNode
|
|
195602
|
+
){
|
|
195603
|
+
int jj, nn;
|
|
195604
|
+
const char *z;
|
|
195605
|
+
assert( pNode->eType==JSON_STRING );
|
|
195606
|
+
assert( pNode->jnFlags & JNODE_LABEL );
|
|
195607
|
+
assert( pNode->eU==1 );
|
|
195608
|
+
z = pNode->u.zJContent;
|
|
195609
|
+
nn = pNode->n;
|
|
195610
|
+
assert( nn>=2 );
|
|
195611
|
+
assert( z[0]=='"' );
|
|
195612
|
+
assert( z[nn-1]=='"' );
|
|
195613
|
+
if( nn>2 && sqlite3Isalpha(z[1]) ){
|
|
195614
|
+
for(jj=2; jj<nn-1 && sqlite3Isalnum(z[jj]); jj++){}
|
|
195615
|
+
if( jj==nn-1 ){
|
|
195616
|
+
z++;
|
|
195617
|
+
nn -= 2;
|
|
195618
|
+
}
|
|
195619
|
+
}
|
|
195620
|
+
jsonPrintf(nn+2, pStr, ".%.*s", nn, z);
|
|
195621
|
+
}
|
|
195622
|
+
|
|
195555
195623
|
/* Append the name of the path for element i to pStr
|
|
195556
195624
|
*/
|
|
195557
195625
|
static void jsonEachComputePath(
|
|
@@ -195576,10 +195644,7 @@ static void jsonEachComputePath(
|
|
|
195576
195644
|
}else{
|
|
195577
195645
|
assert( pUp->eType==JSON_OBJECT );
|
|
195578
195646
|
if( (pNode->jnFlags & JNODE_LABEL)==0 ) pNode--;
|
|
195579
|
-
|
|
195580
|
-
assert( pNode->jnFlags & JNODE_LABEL );
|
|
195581
|
-
assert( pNode->eU==1 );
|
|
195582
|
-
jsonPrintf(pNode->n+1, pStr, ".%.*s", pNode->n-2, pNode->u.zJContent+1);
|
|
195647
|
+
jsonAppendObjectPathElement(pStr, pNode);
|
|
195583
195648
|
}
|
|
195584
195649
|
}
|
|
195585
195650
|
|
|
@@ -195650,8 +195715,7 @@ static int jsonEachColumn(
|
|
|
195650
195715
|
if( p->eType==JSON_ARRAY ){
|
|
195651
195716
|
jsonPrintf(30, &x, "[%d]", p->iRowid);
|
|
195652
195717
|
}else if( p->eType==JSON_OBJECT ){
|
|
195653
|
-
|
|
195654
|
-
jsonPrintf(pThis->n, &x, ".%.*s", pThis->n-2, pThis->u.zJContent+1);
|
|
195718
|
+
jsonAppendObjectPathElement(&x, pThis);
|
|
195655
195719
|
}
|
|
195656
195720
|
}
|
|
195657
195721
|
jsonResult(&x);
|
|
@@ -234542,7 +234606,7 @@ static void fts5SourceIdFunc(
|
|
|
234542
234606
|
){
|
|
234543
234607
|
assert( nArg==0 );
|
|
234544
234608
|
UNUSED_PARAM2(nArg, apUnused);
|
|
234545
|
-
sqlite3_result_text(pCtx, "fts5: 2022-
|
|
234609
|
+
sqlite3_result_text(pCtx, "fts5: 2022-04-27 12:03:15 9547e2c38a1c6f751a77d4d796894dec4dc5d8f5d79b1cd39e1ffc50df7b3be4", -1, SQLITE_TRANSIENT);
|
|
234546
234610
|
}
|
|
234547
234611
|
|
|
234548
234612
|
/*
|
|
@@ -239671,9 +239735,9 @@ SQLITE_API const char *sqlite3_sourceid(void){ return SQLITE_SOURCE_ID; }
|
|
|
239671
239735
|
|
|
239672
239736
|
#define SQLITE3MC_VERSION_MAJOR 1
|
|
239673
239737
|
#define SQLITE3MC_VERSION_MINOR 4
|
|
239674
|
-
#define SQLITE3MC_VERSION_RELEASE
|
|
239738
|
+
#define SQLITE3MC_VERSION_RELEASE 2
|
|
239675
239739
|
#define SQLITE3MC_VERSION_SUBRELEASE 0
|
|
239676
|
-
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.4.
|
|
239740
|
+
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.4.2"
|
|
239677
239741
|
|
|
239678
239742
|
#endif /* SQLITE3MC_VERSION_H_ */
|
|
239679
239743
|
/*** End of #include "sqlite3mc_version.h" ***/
|
|
@@ -239832,9 +239896,9 @@ extern "C" {
|
|
|
239832
239896
|
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
|
239833
239897
|
** [sqlite_version()] and [sqlite_source_id()].
|
|
239834
239898
|
*/
|
|
239835
|
-
#define SQLITE_VERSION "3.38.
|
|
239836
|
-
#define SQLITE_VERSION_NUMBER
|
|
239837
|
-
#define SQLITE_SOURCE_ID "2022-
|
|
239899
|
+
#define SQLITE_VERSION "3.38.3"
|
|
239900
|
+
#define SQLITE_VERSION_NUMBER 3038003
|
|
239901
|
+
#define SQLITE_SOURCE_ID "2022-04-27 12:03:15 9547e2c38a1c6f751a77d4d796894dec4dc5d8f5d79b1cd39e1ffc50df7b3be4"
|
|
239838
239902
|
|
|
239839
239903
|
/*
|
|
239840
239904
|
** CAPI3REF: Run-Time Library Version Numbers
|
|
@@ -262657,7 +262721,7 @@ sqlite3mcBtreeSetPageSize(Btree* p, int pageSize, int nReserve, int iFix)
|
|
|
262657
262721
|
** Change 4: Call sqlite3mcBtreeSetPageSize instead of sqlite3BtreeSetPageSize for main database
|
|
262658
262722
|
** (sqlite3mcBtreeSetPageSize allows to reduce the number of reserved bytes)
|
|
262659
262723
|
**
|
|
262660
|
-
** This code is generated by the script rekeyvacuum.sh from SQLite version 3.38.
|
|
262724
|
+
** This code is generated by the script rekeyvacuum.sh from SQLite version 3.38.3 amalgamation.
|
|
262661
262725
|
*/
|
|
262662
262726
|
SQLITE_PRIVATE SQLITE_NOINLINE int sqlite3mcRunVacuumForRekey(
|
|
262663
262727
|
char **pzErrMsg, /* Write error message here */
|
package/deps/sqlite3/sqlite3.h
CHANGED
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
|
|
32
32
|
#define SQLITE3MC_VERSION_MAJOR 1
|
|
33
33
|
#define SQLITE3MC_VERSION_MINOR 4
|
|
34
|
-
#define SQLITE3MC_VERSION_RELEASE
|
|
34
|
+
#define SQLITE3MC_VERSION_RELEASE 2
|
|
35
35
|
#define SQLITE3MC_VERSION_SUBRELEASE 0
|
|
36
|
-
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.4.
|
|
36
|
+
#define SQLITE3MC_VERSION_STRING "SQLite3 Multiple Ciphers 1.4.2"
|
|
37
37
|
|
|
38
38
|
#endif /* SQLITE3MC_VERSION_H_ */
|
|
39
39
|
/*** End of #include "sqlite3mc_version.h" ***/
|
|
@@ -192,9 +192,9 @@ extern "C" {
|
|
|
192
192
|
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
|
|
193
193
|
** [sqlite_version()] and [sqlite_source_id()].
|
|
194
194
|
*/
|
|
195
|
-
#define SQLITE_VERSION "3.38.
|
|
196
|
-
#define SQLITE_VERSION_NUMBER
|
|
197
|
-
#define SQLITE_SOURCE_ID "2022-
|
|
195
|
+
#define SQLITE_VERSION "3.38.3"
|
|
196
|
+
#define SQLITE_VERSION_NUMBER 3038003
|
|
197
|
+
#define SQLITE_SOURCE_ID "2022-04-27 12:03:15 9547e2c38a1c6f751a77d4d796894dec4dc5d8f5d79b1cd39e1ffc50df7b3be4"
|
|
198
198
|
|
|
199
199
|
/*
|
|
200
200
|
** CAPI3REF: Run-Time Library Version Numbers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "better-sqlite3-multiple-ciphers",
|
|
3
|
-
"version": "7.5.2-beta.
|
|
3
|
+
"version": "7.5.2-beta.1",
|
|
4
4
|
"description": "better-sqlite3 with multiple-cipher encryption support",
|
|
5
5
|
"homepage": "https://github.com/m4heshd/better-sqlite3-multiple-ciphers",
|
|
6
6
|
"author": "Mahesh Bandara Wijerathna (m4heshd) <m4heshd@gmail.com>",
|