diff --git a/src/common/ownsql.cpp b/src/common/ownsql.cpp index 736f7f03f22a6..7b4fbd225dcfc 100644 --- a/src/common/ownsql.cpp +++ b/src/common/ownsql.cpp @@ -292,8 +292,6 @@ bool SqlQuery::isPragma() bool SqlQuery::exec() { - qCDebug(lcSql) << "SQL exec" << _sql; - if (!_stmt) { qCWarning(lcSql) << "Can't exec query, statement unprepared."; return false; @@ -324,8 +322,6 @@ bool SqlQuery::exec() qCWarning(lcSql) << "IOERR system errno: " << sqlite3_system_errno(_db); #endif } - } else { - qCDebug(lcSql) << "Last exec affected" << numRowsAffected() << "rows."; } return (_errId == SQLITE_DONE); // either SQLITE_ROW or SQLITE_DONE } diff --git a/src/common/ownsql.h b/src/common/ownsql.h index a3476e20d09b4..c9038d0e51065 100644 --- a/src/common/ownsql.h +++ b/src/common/ownsql.h @@ -135,20 +135,17 @@ class OCSYNC_EXPORT SqlQuery template::value, int>::type = 0> void bindValue(int pos, const T &value) { - qCDebug(lcSql) << "SQL bind" << pos << value; bindValueInternal(pos, static_cast(value)); } template::value, int>::type = 0> void bindValue(int pos, const T &value) { - qCDebug(lcSql) << "SQL bind" << pos << value; bindValueInternal(pos, value); } void bindValue(int pos, const QByteArray &value) { - qCDebug(lcSql) << "SQL bind" << pos << QString::fromUtf8(value); bindValueInternal(pos, value); }