aboutsummaryrefslogtreecommitdiff
path: root/src/sql
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-12-06 10:58:21 +0000
committerChristopher Baines <mail@cbaines.net>2020-12-06 11:03:41 +0000
commite09bc606f25bad11b39c9fae49139ac03b88697c (patch)
treebd86ee511e804f7214b3cecd888dad6f129f8c16 /src/sql
parent01b47916e290051611fab4a3bda6343c4a66def4 (diff)
downloadcuirass-sqlite-statement-reset-fixes.tar
cuirass-sqlite-statement-reset-fixes.tar.gz
Fix using sqlite-reset in a few queriessqlite-statement-reset-fixes
Rather than calling sqlite-reset before reading the rows, call sqlite-reset after. I think this is important to stop SQLite getting stuck because the statement is still live even though it's not being read from after these procedures return. Assuming I've got the ordering right, I think using sqlite-fold-right directly is simpler code as well.
Diffstat (limited to 'src/sql')
0 files changed, 0 insertions, 0 deletions