projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67fab96
)
util.sql: Expose db2uri helper function
author
Matthew Wild
<mwild1@gmail.com>
Wed, 3 Jun 2015 14:55:43 +0000
(15:55 +0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 3 Jun 2015 14:55:43 +0000
(15:55 +0100)
util/sql.lua
patch
|
blob
|
history
diff --git
a/util/sql.lua
b/util/sql.lua
index 8d40a3e215f9b43cec01644a04e82e6019a86f62..768dd414983e1e2973baaf561400f123582a55a3 100644
(file)
--- 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,