summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* only use sqlite3_error_offset if compatibleGravatar Luna2022-04-021-1/+8
|
* add error offsets to DetailedErrorGravatar Luna2022-04-021-3/+9
| | | | API introduced on 3.38.0
* build: only include the 'c' directory if we're using the bundled sqlite codeGravatar Vincent Rischmann2022-04-011-2/+2
|
* zigmod: add a descriptionGravatar Vincent Rischmann2022-03-221-0/+1
|
* update sqlite bundled source code to 3.38.0Gravatar Vincent Rischmann2022-02-272-3850/+5958
|
* fix sentinelGravatar Vincent Rischmann2022-02-051-19/+23
|
* build: add a macOS cross-compilation test targetGravatar Vincent Rischmann2022-01-041-0/+15
| | | | | The tests _may_ run with darling with `zig build -fdarling test`, but I haven't tested that yet.
* build: add a windows cross-compilation test targetGravatar Vincent Rischmann2022-01-041-0/+16
| | | | The tests will run in wine with `zig build -fwine test`
* build: add some comments to clarify what we're doingGravatar Vincent Rischmann2022-01-041-0/+8
|
* update sqlite bundled source code to 3.37.1Gravatar Vincent Rischmann2022-01-042-6400/+8470
|
* query: improve testsGravatar Vincent Rischmann2022-01-021-23/+37
|
* query: rework the named bind marker parsingGravatar Vincent Rischmann2022-01-021-15/+12
|
* query: use snake_case for the states for consistencyGravatar Vincent Rischmann2022-01-021-18/+18
|
* query: remove identifier from BindMarkerGravatar Vincent Rischmann2022-01-021-18/+17
|
* query: remove identifier_type from BindMarkerGravatar Vincent Rischmann2022-01-021-41/+0
|
* add a test for a crash found by fuzzingGravatar Vincent Rischmann2021-12-311-1/+5
|
* fix savepoint InitErrorGravatar Vincent Rischmann2021-12-311-0/+3
|
* fuzz: handle error.ExecReturnedDataGravatar Vincent Rischmann2021-12-311-0/+1
|
* statement: return an error if using exec() returns dataGravatar Vincent Rischmann2021-12-311-0/+1
|
* fuzz: add a previously interesting inputGravatar Vincent Rischmann2021-12-311-0/+0
|
* add a test using untyped bind markersGravatar Vincent Rischmann2021-12-311-0/+19
|
* fix query parsing when there's a named identifier without a typeGravatar Vincent Rischmann2021-12-311-0/+1
|
* query: also test the number of bind markersGravatar Vincent Rischmann2021-12-311-0/+10
|
* use StatementTypeGravatar Vincent Rischmann2021-12-311-4/+2
|
* Merge branch 'add-apache-license'Gravatar Vincent Rischmann2021-12-312-0/+203
|\
| * fuzz: add apache 2 license and copyright notice to sql.dictGravatar Vincent Rischmann2021-12-282-0/+203
|/
* fix a panic in Statement.prepare if the query is emptyGravatar Vincent Rischmann2021-12-261-0/+7
| | | | | sqlite3_prepare_v2 doesn't return an error code if the input query string is empty or is a comment, instead the statement will be null.
* add tests for crashes found by fuzzingGravatar Vincent Rischmann2021-12-261-0/+19
|
* add some fuzzing capabilityGravatar Vincent Rischmann2021-12-265-1/+379
|
* gitignore: ignore coredumpsGravatar Vincent Rischmann2021-12-261-0/+1
|
* improve query parsing to ignore bind markers prefix inside stringsGravatar Vincent Rischmann2021-12-181-0/+16
| | | | Fixes #65
* add a test for bind markers inside stringsGravatar Vincent Rischmann2021-12-181-1/+31
|
* readme: add a note about sqlite compile-time optionsGravatar Vincent Rischmann2021-12-181-0/+2
|
* fix readArray when reading zero-length blobGravatar Vincent Rischmann2021-12-181-8/+17
| | | | | sqlite3_column_blob returns a NULL pointer for a zero-length blob, which must be handled correctly.
* add a test binding an empty slice to a text columnGravatar Vincent Rischmann2021-12-181-0/+67
|
* always deinit the test databaseGravatar Vincent Rischmann2021-12-181-0/+30
| | | | otherwise using the dbfile option won't work
* rename argument for clarityGravatar Vincent Rischmann2021-12-181-3/+3
| | | | also style consistency; variables should be snake case
* build: fix for latest zigGravatar Vincent Rischmann2021-12-061-8/+0
|
* Merge branch 'fix-latest-zig'Gravatar Vincent Rischmann2021-12-061-52/+73
|\
| * all: replace spanZ with sliceToGravatar Vincent Rischmann2021-12-011-8/+12
| |
| * all: fix for latest Allocator interface refactorGravatar Vincent Rischmann2021-12-011-44/+61
|/
* dynamic statement: fix documentationGravatar Vincent Rischmann2021-11-221-3/+5
|
* dynamic statement: document bind()Gravatar Vincent Rischmann2021-11-221-0/+33
|
* dynamic statement: add some testsGravatar Vincent Rischmann2021-11-221-0/+98
|
* dynamic statement: fix one()Gravatar Vincent Rischmann2021-11-221-1/+1
|
* remove smartBind/bindNamedStruct, they're not actually necessaryGravatar Vincent Rischmann2021-11-221-33/+11
|
* FixesGravatar Felix "xq" Queißner2021-11-221-3/+36
|
* A handful of tiny fixes.Gravatar Felix "xq" Queißner2021-11-221-6/+6
|
* Merge branch 'fix-savepoint-deinit'Gravatar Vincent Rischmann2021-11-071-0/+5
|\
| * savepoint: always deinit the statementsGravatar Vincent Rischmann2021-11-071-0/+5
|/