Skip to content

Commit

Permalink
SQLite 3.46.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncruces committed May 24, 2024
1 parent 94fb25e commit 00d52a8
Show file tree
Hide file tree
Showing 15 changed files with 100 additions and 590 deletions.
3 changes: 2 additions & 1 deletion embed/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Embeddable Wasm build of SQLite

This folder includes an embeddable Wasm build of SQLite 3.45.3 for use with
This folder includes an embeddable Wasm build of SQLite 3.46.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:
Expand All @@ -10,6 +10,7 @@ The following optional features are compiled in:
- [R*Tree](https://sqlite.org/rtree.html)
- [GeoPoly](https://sqlite.org/geopoly.html)
- [soundex](https://sqlite.org/lang_corefunc.html#soundex)
- [stat4](https://sqlite.org/compile.html#enable_stat4)
- [base64](https://github.com/sqlite/sqlite/blob/master/ext/misc/base64.c)
- [decimal](https://github.com/sqlite/sqlite/blob/master/ext/misc/decimal.c)
- [ieee754](https://github.com/sqlite/sqlite/blob/master/ext/misc/ieee754.c)
Expand Down
3 changes: 3 additions & 0 deletions embed/exports.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ sqlite3_collation_needed_go
sqlite3_column_blob
sqlite3_column_bytes
sqlite3_column_count
sqlite3_column_database_name
sqlite3_column_decltype
sqlite3_column_double
sqlite3_column_int64
sqlite3_column_name
sqlite3_column_origin_name
sqlite3_column_table_name
sqlite3_column_text
sqlite3_column_type
sqlite3_column_value
Expand Down
Binary file modified embed/sqlite3.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion sqlite3/busy_timeout.patch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This patch allows Go to handle (and interrupt) sqlite3_busy_timeout.
--- sqlite3.c.orig
+++ sqlite3.c
@@ -181581,7 +181581,7 @@
@@ -181614,7 +181614,7 @@
if( !sqlite3SafetyCheckOk(db) ) return SQLITE_MISUSE_BKPT;
#endif
if( ms>0 ){
Expand Down
Loading

0 comments on commit 00d52a8

Please sign in to comment.