| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Everything other than loadextension works. zig 0.15 remove
usingnamespac, so tha whole mechanism has to be reworked, and idk how
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
After some testing it turns out we need at least SQLite 3.21.0 to
compile.
We _could_ work around this and make zig-sqlite work with older SQLite
versions but I don't think it's necessary because:
* "old" distributions like Debian Buster, RHEL 8 ship with SQLite >
3.21.0
* in any case if people want to build for OSes where SQLite is too old
they can use the bundled source code.
|
| |
|
|
| |
We will need it later on.
|
| |
|
|
|
|
|
|
| |
DetailedError uses getLastErrorOffset, which must check the SQLite
version with versionGreaterThanOrEqualTo.
Instead of publicly exposing versionGreaterThanOrEqualTo in sqlite.zig
move DetailedError in errors.zig
|
| |
|
|
|
|
|
|
|
| |
Two cImport calls generate incompatible code: we can't use the structs
generated in sqlite.zig in functions in errors.zig for example
Up until now it wasn't actually a problem since in errors.zig we only
ever used constants which does work, but now we want to introduce
functions in this file.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|