diff options
author | Kim Alvefur <zash@zash.se> | 2023-06-10 22:20:26 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-06-10 22:20:26 +0200 |
commit | dd37d17425c58e539c7aa19d30edf194b2c8f071 (patch) | |
tree | bf836954807ffac2b2f9965d01b3dcff3efa0e71 /spec/util_rfc6724_spec.lua | |
parent | 95687d9ddd62821e26ad417aa6caa2a9ce85694e (diff) | |
download | prosody-dd37d17425c58e539c7aa19d30edf194b2c8f071.tar.gz prosody-dd37d17425c58e539c7aa19d30edf194b2c8f071.zip |
util.sqlite3: Don't cache prepared statements for one-off queries
The :execute method is mainly used for one-off queries such as creating
tables and indices. There is no need to cache this prepared statement,
as those queries are only done on startup.
Further, prepared statements can't be reused without being reset, so
this was likely broken anyway.
Diffstat (limited to 'spec/util_rfc6724_spec.lua')
0 files changed, 0 insertions, 0 deletions