diff --git a/embed/README.md b/embed/README.md index f653340..ef8fc0c 100644 --- a/embed/README.md +++ b/embed/README.md @@ -1,6 +1,6 @@ # Embeddable WASM build of SQLite -This folder includes an embeddable WASM build of SQLite 3.44.2 for use with +This folder includes an embeddable WASM build of SQLite 3.45.0 for use with [`github.com/ncruces/go-sqlite3`](https://pkg.go.dev/github.com/ncruces/go-sqlite3). The following optional features are compiled in: diff --git a/embed/sqlite3.wasm b/embed/sqlite3.wasm index 825b2dc..776623d 100755 Binary files a/embed/sqlite3.wasm and b/embed/sqlite3.wasm differ diff --git a/sqlite3/download.sh b/sqlite3/download.sh index c15ab85..20057fe 100755 --- a/sqlite3/download.sh +++ b/sqlite3/download.sh @@ -3,7 +3,7 @@ set -euo pipefail cd -P -- "$(dirname -- "$0")" -curl -#OL "https://sqlite.org/2023/sqlite-amalgamation-3440200.zip" +curl -#OL "https://sqlite.org/2024/sqlite-amalgamation-3450000.zip" unzip -d . sqlite-amalgamation-*.zip mv sqlite-amalgamation-*/sqlite3* . rm -rf sqlite-amalgamation-* @@ -12,25 +12,25 @@ cat *.patch | patch --no-backup-if-mismatch mkdir -p ext/ cd ext/ -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/anycollseq.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/base64.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/decimal.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/ieee754.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/regexp.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/series.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/uint.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/ext/misc/uuid.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/anycollseq.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/base64.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/decimal.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/ieee754.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/regexp.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/series.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/uint.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/ext/misc/uuid.c" cd ~- cd ../vfs/tests/mptest/testdata/ -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/mptest/mptest.c" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/mptest/config01.test" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/mptest/config02.test" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/mptest/crash01.test" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/mptest/crash02.subtest" -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/mptest/multiwrite01.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/mptest/mptest.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/mptest/config01.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/mptest/config02.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/mptest/crash01.test" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/mptest/crash02.subtest" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/mptest/multiwrite01.test" cd ~- cd ../vfs/tests/speedtest1/testdata/ -curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.44.2/test/speedtest1.c" +curl -#OL "https://github.com/sqlite/sqlite/raw/version-3.45.0/test/speedtest1.c" cd ~- \ No newline at end of file diff --git a/vfs/tests/mptest/testdata/mptest.wasm.bz2 b/vfs/tests/mptest/testdata/mptest.wasm.bz2 index 1c228b4..b0ef1d5 100644 --- a/vfs/tests/mptest/testdata/mptest.wasm.bz2 +++ b/vfs/tests/mptest/testdata/mptest.wasm.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:26d3b9d9bd6b3baf8d5e0064a4927c088c44001d1d69fe8c521430d355f8f67e -size 512655 +oid sha256:bb763a5cc1c10683441f34ea64253eefc5b7b2d7208f9db6632c5b64da9a50a7 +size 520353 diff --git a/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 b/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 index 775df0a..81f035e 100644 --- a/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 +++ b/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:63160e8453cf69a27457cbb77a9ce1994a6617717278483448d8bceab5c5bf5d -size 526662 +oid sha256:a2d0b8b5d044cd993ccec28f3c491d862971d0e2e6ac78d6aa757d252ab63a4b +size 534561