From 45b10435dfd52895bbf281c176904dae89b5f2fa Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 21 Jun 2012 17:59:51 -0400 Subject: [PATCH] Add further query debugging --- src/libtomahawk/database/TomahawkSqlQuery.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libtomahawk/database/TomahawkSqlQuery.cpp b/src/libtomahawk/database/TomahawkSqlQuery.cpp index 951f5beeb..ff2c52d55 100644 --- a/src/libtomahawk/database/TomahawkSqlQuery.cpp +++ b/src/libtomahawk/database/TomahawkSqlQuery.cpp @@ -54,7 +54,8 @@ TomahawkSqlQuery::escape( QString identifier ) bool TomahawkSqlQuery::exec( const QString& query ) { - prepare( query ); + bool prepareResult = prepare( query ); + tDebug( LOGVERBOSE ) << Q_FUNC_INFO << "Query preparation successful?" << ( prepareResult ? "true" : "false" ); return exec(); }