diff options
author | Christopher Baines <mail@cbaines.net> | 2020-12-06 10:58:21 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2020-12-06 11:03:41 +0000 |
commit | e09bc606f25bad11b39c9fae49139ac03b88697c (patch) | |
tree | bd86ee511e804f7214b3cecd888dad6f129f8c16 /doc | |
parent | 01b47916e290051611fab4a3bda6343c4a66def4 (diff) | |
download | cuirass-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 'doc')
0 files changed, 0 insertions, 0 deletions