Software /
code /
prosody
Changeset
8038:cd6cef579e82
mod_storage_sql: Remove unused return values (should those actually be used?)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 01 Apr 2017 19:47:02 +0200 |
parents | 8037:5a802653d50d |
children | 8039:1f4bd8009961 8040:62c540d51d50 |
files | plugins/mod_storage_sql.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Sat Apr 01 19:45:47 2017 +0200 +++ b/plugins/mod_storage_sql.lua Sat Apr 01 19:47:02 2017 +0200 @@ -487,7 +487,8 @@ WHERE `TABLE_NAME` LIKE 'prosody%%' AND ( `CHARACTER_SET_NAME`!='%s' OR `COLLATION_NAME`!='%s_bin' ); ]]; check_encoding_query = check_encoding_query:format(engine.charset, engine.charset); - success,err = engine:transaction(function() + -- FIXME Is it ok to ignore the return values from this? + engine:transaction(function() local result = engine:execute(check_encoding_query); local n_bad_columns = result:rowcount(); if n_bad_columns > 0 then