diff options
author | Waqas Hussain <waqas20@gmail.com> | 2014-12-16 18:33:54 -0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2014-12-16 18:33:54 -0500 |
commit | 6db8f941f1437a02b380710df0e22e2a5e76568d (patch) | |
tree | dcafd2057d83c1a967fe5381adba1478d7e22001 /util | |
parent | ac568342e55017173a1751565ba4ab18f7f0e11e (diff) | |
parent | 7aa032e7652834c2feac726ed1276c941e1dfb3f (diff) | |
download | prosody-6db8f941f1437a02b380710df0e22e2a5e76568d.tar.gz prosody-6db8f941f1437a02b380710df0e22e2a5e76568d.zip |
Merge 0.10 -> trunk
Diffstat (limited to 'util')
-rw-r--r-- | util/sql.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sql.lua b/util/sql.lua index 5a1dda5d..453597da 100644 --- a/util/sql.lua +++ b/util/sql.lua @@ -156,6 +156,7 @@ function engine:connect() dbh:autocommit(false); -- don't commit automatically self.conn = dbh; self.prepared = {}; + self:set_encoding(); return true; end function engine:execute(sql, ...) |