mirror of
https://github.com/fluencelabs/sqlite
synced 2025-07-05 10:41:37 +00:00
Compare commits
6 Commits
v0.18.0_w
...
sqlite-was
Author | SHA1 | Date | |
---|---|---|---|
2d6fd60b72 | |||
258b8d11b6 | |||
8a97f5ca7b | |||
ea4bac91b0 | |||
46c8c1bb0e | |||
7d81ee9d02 |
3
.github/actionlint.yaml
vendored
Normal file
3
.github/actionlint.yaml
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
self-hosted-runner:
|
||||||
|
labels:
|
||||||
|
- builder
|
5
.github/misc/module.yaml
vendored
Normal file
5
.github/misc/module.yaml
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
version: 0
|
||||||
|
type: compiled
|
||||||
|
name: sqlite3
|
||||||
|
volumes:
|
||||||
|
sites: ./tmp
|
12
.github/release-please/config.json
vendored
Normal file
12
.github/release-please/config.json
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"bootstrap-sha": "c1fa069dcbadb1bf4bb076408ad4ddbd77c7ede0",
|
||||||
|
"release-type": "simple",
|
||||||
|
"bump-minor-pre-major": true,
|
||||||
|
"bump-patch-for-minor-pre-major": true,
|
||||||
|
"packages": {
|
||||||
|
".": {
|
||||||
|
"package-name": "sqlite-wasm",
|
||||||
|
"component": "sqlite-wasm"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
3
.github/release-please/manifest.json
vendored
Normal file
3
.github/release-please/manifest.json
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
".": "0.18.1"
|
||||||
|
}
|
56
.github/workflows/build.yml
vendored
Normal file
56
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,56 @@
|
|||||||
|
name: Build sqlite artifact
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
ref:
|
||||||
|
description: "git ref"
|
||||||
|
type: string
|
||||||
|
default: master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: "Build sqlite.wasm"
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
timeout-minutes: 60
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
repository: fluencelabs/sqlite
|
||||||
|
ref: ${{ inputs.ref }}
|
||||||
|
|
||||||
|
- name: Setup wasi-sdk
|
||||||
|
run: |
|
||||||
|
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-15/wasi-sdk-15.0-linux.tar.gz | tar xz -C ./
|
||||||
|
mv wasi-sdk-* wasi-sdk
|
||||||
|
|
||||||
|
- name: Setup Rust toolchain
|
||||||
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
|
|
||||||
|
- name: Download marine artifact
|
||||||
|
id: marine
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
continue-on-error: true
|
||||||
|
with:
|
||||||
|
name: marine
|
||||||
|
path: ~/.local/bin
|
||||||
|
|
||||||
|
- name: Make marine executable
|
||||||
|
if: steps.marine.outcome == 'success'
|
||||||
|
run: chmod +x ~/.local/bin/marine
|
||||||
|
|
||||||
|
- name: Setup marine
|
||||||
|
if: steps.marine.outcome == 'failure'
|
||||||
|
uses: fluencelabs/setup-marine@v1
|
||||||
|
|
||||||
|
- name: Build sqlite-wasm
|
||||||
|
run: make
|
||||||
|
|
||||||
|
- name: Upload sqlite-wasm
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: sqlite-wasm
|
||||||
|
path: sqlite3.wasm
|
||||||
|
if-no-files-found: error
|
109
.github/workflows/e2e.yml
vendored
Normal file
109
.github/workflows/e2e.yml
vendored
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
name: "e2e"
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- ".github/**"
|
||||||
|
- "!.github/workflows/e2e.yml"
|
||||||
|
- "!.github/workflows/snapshot.yml"
|
||||||
|
- "!.github/workflows/build.yml"
|
||||||
|
types:
|
||||||
|
- "labeled"
|
||||||
|
- "synchronize"
|
||||||
|
- "opened"
|
||||||
|
- "reopened"
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "master"
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
- ".github/**"
|
||||||
|
- "!.github/workflows/e2e.yml"
|
||||||
|
- "!.github/workflows/snapshot.yml"
|
||||||
|
- "!.github/workflows/build.yml"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: "sqlite"
|
||||||
|
uses: ./.github/workflows/build.yml
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
|
snapshot:
|
||||||
|
needs: build
|
||||||
|
name: "sqlite-wasm"
|
||||||
|
uses: fluencelabs/sqlite-wasm-connector/.github/workflows/snapshot.yml@master
|
||||||
|
|
||||||
|
spell:
|
||||||
|
needs:
|
||||||
|
- snapshot
|
||||||
|
uses: fluencelabs/spell/.github/workflows/snapshot.yml@main
|
||||||
|
with:
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "marine-sqlite-connector",
|
||||||
|
"version": "=${{ needs.snapshot.outputs.version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
rust-peer:
|
||||||
|
needs:
|
||||||
|
- spell
|
||||||
|
|
||||||
|
uses: fluencelabs/rust-peer/.github/workflows/build.yml@master
|
||||||
|
with:
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "fluence-spell-dtos",
|
||||||
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "fluence-spell-distro",
|
||||||
|
"version": "=${{ needs.spell.outputs.cargo-version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
|
rust-peer-snapshot:
|
||||||
|
name: "rust-peer"
|
||||||
|
needs:
|
||||||
|
- rust-peer
|
||||||
|
|
||||||
|
uses: fluencelabs/rust-peer/.github/workflows/container.yml@master
|
||||||
|
with:
|
||||||
|
image-name: "docker.fluence.dev/sqlite-wasm-connector"
|
||||||
|
flavour: "minimal"
|
||||||
|
rust-peer-sha: "${{ needs.rust-peer.outputs.rust-peer-sha }}"
|
||||||
|
|
||||||
|
spell-aqua-tests:
|
||||||
|
name: "spell"
|
||||||
|
needs:
|
||||||
|
- rust-peer-snapshot
|
||||||
|
uses: fluencelabs/spell/.github/workflows/tests.yml@main
|
||||||
|
with:
|
||||||
|
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
||||||
|
|
||||||
|
registry:
|
||||||
|
needs:
|
||||||
|
- snapshot
|
||||||
|
- rust-peer-snapshot
|
||||||
|
uses: fluencelabs/registry/.github/workflows/tests.yml@main
|
||||||
|
with:
|
||||||
|
rust-peer-image: "${{ needs.rust-peer-snapshot.outputs.rust-peer-image }}"
|
||||||
|
cargo-dependencies: |
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"package": "marine-sqlite-connector",
|
||||||
|
"version": "=${{ needs.snapshot.outputs.version }}",
|
||||||
|
"registry": "fluence"
|
||||||
|
}
|
||||||
|
]
|
35
.github/workflows/lint.yml
vendored
Normal file
35
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
name: lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- edited
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pr:
|
||||||
|
name: Validate PR title
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: amannn/action-semantic-pull-request@v5
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
reviewdog:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Lint actions
|
||||||
|
uses: reviewdog/action-actionlint@v1
|
||||||
|
env:
|
||||||
|
SHELLCHECK_OPTS: "-e SC2086 -e SC2207 -e SC2128 -e SC2035"
|
||||||
|
with:
|
||||||
|
reporter: github-pr-check
|
||||||
|
fail_on_error: true
|
77
.github/workflows/release.yml
vendored
Normal file
77
.github/workflows/release.yml
vendored
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
name: "release"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "master"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-please:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
outputs:
|
||||||
|
release-created: ${{ steps.release.outputs['release_created'] }}
|
||||||
|
tag-name: ${{ steps.release.outputs['tag_name'] }}
|
||||||
|
version: ${{ steps.release.outputs['version'] }}
|
||||||
|
pr: ${{ steps.release.outputs['pr'] }}
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Run release-please
|
||||||
|
id: release
|
||||||
|
uses: google-github-actions/release-please-action@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}
|
||||||
|
command: manifest
|
||||||
|
config-file: .github/release-please/config.json
|
||||||
|
manifest-file: .github/release-please/manifest.json
|
||||||
|
|
||||||
|
- name: Show output from release-please
|
||||||
|
if: steps.release.outputs.releases_created
|
||||||
|
env:
|
||||||
|
RELEASE_PLEASE_OUTPUT: ${{ toJSON(steps.release.outputs) }}
|
||||||
|
run: echo "${RELEASE_PLEASE_OUTPUT}" | jq
|
||||||
|
|
||||||
|
build:
|
||||||
|
if: needs.release-please.outputs.release-created
|
||||||
|
needs: release-please
|
||||||
|
uses: ./.github/workflows/build.yml
|
||||||
|
with:
|
||||||
|
ref: ${{ github.ref }}
|
||||||
|
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs:
|
||||||
|
- release-please
|
||||||
|
- build
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Download sqlite-wasm
|
||||||
|
uses: actions/download-artifact@v3
|
||||||
|
with:
|
||||||
|
name: sqlite-wasm
|
||||||
|
path: artifacts/
|
||||||
|
|
||||||
|
- name: Create archive
|
||||||
|
run: tar caf artifacts/sqlite3.tar.gz -C ./artifacts/ sqlite3.wasm -C ../.github/misc/ module.yaml
|
||||||
|
|
||||||
|
- name: Generate checksums
|
||||||
|
id: sum
|
||||||
|
run: |
|
||||||
|
sha256sum * | tee > sqlite3_SHA256_SUMS
|
||||||
|
working-directory: artifacts
|
||||||
|
|
||||||
|
- name: Upload binaries
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
artifacts/*
|
||||||
|
tag_name: ${{ needs.release-please.outputs.tag-name }}
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
wasi-sdk*
|
||||||
# IntelliJ
|
# IntelliJ
|
||||||
.idea
|
.idea
|
||||||
|
|
||||||
|
8
CHANGELOG.md
Normal file
8
CHANGELOG.md
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## [0.18.1](https://github.com/fluencelabs/sqlite/compare/sqlite-wasm-v0.18.0...sqlite-wasm-v0.18.1) (2023-04-06)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* bind_text and bind_blob string arguments clean up ([#18](https://github.com/fluencelabs/sqlite/issues/18)) ([258b8d1](https://github.com/fluencelabs/sqlite/commit/258b8d11b6beadf625dbeb69bd98da1b2b40176c))
|
@ -11,8 +11,7 @@ RUN apt update \
|
|||||||
cargo
|
cargo
|
||||||
|
|
||||||
RUN cargo install marine --version 0.12.7
|
RUN cargo install marine --version 0.12.7
|
||||||
RUN curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-15/wasi-sdk-15.0-linux.tar.gz | tar xz -C /
|
|
||||||
|
|
||||||
VOLUME /code
|
VOLUME /code
|
||||||
WORKDIR /code
|
WORKDIR /code
|
||||||
CMD make
|
ENTRYPOINT /code/entrypoint.sh
|
||||||
|
12
Makefile
12
Makefile
@ -1,6 +1,6 @@
|
|||||||
TARGET = sqlite3
|
TARGET = sqlite3
|
||||||
CC = /wasi-sdk-15.0/bin/clang
|
CC = ./wasi-sdk/bin/clang
|
||||||
SYSROOT = /wasi-sdk-15.0/share/wasi-sysroot
|
SYSROOT = ./wasi-sdk/share/wasi-sysroot
|
||||||
TARGET_TRIPLE = wasm32-wasi
|
TARGET_TRIPLE = wasm32-wasi
|
||||||
CFLAGS = -fvisibility=hidden
|
CFLAGS = -fvisibility=hidden
|
||||||
SDK = sdk/logger.h
|
SDK = sdk/logger.h
|
||||||
@ -26,10 +26,10 @@ EXPORT_FUNCS = \
|
|||||||
--export=sqlite3_column_name_,$\
|
--export=sqlite3_column_name_,$\
|
||||||
--export=sqlite3_step,$\
|
--export=sqlite3_step,$\
|
||||||
--export=sqlite3_reset,$\
|
--export=sqlite3_reset,$\
|
||||||
--export=sqlite3_bind_blob,$\
|
--export=sqlite3_bind_blob_,$\
|
||||||
--export=sqlite3_bind_double,$\
|
--export=sqlite3_bind_double,$\
|
||||||
--export=sqlite3_bind_int64,$\
|
--export=sqlite3_bind_int64,$\
|
||||||
--export=sqlite3_bind_text,$\
|
--export=sqlite3_bind_text_,$\
|
||||||
--export=sqlite3_bind_null,$\
|
--export=sqlite3_bind_null,$\
|
||||||
--export=sqlite3_column_count,$\
|
--export=sqlite3_column_count,$\
|
||||||
--export=sqlite3_column_double,$\
|
--export=sqlite3_column_double,$\
|
||||||
@ -164,8 +164,8 @@ all: default
|
|||||||
|
|
||||||
$(TARGET): $(SQLITE_SRC) $(WRAPPER_SRC)
|
$(TARGET): $(SQLITE_SRC) $(WRAPPER_SRC)
|
||||||
$(CC) -O3 --sysroot=$(SYSROOT) --target=$(TARGET_TRIPLE) $(SQLITE_FLAGS) $(CFLAGS) $(LDFLAGS) -Wl,$(EXPORT_FUNCS) $^ -o $@.wasm
|
$(CC) -O3 --sysroot=$(SYSROOT) --target=$(TARGET_TRIPLE) $(SQLITE_FLAGS) $(CFLAGS) $(LDFLAGS) -Wl,$(EXPORT_FUNCS) $^ -o $@.wasm
|
||||||
/root/.cargo/bin/marine set version -i ./sqlite3.wasm -v 0.7.0
|
marine set version -i ./sqlite3.wasm -v $(shell cat version.txt)
|
||||||
/root/.cargo/bin/marine set it -i ./sqlite3.wasm -w sqlite3.wit
|
marine set it -i ./sqlite3.wasm -w sqlite3.wit
|
||||||
|
|
||||||
.PRECIOUS: $(TARGET)
|
.PRECIOUS: $(TARGET)
|
||||||
|
|
||||||
|
@ -5,4 +5,4 @@ services:
|
|||||||
context: .
|
context: .
|
||||||
container_name: sqlite3_builder
|
container_name: sqlite3_builder
|
||||||
volumes:
|
volumes:
|
||||||
- .:/code
|
- ./:/code
|
||||||
|
4
entrypoint.sh
Executable file
4
entrypoint.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
export PATH="${PATH}:/root/.cargo/bin"
|
||||||
|
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-15/wasi-sdk-15.0-linux.tar.gz | tar xz -C .
|
||||||
|
mv wasi-sdk-* wasi-sdk
|
||||||
|
make
|
@ -1528,21 +1528,30 @@ static int bindText(sqlite3_stmt *pStmt, /* The statement to bind against */
|
|||||||
/*
|
/*
|
||||||
** Bind a blob value to an SQL statement variable.
|
** Bind a blob value to an SQL statement variable.
|
||||||
*/
|
*/
|
||||||
int sqlite3_bind_blob(sqlite3_stmt *pStmt, int i, const void *zData, int nData,
|
#ifndef __sqlite_unmodified_upstream
|
||||||
void (*xDel)(void *)) {
|
int sqlite3_bind_blob_(sqlite3_stmt *pStmt, int i, const void *zData, int nData,
|
||||||
|
void (*xDel)(void *))
|
||||||
|
__attribute__((export_name("sqlite3_bind_blob"))) {
|
||||||
#ifdef SQLITE_ENABLE_API_ARMOR
|
#ifdef SQLITE_ENABLE_API_ARMOR
|
||||||
if (nData < 0)
|
if (nData < 0)
|
||||||
return SQLITE_MISUSE_BKPT;
|
return SQLITE_MISUSE_BKPT;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __sqlite_unmodified_upstream
|
|
||||||
return bindText(pStmt, i, zData, nData, xDel, 0);
|
|
||||||
#else
|
|
||||||
// xDel is a custom deallocator and if it is not SQLITE_STATIC
|
// xDel is a custom deallocator and if it is not SQLITE_STATIC
|
||||||
// due to our IT architecture it can't be provided from other modules.
|
// due to our IT architecture it can't be provided from other modules.
|
||||||
return bindText(pStmt, i, zData, nData,
|
// However the memory zData uses has to be cleaned up eventually.
|
||||||
(xDel==SQLITE_STATIC || xDel==SQLITE_TRANSIENT)?xDel:free, 0);
|
add_object_to_release((void*)zData);
|
||||||
|
return bindText(pStmt, i, zData, nData, xDel, 0);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
int sqlite3_bind_blob(sqlite3_stmt *pStmt, int i, const void *zData, int nData,
|
||||||
|
void (*xDel)(void *)) {
|
||||||
|
#ifdef SQLITE_ENABLE_API_ARMOR
|
||||||
|
if (nData < 0) return SQLITE_MISUSE_BKPT;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
return bindText(pStmt, i, zData, nData, xDel, 0);
|
||||||
}
|
}
|
||||||
int sqlite3_bind_blob64(sqlite3_stmt *pStmt, int i, const void *zData,
|
int sqlite3_bind_blob64(sqlite3_stmt *pStmt, int i, const void *zData,
|
||||||
sqlite3_uint64 nData, void (*xDel)(void *)) {
|
sqlite3_uint64 nData, void (*xDel)(void *)) {
|
||||||
@ -1594,17 +1603,24 @@ int sqlite3_bind_pointer(sqlite3_stmt *pStmt, int i, void *pPtr,
|
|||||||
}
|
}
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sqlite3_bind_text(sqlite3_stmt *pStmt, int i, const char *zData, int nData,
|
int sqlite3_bind_text(sqlite3_stmt *pStmt, int i, const char *zData, int nData,
|
||||||
void (*xDel)(void *)) {
|
void (*xDel)(void *)) {
|
||||||
#ifdef __sqlite_unmodified_upstream
|
|
||||||
return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
|
return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
|
||||||
#else
|
}
|
||||||
|
|
||||||
|
#ifndef __sqlite_unmodified_upstream
|
||||||
|
int sqlite3_bind_text_(sqlite3_stmt *pStmt, int i, const char *zData, int nData,
|
||||||
|
void (*xDel)(void *))
|
||||||
|
__attribute__((export_name("sqlite3_bind_text"))) {
|
||||||
// xDel is a custom deallocator and if it is not SQLITE_STATIC
|
// xDel is a custom deallocator and if it is not SQLITE_STATIC
|
||||||
// due to our IT architecture it can't be provided from other modules.
|
// due to our IT architecture it can't be provided from other modules.
|
||||||
return bindText(pStmt, i, zData, nData,
|
// However the memory zData uses has to be cleaned up eventually.
|
||||||
(xDel==SQLITE_STATIC || xDel==SQLITE_TRANSIENT)?xDel:free, SQLITE_UTF8);
|
add_object_to_release((void*)zData);
|
||||||
#endif
|
return bindText(pStmt, i, zData, nData, xDel, SQLITE_UTF8);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int sqlite3_bind_text64(sqlite3_stmt *pStmt, int i, const char *zData,
|
int sqlite3_bind_text64(sqlite3_stmt *pStmt, int i, const char *zData,
|
||||||
sqlite3_uint64 nData, void (*xDel)(void *),
|
sqlite3_uint64 nData, void (*xDel)(void *),
|
||||||
unsigned char enc) {
|
unsigned char enc) {
|
||||||
|
1
version.txt
Normal file
1
version.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
0.18.1
|
Reference in New Issue
Block a user