Software /
code /
prosody
Changeset
7175:3e7c69190193
mod_storage_sql: Remove debug logging of archive queries
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 21 Feb 2016 19:29:00 +0100 |
parents | 7174:d350e475f94e |
children | 7176:b8bbd5f91ad9 |
files | plugins/mod_storage_sql.lua |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Sun Feb 21 19:25:01 2016 +0100 +++ b/plugins/mod_storage_sql.lua Sun Feb 21 19:29:00 2016 +0100 @@ -275,7 +275,6 @@ end sql_query = sql_query:format(t_concat(where, " AND "), query.reverse and "DESC" or "ASC", query.limit and " LIMIT ?" or ""); - module:log("debug", sql_query); return engine:select(sql_query, unpack(args)); end); if not ok then return ok, result end @@ -301,7 +300,6 @@ archive_where(query, args, where); archive_where_id_range(query, args, where); sql_query = sql_query:format(t_concat(where, " AND ")); - module:log("debug", sql_query); return engine:delete(sql_query, unpack(args)); end); end