aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_queue_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-06-10 22:20:26 +0200
committerKim Alvefur <zash@zash.se>2023-06-10 22:20:26 +0200
commitdd37d17425c58e539c7aa19d30edf194b2c8f071 (patch)
treebf836954807ffac2b2f9965d01b3dcff3efa0e71 /spec/util_queue_spec.lua
parent95687d9ddd62821e26ad417aa6caa2a9ce85694e (diff)
downloadprosody-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_queue_spec.lua')
0 files changed, 0 insertions, 0 deletions