Software /
code /
prosody
Changeset
13716:953108962cd0
Merge 13.0->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 16 Feb 2025 11:57:18 +0100 |
parents | 13714:7205da981fc2 (current diff) 13715:edd006093533 (diff) |
children | 13721:8170dd8f370c |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/util/sql.lua Sat Feb 15 17:13:23 2025 +0000 +++ b/util/sql.lua Sun Feb 16 11:57:18 2025 +0100 @@ -84,7 +84,7 @@ 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;