diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-01 19:47:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-01 19:47:02 +0200 |
commit | 3a21f5ef657102cd253d852cea0b511b24126a11 (patch) | |
tree | 38dce5aaed3c33102a1ad658535aa394494c7819 /plugins/mod_storage_sql.lua | |
parent | 6eff9f6d5a2a72040f663b4b194d3c54af4cf2e8 (diff) | |
download | prosody-3a21f5ef657102cd253d852cea0b511b24126a11.tar.gz prosody-3a21f5ef657102cd253d852cea0b511b24126a11.zip |
mod_storage_sql: Remove unused return values (should those actually be used?)
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r-- | plugins/mod_storage_sql.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua index da0f471c..a04a39a0 100644 --- a/plugins/mod_storage_sql.lua +++ b/plugins/mod_storage_sql.lua @@ -487,7 +487,8 @@ local function upgrade_table(engine, params, apply_changes) -- luacheck: ignore 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 |