zigqlite

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

14 check-ins

2024-06-11
02:20
update to build with Zig 0.12 Leaf check-in: 83800b05d1 user: javier tags: trunk
2023-03-06
01:42
fixed `db.query` shortcut the `Cursor` object grabs a pointer to the `Stmt`, but it was returned from the `DB.query` function, while the `Stmt` was a local variable. It was still "readable" from the calling function, but it was already undefined memory. When calling something else (`c.fetch` in this case), it was overwritten. The solution is to allocate the `Stmt`, and set the `Cursor` to release it when reaching the end. unrelated: `std.mem.span` is now much less wide in the types it accepts, so it's necessary to handle the other "easier" cases specifically. check-in: deaf2d1a91 user: javier tags: trunk
01:23
new build.zig style check-in: f66a9b0fc6 user: javier tags: trunk
2022-02-28
07:53
update zig, "allocgate" and very different on passing tuple values check-in: b9849f5d30 user: javier tags: trunk
07:52
update zigmod, regen deps.zig check-in: 9751bab942 user: javier tags: trunk
2021-09-01
00:25
update zig (chasing master) check-in: 1879fa6818 user: javier tags: trunk
2021-08-31
23:58
add zigmod definition check-in: 6ebd659d89 user: javier tags: trunk
2020-11-04
04:46
remove use of "shortcut functions" for `db.exec()` and `db.exec_cb()`. just creating an internal statement is much saner. it also allows for parameter binding. check-in: aa2712db7a user: javier tags: trunk
2020-10-29
02:23
iteration style: `while (try curs.fetch()) |row| {...}` The outer type of `curs.fetch()` is an error union to catch "real" errors. Unwrapping that leaves the optional result (where `null` signals "done") to iterate nicely. check-in: 99925c5621 user: javier tags: trunk
02:10
change the result of each `curs.fetch()`, "done" is an error, not a `null` Leaf check-in: 2bec79ab54 user: javier tags: done-is-error
01:08
* support float result columns * fill extra fields with struct's default value * add test with iterating cursor check-in: 51f2fd5683 user: javier tags: trunk
2020-10-28
06:58
added build script check-in: 3c8685b040 user: javier tags: trunk
06:33
initial non-empty check-in: f7994ff68b user: javier tags: trunk
05:45
initial empty check-in check-in: 5fa1146dba user: javier tags: trunk