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 | c57a486144a2dd64276afd826af3e23e9ac2e168 (patch) | |
tree | c8f0c1cc98630e58e4f0e80582f8468230266840 /util | |
parent | ac11127ab21e1313052897810a22dfbb82704a1d (diff) | |
download | prosody-c57a486144a2dd64276afd826af3e23e9ac2e168.tar.gz prosody-c57a486144a2dd64276afd826af3e23e9ac2e168.zip |
util.sql: Expose db2uri helper function
Diffstat (limited to 'util')
-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, |