Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream merger #3

Merged
merged 76 commits into from
May 4, 2023
Merged
Changes from 1 commit
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
0c385ac
Adds similar interface as Postgrex offers (#203)
warmwaffles May 5, 2022
d8b444f
Upgrade sqlite to 3.38.5
warmwaffles May 14, 2022
72c1b4b
Run ci when pull requests are opened
warmwaffles May 19, 2022
09bcd7f
body recursive fetch_all without Enum.reverse (#205)
ruslandoga Jun 1, 2022
503c9c8
Bump to v0.11.2
warmwaffles Jun 1, 2022
1a6d7f9
Fix changelog links
warmwaffles Jun 1, 2022
a388ee8
Update sqlite3 to 3.39.2
warmwaffles Aug 4, 2022
784e20f
Bump to v0.11.3
warmwaffles Aug 4, 2022
931039c
Automate SQLite Version Testing (#210)
greg-rychlewski Aug 8, 2022
2edb69d
Use sqlite3_open_v2 (#211)
greg-rychlewski Aug 8, 2022
d0c96e7
expose :mode from connect/1 (#212)
greg-rychlewski Aug 8, 2022
a7af537
Migrating static nif code for OTP25 (#213)
dominicletz Aug 22, 2022
cb49599
Fix android build adding `-lm` to LD_FLAGS (#214)
dominicletz Aug 24, 2022
e0f73e1
Cleanup the changelog
warmwaffles Aug 24, 2022
2c9fa05
Bump to v0.11.4
warmwaffles Aug 24, 2022
bf55a7e
Update sqlite3 to 3.39.3 (#215)
ruslandoga Sep 28, 2022
85f7fb6
Bump to v0.11.5
warmwaffles Sep 28, 2022
f2bb205
Update ex_doc
warmwaffles Sep 28, 2022
76fc4a9
Drop CI support for elixir 1.10 and OTP 22
warmwaffles Sep 28, 2022
7271a4a
Update windows testing for CI
warmwaffles Sep 28, 2022
8a087a5
Update credo and bunt
warmwaffles Sep 28, 2022
6795101
Make lint use elixir 1.14 and OTP 25
warmwaffles Sep 28, 2022
9720919
Remove unnecessary case statement
warmwaffles Sep 28, 2022
c29a35a
Compact prepare statement
warmwaffles Sep 28, 2022
3a37d54
Disable 1.14 OTP 25 on windows for now
warmwaffles Sep 28, 2022
373d7da
Update sqlite3 to 3.39.4 (#216)
ruslandoga Sep 29, 2022
d4d8fd2
Bump to v0.11.6
warmwaffles Sep 29, 2022
3d52f73
skip windows with otp-25 for now
warmwaffles Sep 29, 2022
25abead
Move all close/1 definitions together
warmwaffles Oct 3, 2022
8d8c9c7
Track connection with the statement resource
warmwaffles Oct 3, 2022
cdaabee
Check close v2 error code
warmwaffles Oct 3, 2022
4b97a95
Fix segfault when database connections timeout (#218)
akash-akya Oct 27, 2022
d0a01b4
Bump to v0.11.7
warmwaffles Oct 27, 2022
47e6a5e
Fix typos (#219)
kianmeng Oct 31, 2022
67d3854
Upgrade sqlite to v3.40.0
warmwaffles Nov 17, 2022
685ea76
Fix step/2 typespec (#224)
ahamez Dec 1, 2022
5803888
Bump to v0.11.9
warmwaffles Dec 1, 2022
adbe5a2
use multi_select in stream (#223)
ruslandoga Dec 6, 2022
57019dd
Allow the use of a file: uri for a database (#225)
mikestok Dec 7, 2022
a24d029
Bump to v0.12.0
warmwaffles Dec 7, 2022
21721ca
fix documentation
warmwaffles Dec 7, 2022
3afb62e
Update github actions cache and checkout to v3
warmwaffles Dec 22, 2022
c2e6023
Try enabling windows-2019 with OTP 25
warmwaffles Dec 22, 2022
01357f2
Remove support for Elixir 1.11
warmwaffles Dec 22, 2022
d1f7176
Don't run tests for windows and OTP 23
warmwaffles Dec 27, 2022
bf5d81b
Improve README for Windows users (#228)
voltagex Jan 6, 2023
78e5ca3
Allow setting custom pragmas (#229)
adri Jan 11, 2023
c6ec336
Upgrade sqlite to v3.40.1
warmwaffles Jan 12, 2023
f264767
Add not to changelog for custom pragma add
warmwaffles Jan 12, 2023
d48b6ec
Bump to v0.13.0
warmwaffles Jan 12, 2023
bd7d4ca
Add funding for GitHub sponsors
warmwaffles Jan 23, 2023
f62dbf2
Add `SQLITE_ENABLE_DBSTAT_VTAB` to compilation (#232)
warmwaffles Jan 26, 2023
6019821
Bump to v0.13.1
warmwaffles Jan 26, 2023
6a6bae0
Fix issue with `-O2` not being used during compilation
warmwaffles Jan 27, 2023
b66d9a0
added precompilation support (#234)
cocoa-xu Feb 20, 2023
dad93c0
add changelog note
warmwaffles Feb 20, 2023
97f3d5d
Bump to v0.13.3
warmwaffles Feb 20, 2023
f73b440
Update sqlite to v3.41.0 (#236)
warmwaffles Feb 24, 2023
a7cb977
Update windows guide (#239)
cw789 Feb 27, 2023
6bd3d62
docs: how to opt out of precompiled artefacts (#240)
cocoa-xu Feb 27, 2023
f7ae729
Allow library consumer to set `config :exqlite, force_build: true` (#…
warmwaffles Feb 27, 2023
a00d643
Bump to v0.13.5
warmwaffles Feb 27, 2023
1c1498f
Cast all error reasons to String (#242)
liamdiprose Mar 9, 2023
105068e
Bump to v0.13.6
warmwaffles Mar 9, 2023
558d008
Added precompilation support for musl targets (#244)
cocoa-xu Mar 13, 2023
26c8c36
Update sqlite to v3.41.1
warmwaffles Mar 13, 2023
4e41f56
Bump to v0.13.7
warmwaffles Mar 13, 2023
b9ff97d
Fix segfault for failing to open a db (#246)
warmwaffles Mar 15, 2023
aae4731
Bump to v0.13.8
warmwaffles Mar 15, 2023
7f8b1cc
Fix don't destroy mutex if it is not set
warmwaffles Mar 15, 2023
566663c
Bump to v0.13.9
warmwaffles Mar 15, 2023
a1e1acd
Bump locked dependencies
warmwaffles Mar 17, 2023
8aa1675
feat: support global and per-connection opts extension loading (#247)
bkono Mar 28, 2023
e6d7c96
Update sqlite to v3.41.2 (#248)
warmwaffles Mar 28, 2023
f25f437
Bump to v0.13.10
warmwaffles Mar 28, 2023
7e37be3
Merge branch 'upsteam_main' into main
alanj853 Apr 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unnecessary case statement
  • Loading branch information
warmwaffles committed Sep 28, 2022
commit 9720919fe523e517408174103e1ff6543eb8430b
7 changes: 1 addition & 6 deletions lib/exqlite/sqlite3.ex
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ defmodule Exqlite.Sqlite3 do
Executes an sql script. Multiple stanzas can be passed at once.
"""
@spec execute(db(), String.t()) :: :ok | {:error, reason()}
def execute(conn, sql) do
case Sqlite3NIF.execute(conn, sql) do
:ok -> :ok
{:error, reason} -> {:error, reason}
end
end
def execute(conn, sql), do: Sqlite3NIF.execute(conn, sql)

@doc """
Get the number of changes recently.
Expand Down