Skip to content

Commit f73b440

Browse files
authored
Update sqlite to v3.41.0 (#236)
1 parent 97f3d5d commit f73b440

File tree

7 files changed

+2988
-1356
lines changed

7 files changed

+2988
-1356
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
## Unlreleased
44

5+
## v0.13.4 - 2023-02-24
6+
- changed: Updated sqlite3 to 3.41.0
7+
58
## v0.13.3 - 2023-02-19
69
- added: precompilation support. [#234](https://github.com/elixir-sqlite/exqlite/pull/234)
710

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Package: https://hex.pm/packages/exqlite
3434
```elixir
3535
defp deps do
3636
[
37-
{:exqlite, "~> 0.13.3"}
37+
{:exqlite, "~> 0.13.4"}
3838
]
3939
end
4040
```

bin/download_sqlite.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set -e
1010
mkdir -p tmp
1111
pushd tmp
1212

13-
wget https://sqlite.org/2022/sqlite-autoconf-$VERSION.tar.gz
13+
wget https://sqlite.org/2023/sqlite-autoconf-$VERSION.tar.gz
1414

1515
tar xvfz sqlite-autoconf-$VERSION.tar.gz
1616

c_src/sqlite3.c

+2,820-1,271
Large diffs are not rendered by default.

c_src/sqlite3.h

+157-81
Large diffs are not rendered by default.

c_src/sqlite3ext.h

+4
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,8 @@ struct sqlite3_api_routines {
359359
const char *(*db_name)(sqlite3*,int);
360360
/* Version 3.40.0 and later */
361361
int (*value_encoding)(sqlite3_value*);
362+
/* Version 3.41.0 and later */
363+
int (*is_interrupted)(sqlite3*);
362364
};
363365

364366
/*
@@ -685,6 +687,8 @@ typedef int (*sqlite3_loadext_entry)(
685687
#define sqlite3_db_name sqlite3_api->db_name
686688
/* Version 3.40.0 and later */
687689
#define sqlite3_value_encoding sqlite3_api->value_encoding
690+
/* Version 3.41.0 and later */
691+
#define sqlite3_is_interrupted sqlite3_api->is_interrupted
688692
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */
689693

690694
#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)

mix.exs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
defmodule Exqlite.MixProject do
22
use Mix.Project
33

4-
@version "0.13.3"
5-
@sqlite_version "3.40.1"
4+
@version "0.13.4"
5+
@sqlite_version "3.41.0"
66

77
def project do
88
[

0 commit comments

Comments
 (0)