Skip to content

Commit

Permalink
Update sqlite to v3.41.0 (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
warmwaffles authored Feb 24, 2023
1 parent 97f3d5d commit f73b440
Show file tree
Hide file tree
Showing 7 changed files with 2,988 additions and 1,356 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unlreleased

## v0.13.4 - 2023-02-24
- changed: Updated sqlite3 to 3.41.0

## v0.13.3 - 2023-02-19
- added: precompilation support. [#234](https://github.com/elixir-sqlite/exqlite/pull/234)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Package: https://hex.pm/packages/exqlite
```elixir
defp deps do
[
{:exqlite, "~> 0.13.3"}
{:exqlite, "~> 0.13.4"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion bin/download_sqlite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ set -e
mkdir -p tmp
pushd tmp

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

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

Expand Down
4,091 changes: 2,820 additions & 1,271 deletions c_src/sqlite3.c

Large diffs are not rendered by default.

238 changes: 157 additions & 81 deletions c_src/sqlite3.h

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions c_src/sqlite3ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,8 @@ struct sqlite3_api_routines {
const char *(*db_name)(sqlite3*,int);
/* Version 3.40.0 and later */
int (*value_encoding)(sqlite3_value*);
/* Version 3.41.0 and later */
int (*is_interrupted)(sqlite3*);
};

/*
Expand Down Expand Up @@ -685,6 +687,8 @@ typedef int (*sqlite3_loadext_entry)(
#define sqlite3_db_name sqlite3_api->db_name
/* Version 3.40.0 and later */
#define sqlite3_value_encoding sqlite3_api->value_encoding
/* Version 3.41.0 and later */
#define sqlite3_is_interrupted sqlite3_api->is_interrupted
#endif /* !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION) */

#if !defined(SQLITE_CORE) && !defined(SQLITE_OMIT_LOAD_EXTENSION)
Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
defmodule Exqlite.MixProject do
use Mix.Project

@version "0.13.3"
@sqlite_version "3.40.1"
@version "0.13.4"
@sqlite_version "3.41.0"

def project do
[
Expand Down

0 comments on commit f73b440

Please sign in to comment.