mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-07-31 11:20:22 +02:00
* Stop logging every query.
This commit is contained in:
@@ -88,7 +88,6 @@ TomahawkSqlQuery::exec()
|
||||
showError();
|
||||
|
||||
int e = t.elapsed();
|
||||
|
||||
if ( log || e >= QUERY_THRESHOLD )
|
||||
tLog( LOGSQL ) << "TomahawkSqlQuery::exec (" << t.elapsed() << "ms ):" << lastQuery();
|
||||
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <QSqlDriver>
|
||||
#include <QSqlQuery>
|
||||
|
||||
#define TOMAHAWK_QUERY_ANALYZE 1
|
||||
//#define TOMAHAWK_QUERY_ANALYZE 1
|
||||
|
||||
class TomahawkSqlQuery : public QSqlQuery
|
||||
{
|
||||
|
Reference in New Issue
Block a user