summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2024-02-18 13:38:17 +0000
committerChristopher Baines <mail@cbaines.net>2024-04-03 17:18:39 +0100
commit511d68c71d9c676aeb3a97936a984fb95a75f5a2 (patch)
tree830d39c63b8232ea6e98bb044ac16376375169da /tests
parentcdd4a0c3c952c207ec9460c0a693cb7b30f2085a (diff)
store: database: Stop finalizing prepared statements.
Especially since we're asking for these to be cached. Management of prepared statements isn't trivial, since you don't want to keep them forever as this can lead to poor query performance, but I don't think that finalizing them immediately is the right solution. Change-Id: I61706b4d09d771835bb8f074b8f6a6ee871f5e2d * guix/store/database.scm (sqlite-step-and-reset): New procedure. (last-insert-row, path-id, update-or-insert, add-references): Don't finalize prepared statements. Change-Id: I2a2c6deb43935d67df9e43000a5105343d72b3e6
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions