Skip to content

Commit

Permalink
SQLite 3.22.0 with EXTRA DURABLE build for Android
Browse files Browse the repository at this point in the history
(cordova-sqlite-ext-deps 1.1.0)

using -DSQLITE_DEFAULT_SYNCHRONOUS=3 compile-time setting

also with -DSQLITE_THREADSAFE=1 for Android

ref: storesafe/cordova-sqlite-storage#736
  • Loading branch information
Christopher J. Brody committed Mar 22, 2018
1 parent be78e30 commit 10e391c
Show file tree
Hide file tree
Showing 5 changed files with 18,588 additions and 10,043 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ Contains source and object code built from:
- [liteglue / Android-sqlite-connector](https://github.com/liteglue/Android-sqlite-connector) (Unlicense, public domain)

This project provides the following dependencies needed to build [litehelpers / Cordova-sqlite-storage](https://github.com/litehelpers/Cordova-sqlite-storage):
- `sqlite3.h`, `sqlite3.c` - SQLite `3.15.2` amalgamation needed to build iOS/macOS and Windows platform versions
- `sqlite3.h`, `sqlite3.c` - SQLite `3.22.0` amalgamation needed to build iOS/macOS and Windows platform versions
- [libb64-encode](https://github.com/brodybits/libb64-encode), [sqlite3-base64](https://github.com/brodybits/sqlite3-base64), and [sqlite3-regexp-cached](https://github.com/brodybits/sqlite3-regexp-cached) source for iOS/macOS/Windows platform versions
- `libs` - [liteglue / Android-sqlite-connector](https://github.com/liteglue/Android-sqlite-connector) and [brodybits / Android-sqlite-ext-native-driver](https://github.com/brodybits/Android-sqlite-ext-native-driver) library JARs built with SQLite `3.15.2` amalgamation, using [brodybits / sqlite3-regexp-cached](https://github.com/brodybits/sqlite3-regexp-cached), with the following flags:
- `-DSQLITE_THREADSAFE=2`
- `libs` - [liteglue / Android-sqlite-connector](https://github.com/liteglue/Android-sqlite-connector) and [brodybits / Android-sqlite-ext-native-driver](https://github.com/brodybits/Android-sqlite-ext-native-driver) library JARs built with SQLite `3.22.0` amalgamation, using [brodybits / sqlite3-regexp-cached](https://github.com/brodybits/sqlite3-regexp-cached), with the following flags:
- `-DSQLITE_THREADSAFE=1`
- `-DSQLITE_DEFAULT_SYNCHRONOUS=3`
- `-DSQLITE_DEFAULT_MEMSTATUS=0`
- `-DSQLITE_OMIT_DECLTYPE`
- `-DSQLITE_OMIT_DEPRECATED`
Expand Down
Binary file modified libs/sqlite-native-driver.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-sqlite-ext-deps",
"version": "1.0.0",
"version": "1.1.0",
"description": "Cordova sqlite ext dependencies",
"main": "404.js",
"scripts": {
Expand Down
Loading

0 comments on commit 10e391c

Please sign in to comment.