summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp
index 495a8dd..6c32b40 100644
--- a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp
+++ b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp
@@ -227,4 +227,6 @@ OPimEvent ODateBookAccessBackend_SQL::find( int uid ) const{
qu += "from datebook where uid = " + QString::number(uid);
+ qDebug( "Query: %s", qu.latin1() );
+
OSQLRawQuery raw( qu );
OSQLResult res = m_driver->query( &raw );
@@ -246,5 +248,5 @@ OPimEvent ODateBookAccessBackend_SQL::find( int uid ) const{
retDate.setExtraMap( requestCustom( uid ) );
- qDebug( "ODateBookAccessBackend_SQL::find() end", uid );
+ qDebug( "ODateBookAccessBackend_SQL::find( %d ) end", uid );
return retDate;
}