Skip to content

Commit 5842ec9

Browse files
committed
SQLite 3.51.3.
1 parent 137e269 commit 5842ec9

27 files changed

Lines changed: 919 additions & 1138 deletions

File tree

.github/workflows/repro.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ set -euo pipefail
55
sqlite3/download.sh
66
sqlite3/tools.sh
77
embed/build.sh
8-
embed/bcw2/build.sh
98

109
# Check diffs
1110
git diff --exit-code

.github/workflows/repro.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ jobs:
2727
if: matrix.os == 'ubuntu-latest'
2828
with:
2929
subject-path: |
30-
embed/sqlite3.wasm
31-
embed/bcw2/bcw2.wasm
30+
embed/sqlite3.wasm

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868
shell: bash
6969
run: |
7070
go work init .
71-
go work use -r embed/bcw2 gormlite
72-
go test ./embed/bcw2 ./gormlite
71+
go work use -r gormlite
72+
go test ./gormlite
7373
7474
- name: Test GORM
7575
shell: bash

const.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ const (
181181
PREPARE_NORMALIZE PrepareFlag = 0x02
182182
PREPARE_NO_VTAB PrepareFlag = 0x04
183183
PREPARE_DONT_LOG PrepareFlag = 0x10
184-
PREPARE_FROM_DDL PrepareFlag = 0x20
184+
// PREPARE_FROM_DDL PrepareFlag = 0x20
185185
)
186186

187187
// FunctionFlag is a flag that can be passed to
@@ -268,6 +268,7 @@ const (
268268
DBCONFIG_ENABLE_ATTACH_CREATE DBConfig = 1020
269269
DBCONFIG_ENABLE_ATTACH_WRITE DBConfig = 1021
270270
DBCONFIG_ENABLE_COMMENTS DBConfig = 1022
271+
// SQLITE_DBCONFIG_FP_DIGITS DBConfig = 1023
271272
// DBCONFIG_MAX DBConfig = 1022
272273
)
273274

@@ -309,7 +310,7 @@ const (
309310
LIMIT_VARIABLE_NUMBER LimitCategory = 9
310311
LIMIT_TRIGGER_DEPTH LimitCategory = 10
311312
LIMIT_WORKER_THREADS LimitCategory = 11
312-
LIMIT_PARSER_DEPTH LimitCategory = 12
313+
// LIMIT_PARSER_DEPTH LimitCategory = 12
313314
)
314315

315316
// AuthorizerActionCode are the integer action codes

embed/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ The build is easily reproducible, and verifiable, using
3333

3434
You can use your own custom build of SQLite.
3535

36-
Examples of custom builds of SQLite are:
37-
- [`github.com/ncruces/go-sqlite3/embed/bcw2`](https://github.com/ncruces/go-sqlite3/tree/main/embed/bcw2)
38-
built from a branch supporting [`BEGIN CONCURRENT`](https://sqlite.org/src/doc/begin-concurrent/doc/begin_concurrent.md)
39-
and [Wal2](https://sqlite.org/cgi/src/doc/wal2/doc/wal2.md).
36+
Example of a custom build of SQLite:
4037
- [`github.com/asg017/sqlite-vec-go-bindings/ncruces`](https://github.com/asg017/sqlite-vec-go-bindings)
4138
which includes the [`sqlite-vec`](https://github.com/asg017/sqlite-vec) vector search extension.

embed/bcw2/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

embed/bcw2/README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

embed/bcw2/bcw2.wasm

-1.38 MB
Binary file not shown.

embed/bcw2/bcw2_test.go

Lines changed: 0 additions & 59 deletions
This file was deleted.

embed/bcw2/build.sh

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)