Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
5816778
test_runner: fix isSkipped check in junit reporter
mete0rfish Aug 1, 2025
63f36b0
test_runner: fix potential TypeError in junit reporter
mete0rfish Aug 1, 2025
8b9dd96
test: make junit reporter assertions more flexible
mete0rfish Aug 5, 2025
1945a98
test_runner: undo TypeError
mete0rfish Aug 5, 2025
cf38bd9
test: remove trailing spaces in test-runner-reporters.js
mete0rfish Aug 5, 2025
1985b50
doc: add path.join and path.normalize clarification
RafaelGSS Jul 30, 2025
651bed0
src: added CHECK_NOT_NULL check for multiple eq_wrap_async
F3lixTheCat Jul 31, 2025
81009d0
worker: implements nits in Web Locks code
aduh95 Jul 31, 2025
e0eee43
doc: add manpage entry for --use-system-ca
joyeecheung Jul 31, 2025
f9d6806
doc: fix `CHANGELOG.md` version listing
aduh95 Jul 31, 2025
159aa69
2025-07-31, Version 22.18.0 'Jod' (LTS)
nodejs-github-bot Jul 28, 2025
0982164
2025-07-31, Version 24.5.0 (Current)
aduh95 Jul 29, 2025
adfa90e
doc: add WDYT to glossary
btea Aug 1, 2025
cd3f83b
fs: fix glob TypeError on restricted dirs
Sylphy-0xd3ac Aug 1, 2025
15d29dc
tools: check for std::vector<v8::Local> in lint
Aditi-1400 Aug 1, 2025
98cf1c4
node-api: reword "implementation in an alternative VM" as implementable
legendecas Aug 1, 2025
52ba566
lib: add type names in source mapped stack traces
legendecas Aug 1, 2025
385da48
meta: add nodejs/path to path files
RafaelGSS Aug 1, 2025
b6b3794
lib: docs deprecate _http_*
bjohansebas Aug 2, 2025
ee495d0
test: deflake stream-readable-to-web test
Ethan-Arrowood Aug 2, 2025
774f539
typings: improve internal binding types
targos Aug 2, 2025
8f63e21
doc: clarify release candidate stability index
panva Aug 2, 2025
e71be05
lib: use validateString
hotpineapple Aug 2, 2025
b76ca12
meta: add tsc and build team as codeowners building.md
RafaelGSS Aug 2, 2025
626c3a4
build: bump minimum Clang version to 19
targos Aug 2, 2025
bf8d835
test: add known issue test for fs.cpSync dereference bug
jasnell Aug 2, 2025
573ba78
lib: handle superscript variants on windows device
RafaelGSS Aug 2, 2025
eb0a889
doc: clarify the need of compiler compatible with c++20
RafaelGSS Aug 2, 2025
1697fc4
doc: correct orthography `eg.` → `e.g.`
JakobJingleheimer Aug 3, 2025
65477bc
test: update WPT resources,WebCryptoAPI,webstorage
panva Aug 3, 2025
c0b4528
meta: add mailmap entry for aditi-1400
Aditi-1400 Aug 3, 2025
c27a618
quic: start re-enabling quic with openssl 3.5
jasnell Jul 27, 2025
42c6e3f
deps: update ngtcp2 to 1.14.0
jasnell Jul 27, 2025
6d91a56
deps: update nghttp3 to 1.11.0
jasnell Jul 27, 2025
d66d4b5
quic: update the guard to check openssl version
jasnell Jul 27, 2025
b5f6250
src: use C++20 `contains()` method
iknoom Jul 31, 2025
2b42ce8
http: add server.keepAliveTimeoutBuffer option
haramj Aug 4, 2025
b56e932
zlib: add dictionary support to zstdCompress and zstdDecompress
lluisemper Aug 4, 2025
f99eccf
deps: update sqlite to 3.50.4
nodejs-github-bot Aug 5, 2025
86abd7f
domain: remove deprecated API call
himself65 Aug 5, 2025
14e325c
crypto: prepare webcrypto key import/export for modern algorithms
panva Aug 5, 2025
5b25b2a
src: remove unused DSAKeyExportJob
panva Aug 5, 2025
03251d3
worker: add name for worker
theanarkh Aug 5, 2025
c4279f5
lib: restructure assert to become a class
miguelmarcondesf Aug 5, 2025
61fc7d2
deps: update undici to 7.13.0
nodejs-github-bot Aug 5, 2025
c21591b
doc: run license-builder
github-actions[bot] Aug 6, 2025
e7e60a6
doc: fix grammar in global dispatcher usage
Juneezee Aug 6, 2025
fbd4834
meta: clarify pr objection process further
jasnell Aug 6, 2025
ba4a31e
build: fix OpenSSL version detection
richardlau Aug 6, 2025
7874d88
crypto: support ML-DSA KeyObject, sign, and verify
panva Aug 6, 2025
37c0013
quic: fixup windows coverage compile error
jasnell Aug 6, 2025
9ccae50
quic: fixup NO_ERROR macro conflict on windows
jasnell Aug 6, 2025
a208389
src: warn about FastOneByteString invalidation
jasnell Jul 29, 2025
aad4427
doc: fix missing reference links for server.keepAliveTimeoutBuffer
wlgh1553 Aug 7, 2025
5005e95
build: check Apple clang version in configure script
targos Aug 5, 2025
1e89912
doc: update minimum Xcode and VS versions
targos Aug 5, 2025
44d1616
src: mark realm leaf classes final
addaleax Aug 4, 2025
39b1725
deps: support madvise(3C) across ALL illumos revisions
Aug 7, 2025
99adead
deps: upgrade openssl sources to openssl-3.5.2
nodejs-github-bot Aug 5, 2025
fcb83ad
deps: update archs files for openssl-3.5.2
nodejs-github-bot Aug 5, 2025
e5cc693
assert: change utils to use index instead of for...of
JinhyeokFang Aug 7, 2025
add4452
build: fix node_use_sqlite for GN builds
codebytere Aug 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deps: update sqlite to 3.50.4
PR-URL: #59337
Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com>
  • Loading branch information
