diff options
author | Kim Alvefur <zash@zash.se> | 2025-02-16 11:57:18 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2025-02-16 11:57:18 +0100 |
commit | 5c2dbef89da68a8a8312a399649429cad721f6cb (patch) | |
tree | ef5a779b87d12a8c957c5f82d6f6e5483fa3bb63 | |
parent | 1b8170a1d26f390fe63ee15ef12b7e5fb63ba693 (diff) | |
parent | 037c70246dc7715c896e00b3d177d61499c9d7ee (diff) | |
download | prosody-5c2dbef89da68a8a8312a399649429cad721f6cb.tar.gz prosody-5c2dbef89da68a8a8312a399649429cad721f6cb.zip |
Merge 13.0->trunk
-rw-r--r-- | util/sql.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sql.lua b/util/sql.lua index 2f0ec493..06550455 100644 --- a/util/sql.lua +++ b/util/sql.lua @@ -84,7 +84,7 @@ function engine:connect() dbh:autocommit(false); -- don't commit automatically self.conn = dbh; self.prepared = {}; - if params.password then + if params.driver == "SQLite3" and params.password then local ok, err = self:execute(("PRAGMA key='%s'"):format(dbh:quote(params.password))); if not ok then return ok, err; |