Skip to content

Commit

Permalink
Enable -DHAVE_USLEEP=1 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
warmwaffles committed Jan 19, 2022
1 parent 5535553 commit 8dbf88b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
## [Unreleased](unreleased)


## [0.8.6] - 2022-01-19
### Changed
- Compile SQLite3 with `-DHAVE_USLEEP=1` to allow for more performant concurrent use.


## [0.8.5] - 2022-01-14
### Changed
- Update SQLite from [3.37.0](https://www.sqlite.org/releaselog/3_37_0.html) to [3.37.2](https://sqlite.org/releaselog/3_37_2.html)
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ CFLAGS += -DSQLITE_THREADSAFE=1
CFLAGS += -DSQLITE_USE_URI=1
CFLAGS += -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1
CFLAGS += -DSQLITE_DQS=0
CFLAGS += -DHAVE_USLEEP=1

# TODO: The following features should be completely configurable by the person
# installing the nif. Just need to have certain environment variables
Expand Down
1 change: 1 addition & 0 deletions Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ CFLAGS = -DSQLITE_THREADSAFE=1 $(CFLAGS)
CFLAGS = -DSQLITE_USE_URI=1 $(CFLAGS)
CFLAGS = -DSQLITE_LIKE_DOESNT_MATCH_BLOBS=1 $(CFLAGS)
CFLAGS = -DSQLITE_DQS=0 $(CFLAGS)
CFLAGS = -DHAVE_USLEEP=1 $(CFLAGS)

# TODO: The following features should be completely configurable by the person
# installing the nif. Just need to have certain environment variables
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Package: https://hex.pm/packages/exqlite

```elixir
defp deps do
{:exqlite, "~> 0.8.5"}
{:exqlite, "~> 0.8.6"}
end
```

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Exqlite.MixProject do
use Mix.Project

@version "0.8.5"
@version "0.8.6"

def project do
[
Expand Down

0 comments on commit 8dbf88b

Please sign in to comment.