nodejs-github-bot authored and mete0rfish committed Aug 9, 2025
commit f99eccf07aba4181dd9206cdb70921c9d10e39f0
43 changes: 35 additions & 8 deletions deps/sqlite/sqlite3.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/******************************************************************************
** This file is an amalgamation of many separate C source files from SQLite
** version 3.50.3. By combining all the individual C code files into this
** version 3.50.4. By combining all the individual C code files into this
** single large file, the entire code can be compiled as a single translation
** unit. This allows many compilers to do optimizations that would not be
** possible if the files were compiled separately. Performance improvements
Expand All @@ -18,7 +18,7 @@
** separate file. This file contains only code for the core SQLite library.
**
** The content in this amalgamation comes from Fossil check-in
** 3ce993b8657d6d9deda380a93cdd6404a8c8 with changes in files:
** 4d8adfb30e03f9cf27f800a2c1ba3c48fb4c with changes in files:
**
**
*/
Expand Down Expand Up @@ -465,9 +465,9 @@ extern "C" {
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
** [sqlite_version()] and [sqlite_source_id()].
*/
#define SQLITE_VERSION "3.50.3"
#define SQLITE_VERSION_NUMBER 3050003
#define SQLITE_SOURCE_ID "2025-07-17 13:25:10 3ce993b8657d6d9deda380a93cdd6404a8c8ba1b185b2bc423703e41ae5f2543"
#define SQLITE_VERSION "3.50.4"
#define SQLITE_VERSION_NUMBER 3050004
#define SQLITE_SOURCE_ID "2025-07-30 19:33:53 4d8adfb30e03f9cf27f800a2c1ba3c48fb4ca1b08b0f5ed59a4d5ecbf45e20a3"

/*
** CAPI3REF: Run-Time Library Version Numbers
Expand Down Expand Up @@ -19440,6 +19440,7 @@ struct Expr {
Table *pTab; /* TK_COLUMN: Table containing column. Can be NULL
** for a column of an index on an expression */
Window *pWin; /* EP_WinFunc: Window/Filter defn for a function */
int nReg; /* TK_NULLS: Number of registers to NULL out */
struct { /* TK_IN, TK_SELECT, and TK_EXISTS */
int iAddr; /* Subroutine entry address */
int regReturn; /* Register used to hold return address */
Expand Down Expand Up @@ -21474,6 +21475,7 @@ SQLITE_PRIVATE void sqlite3ExprCodeGeneratedColumn(Parse*, Table*, Column*, int)
SQLITE_PRIVATE void sqlite3ExprCodeCopy(Parse*, Expr*, int);
SQLITE_PRIVATE void sqlite3ExprCodeFactorable(Parse*, Expr*, int);
SQLITE_PRIVATE int sqlite3ExprCodeRunJustOnce(Parse*, Expr*, int);
SQLITE_PRIVATE void sqlite3ExprNullRegisterRange(Parse*, int, int);
SQLITE_PRIVATE int sqlite3ExprCodeTemp(Parse*, Expr*, int*);
SQLITE_PRIVATE int sqlite3ExprCodeTarget(Parse*, Expr*, int);
SQLITE_PRIVATE int sqlite3ExprCodeExprList(Parse*, ExprList*, int, int, u8);
Expand Down Expand Up @@ -115241,6 +115243,12 @@ SQLITE_PRIVATE int sqlite3ExprCodeTarget(Parse *pParse, Expr *pExpr, int target)
sqlite3VdbeLoadString(v, target, pExpr->u.zToken);
return target;
}
case TK_NULLS: {
/* Set a range of registers to NULL. pExpr->y.nReg registers starting
** with target */
sqlite3VdbeAddOp3(v, OP_Null, 0, target, target + pExpr->y.nReg - 1);
return target;
}
default: {
/* Make NULL the default case so that if a bug causes an illegal
** Expr node to be passed into this function, it will be handled
Expand Down Expand Up @@ -115925,6 +115933,25 @@ SQLITE_PRIVATE int sqlite3ExprCodeRunJustOnce(
return regDest;
}

/*
** Make arrangements to invoke OP_Null on a range of registers
** during initialization.
*/
SQLITE_PRIVATE SQLITE_NOINLINE void sqlite3ExprNullRegisterRange(
Parse *pParse, /* Parsing context */
int iReg, /* First register to set to NULL */
int nReg /* Number of sequential registers to NULL out */
){
u8 okConstFactor = pParse->okConstFactor;
Expr t;
memset(&t, 0, sizeof(t));
t.op = TK_NULLS;
t.y.nReg = nReg;
pParse->okConstFactor = 1;
sqlite3ExprCodeRunJustOnce(pParse, &t, iReg);
pParse->okConstFactor = okConstFactor;
}

/*
** Generate code to evaluate an expression and store the results
** into a register. Return the register number where the results
Expand Down Expand Up @@ -153175,6 +153202,7 @@ SQLITE_PRIVATE int sqlite3Select(
sqlite3VdbeAddOp2(v, OP_Integer, 0, iAbortFlag);
VdbeComment((v, "clear abort flag"));
sqlite3VdbeAddOp3(v, OP_Null, 0, iAMem, iAMem+pGroupBy->nExpr-1);
sqlite3ExprNullRegisterRange(pParse, iAMem, pGroupBy->nExpr);

/* Begin a loop that will extract all source rows in GROUP BY order.
** This might involve two separate loops with an OP_Sort in between, or
Expand Down Expand Up @@ -168470,6 +168498,7 @@ static int whereLoopAddBtree(
pNew->u.btree.nEq = 0;
pNew->u.btree.nBtm = 0;
pNew->u.btree.nTop = 0;
pNew->u.btree.nDistinctCol = 0;
pNew->nSkip = 0;
pNew->nLTerm = 0;
pNew->iSortIdx = 0;
Expand Down Expand Up @@ -169538,8 +169567,6 @@ static i8 wherePathSatisfiesOrderBy(
obSat = obDone;
}
break;
}else if( wctrlFlags & WHERE_DISTINCTBY ){
pLoop->u.btree.nDistinctCol = 0;
}
iCur = pWInfo->pTabList->a[pLoop->iTab].iCursor;

Expand Down Expand Up @@ -257280,7 +257307,7 @@ static void fts5SourceIdFunc(
){
assert( nArg==0 );
UNUSED_PARAM2(nArg, apUnused);
sqlite3_result_text(pCtx, "fts5: 2025-07-17 13:25:10 3ce993b8657d6d9deda380a93cdd6404a8c8ba1b185b2bc423703e41ae5f2543", -1, SQLITE_TRANSIENT);
sqlite3_result_text(pCtx, "fts5: 2025-07-30 19:33:53 4d8adfb30e03f9cf27f800a2c1ba3c48fb4ca1b08b0f5ed59a4d5ecbf45e20a3", -1, SQLITE_TRANSIENT);
}

/*
Expand Down
6 changes: 3 additions & 3 deletions deps/sqlite/sqlite3.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ extern "C" {
** [sqlite3_libversion_number()], [sqlite3_sourceid()],
** [sqlite_version()] and [sqlite_source_id()].
*/
#define SQLITE_VERSION "3.50.3"
#define SQLITE_VERSION_NUMBER 3050003
#define SQLITE_SOURCE_ID "2025-07-17 13:25:10 3ce993b8657d6d9deda380a93cdd6404a8c8ba1b185b2bc423703e41ae5f2543"
#define SQLITE_VERSION "3.50.4"
#define SQLITE_VERSION_NUMBER 3050004
#define SQLITE_SOURCE_ID "2025-07-30 19:33:53 4d8adfb30e03f9cf27f800a2c1ba3c48fb4ca1b08b0f5ed59a4d5ecbf45e20a3"

/*
** CAPI3REF: Run-Time Library Version Numbers
Expand Down