From 2d59206551b8daf44888f8c3176e70911845b170 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 11 Dec 2014 09:18:39 +0100 Subject: mod_storage_sql2, util.sql: Set character encoding on every connect --- plugins/mod_storage_sql2.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/mod_storage_sql2.lua') diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua index 0531c905..d5e0494f 100644 --- a/plugins/mod_storage_sql2.lua +++ b/plugins/mod_storage_sql2.lua @@ -113,8 +113,6 @@ do -- process options to get a db connection --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(); -- cgit v1.2.3