| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | ci: test on all Ubuntu's variants | 2022-08-02 | 1 | -1/+1 | |
| | | | | | | | | Ubuntu 18.04 actually uses SQLite 3.22.x and as seen in 530feae7884ae5942c50cba30a307ddbcd767402 the SQLITE_DIRECTONLY flag doesn't exist until SQLite 3.30.0. If we had tested with Ubuntu 18.04 we would have caught this earlier. | ||||
| * | remove obsolete todo | 2022-08-02 | 1 | -3/+0 | |
| | | |||||
| * | no need for 'comptime' for this check | 2022-08-02 | 1 | -1/+1 | |
| | | | | | A comparison against a const is already comptime. | ||||
| * | create a specific CreateFunctionFlag struct based on the SQLite version | 2022-08-02 | 1 | -2/+16 | |
| | | |||||
| * | some error codes are only available with sqlite >= 3.22.0 | 2022-08-02 | 1 | -5/+11 | |
| | | | | | | | | We wrongly assumed they were always present but after testing with SQLite 3.21.0 it's not the case. I think they were missed because their first version is not documented. | ||||
| * | fix build | 2022-07-26 | 1 | -1/+1 | |
| | | |||||
| * | build: let the user specify the build mode | 2022-07-23 | 1 | -8/+8 | |
| | | |||||
| * | add a way to get the aggregate context with createAggregateFunction | 2022-07-14 | 1 | -53/+161 | |
| | | | | | | | | | | | | | | | | | | | | | The old way of working was that we always passed the user context as first argument to both `step` and `finalize` functions and the caller had no way of getting the aggregate context from SQLite (http://www3.sqlite.org/c3ref/aggregate_context.html). Now both `step` and `finalize` functions must have a first argument of type `FunctionContext`: fn step(fctx: FunctionContext, input: u32) void { var ctx = fctx.aggregateContext(*u32) orelse return; ctx.* += input; } fn finalize(ctx: *u32) u32 { var ctx = fctx.aggregateContext(*u32) orelse return 0; return ctx.sum; } Fixes #89 | ||||
| * | readme: fix allocator usage | 2022-06-26 | 1 | -1/+1 | |
| | | |||||
| * | Merge branch 'clarify-bind-markers-error' | 2022-05-24 | 1 | -1/+1 | |
| |\ | |||||
| | * | clarify the compile error | 2022-05-24 | 1 | -1/+1 | |
| |/ | |||||
| * | Make ParsedQuery a generic on query length | 2022-05-17 | 2 | -163/+170 | |
| | | |||||
| * | Make errorFromResultCode public | 2022-05-15 | 1 | -0/+1 | |
| | | | | Useful for direct C API users. | ||||
| * | remove unreachable condition | 2022-05-14 | 1 | -2/+0 | |
| | | |||||
| * | add test for single statement in execMulti | 2022-05-14 | 1 | -1/+9 | |
| | | |||||
| * | rename to execMulti | 2022-05-14 | 1 | -2/+2 | |
| | | |||||
| * | add newlines and comments to runMulti test case | 2022-05-14 | 1 | -1/+1 | |
| | | |||||
| * | fix splitting logic for runMulti | 2022-05-14 | 1 | -4/+21 | |
| | | |||||
| * | copy options over | 2022-05-14 | 1 | -4/+5 | |
| | | |||||
| * | add Db.runMulti | 2022-05-14 | 1 | -1/+24 | |
| | | |||||
| * | add a test for a bind marker with an optional type | 2022-05-03 | 1 | -14/+34 | |
| | | |||||
| * | allow parsing optional types in bind marker types | 2022-05-03 | 1 | -1/+16 | |
| | | |||||
| * | Merge branch 'fix-bind-identifier-parsing' | 2022-05-02 | 2 | -3/+8 | |
| |\ | |||||
| | * | the '_' character is valid in a named bind parameter | 2022-05-02 | 2 | -3/+8 | |
| |/ | |||||
| * | put the TODO comment at the end of the line instead | 2022-05-02 | 1 | -9/+3 | |
| | | | | | | | | | | | When using an explicit error set one must add the "Workaround" error in their error set; putting the explanation as to why it exists at the end of the line makes it so it is displayed directly in the output of the compiler. Before a user had to go look at the source code to understand why we have this workaround. | ||||
| * | Makes sqlite.Error pub. | 2022-04-29 | 1 | -1/+2 | |
| | | |||||
| * | remove unused assert | 2022-04-24 | 1 | -3/+0 | |
| | | |||||
| * | clarify type name | 2022-04-24 | 1 | -3/+3 | |
| | | |||||
| * | add compile error when passing non-struct to Statement.bind | 2022-04-24 | 1 | -0/+5 | |
| | | |||||
| * | add test for runtime slices as DynamicStatement args | 2022-04-24 | 1 | -0/+22 | |
| | | |||||
| * | emit compileError on unsupported pointer sizes | 2022-04-24 | 1 | -4/+8 | |
| | | |||||
| * | add support for arrays as runtime bind values | 2022-04-24 | 1 | -0/+5 | |
| | | |||||
| * | allow slices to be passed as bind parameters | 2022-04-24 | 1 | -9/+22 | |
| | | |||||
| * | update sqlite bundled source code to 3.38.2 | 2022-04-23 | 2 | -111/+248 | |
| | | |||||
| * | remove the 'opening' logs | 2022-04-23 | 1 | -4/+0 | |
| | | |||||
| * | handle tagged union when binding parameters | 2022-04-23 | 1 | -0/+87 | |
| | | |||||
| * | readme: add note about complex allocations | 2022-04-21 | 1 | -0/+35 | |
| | | |||||
| * | add the Db.execAlloc method | 2022-04-21 | 1 | -0/+19 | |
| | | |||||
| * | remove comment | 2022-04-21 | 1 | -3/+0 | |
| | | |||||
| * | readme: add note about allocator for custom types | 2022-04-21 | 1 | -0/+5 | |
| | | |||||
| * | cleanup the temporary values correctly for enums | 2022-04-21 | 1 | -26/+42 | |
| | | |||||
| * | Merge branch 'update-readme' | 2022-04-21 | 1 | -1/+30 | |
| |\ | |||||
| | * | document the custom type binding and reading | 2022-04-21 | 1 | -1/+30 | |
| |/ | |||||
| * | fix readme | 2022-04-21 | 1 | -1/+1 | |
| | | |||||
| * | check explicitly that bindField is implemented | 2022-04-21 | 1 | -1/+7 | |
| | | |||||
| * | Merge branch 'fix-function-aarch64' | 2022-04-18 | 1 | -12/+8 | |
| |\ | |||||
| | * | fix alignCast in the xStep callback of createAggregateFunction | 2022-04-17 | 1 | -12/+8 | |
| |/ | |||||
| * | readme: specify we're talking about _SQL_ functions | 2022-04-17 | 1 | -2/+3 | |
| | | |||||
| * | readme: fix formatting | 2022-04-17 | 1 | -4/+4 | |
| | | |||||
| * | Merge branch 'readme-toc' | 2022-04-17 | 1 | -1/+33 | |
| |\ | |||||