1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-12-20 01:22:32 +03:00

Remove an extraneous loop level from the JS bootstrapping bits.

FossilOrigin-Name: 86817b4e9f011d296fb420be95269fecb54fb48a220bce84020e3af2d2c164a4
This commit is contained in:
stephan
2025-11-20 12:14:03 +00:00
parent df3fca8da4
commit 6d62ed4f87
3 changed files with 9 additions and 11 deletions

View File

@@ -975,10 +975,8 @@ globalThis.sqlite3ApiBootstrap.initializers.push(function(sqlite3){
"entry SQLITE_WASM_DEALLOC (=="+capi.SQLITE_WASM_DEALLOC+").");
}
const __rcMap = Object.create(null);
for(const t of ['resultCodes']){
for(const e of Object.entries(wasm.ctype[t])){
__rcMap[e[1]] = e[0];
}
for(const e of Object.entries(wasm.ctype['resultCodes'])){
__rcMap[e[1]] = e[0];
}
/**
For the given integer, returns the SQLITE_xxx result code as a

View File

@@ -1,5 +1,5 @@
C Enable\sthe\sSQLITE_EXPERIMENTAL_PRAGMA_20251114\sin\sthe\sWASM\sbuilds\sfor\sthe\ssake\sof\sVFS\sexperimentors.\sThe\slinks\sin\sthe\scomments\sdescribe\swhat\sthat\sdoes.
D 2025-11-20T12:12:55.737
C Remove\san\sextraneous\sloop\slevel\sfrom\sthe\sJS\sbootstrapping\sbits.
D 2025-11-20T12:14:03.117
F .fossil-settings/binary-glob 61195414528fb3ea9693577e1980230d78a1f8b0a54c78cf1b9b24d0a409ed6a x
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
@@ -593,7 +593,7 @@ F ext/wasm/api/extern-pre-js.js cc61c09c7a24a07dbecb4c352453c3985170cec12b4e7e7e
F ext/wasm/api/post-js-footer.js a50c1a2c4d008aede7b2aa1f18891a7ee71437c2f415b8aeb3db237ddce2935b
F ext/wasm/api/post-js-header.js d24bd0d065f3489c8b78ddf3ead6321e5d047187a162cd503c41700e03dd1f06
F ext/wasm/api/pre-js.c-pp.js ad2546290e0c8ce5ca2081bff6e85cc25eeb904a3303921f1184290a7ff1b32f
F ext/wasm/api/sqlite3-api-glue.c-pp.js 79a54b54ca6324d28e31e19b56bbaebb7d2cc4b3079066e7e901333fa5047c53
F ext/wasm/api/sqlite3-api-glue.c-pp.js 6ff61b7a7a8fb4367ebb2262d9f95a4b8c43eb6964890af99fd322f6cb1b4f00
F ext/wasm/api/sqlite3-api-oo1.c-pp.js 31dbfd470c91ffd96d77399b749bab6b69e3ba9074188833f97ac13f087cf07b
F ext/wasm/api/sqlite3-api-prologue.js a7cab3e8f78d5a93d7173657677fef18265f48d4e0b1e1755740f734a69cae6d
F ext/wasm/api/sqlite3-api-worker1.c-pp.js 1041dd645e8e821c082b628cd8d9acf70c667430f9d45167569633ffc7567938
@@ -2175,8 +2175,8 @@ F tool/version-info.c 33d0390ef484b3b1cb685d59362be891ea162123cea181cb8e6d2cf6dd
F tool/warnings-clang.sh bbf6a1e685e534c92ec2bfba5b1745f34fb6f0bc2a362850723a9ee87c1b31a7
F tool/warnings.sh d924598cf2f55a4ecbc2aeb055c10bd5f48114793e7ba25f9585435da29e7e98
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
P b65b29656c835db22557733f4dcfe906bf21a7a3c36266cbbc7e3277f029b901
R 81419b5754d24228dec1788b6a6ec43e
P aaa55a3ebf8e725443030be5f31ac7fc0766c1f3c771ce69852f31e7e6f165b9
R 4b3a2e70b2ef9e3e86256ce49b7cd978
U stephan
Z eb049d89419c9b23f15a68a263a56264
Z 0303d535edc52a603103a62ad48d206b
# Remove this line to create a well-formed Fossil manifest.

View File

@@ -1 +1 @@
aaa55a3ebf8e725443030be5f31ac7fc0766c1f3c771ce69852f31e7e6f165b9
86817b4e9f011d296fb420be95269fecb54fb48a220bce84020e3af2d2c164a4