Software /
code /
prosody
Diff
plugins/mod_storage_sql2.lua @ 6532:a966efeb6cb3
mod_storage_sql2, util.sql: Set character encoding on every connect
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Dec 2014 09:18:39 +0100 |
parent | 6282:bce801e40484 |
child | 6534:b89406fa076c |
child | 6724:a8dbfa14e1a8 |
child | 6736:4aee55c0cc5c |
line wrap: on
line diff
--- a/plugins/mod_storage_sql2.lua Tue Dec 09 19:36:34 2014 +0100 +++ b/plugins/mod_storage_sql2.lua Thu Dec 11 09:18:39 2014 +0100 @@ -113,8 +113,6 @@ --local dburi = db2uri(params); engine = mod_sql:create_engine(params); - engine:set_encoding(); - if module:get_option("sql_manage_tables", true) then -- Automatically create table, ignore failure (table probably already exists) create_table();