diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-06-03 15:55:43 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-06-03 15:55:43 +0100 |
commit | 41996240ed0cc9285ecde5c68c0b5ca8bc5dcda7 (patch) | |
tree | c8f0c1cc98630e58e4f0e80582f8468230266840 /util/sql.lua | |
parent | 15e84d4ec5ec7c13ebf09507ed4fb356e6925c6c (diff) | |
download | prosody-41996240ed0cc9285ecde5c68c0b5ca8bc5dcda7.tar.gz prosody-41996240ed0cc9285ecde5c68c0b5ca8bc5dcda7.zip |
util.sql: Expose db2uri helper function
Diffstat (limited to 'util/sql.lua')
-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 8d40a3e2..768dd414 100644 --- a/util/sql.lua +++ b/util/sql.lua @@ -273,7 +273,7 @@ function engine:set_encoding() -- to UTF-8 end local engine_mt = { __index = engine }; -local function db2uri(params) +function db2uri(params) return build_url{ scheme = params.driver, user = params.username, |