Software /
code /
prosody
Diff
util/sql.lua @ 6771:60957dd5b41b
util.{interpolation,prosodyctl,sql}: Trim trailing whitespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 17 Jul 2015 12:43:04 +0200 |
parent | 6766:b38db4b634d3 |
child | 6777:5de6b93d0190 |
line wrap: on
line diff
--- a/util/sql.lua Wed Jul 08 15:25:42 2015 +0100 +++ b/util/sql.lua Fri Jul 17 12:43:04 2015 +0200 @@ -285,7 +285,7 @@ if not ok then return ok, err; end - + if driver == "MySQL" then local ok, actual_charset = self:transaction(function () return self:select"SHOW SESSION VARIABLES LIKE 'character_set_client'"; @@ -297,7 +297,7 @@ end end end - + return true; end local engine_mt = { __index = engine };