summaryrefslogtreecommitdiff
path: root/libopie2
authoreilers <eilers>2004-05-04 18:49:04 (UTC)
committer eilers <eilers>2004-05-04 18:49:04 (UTC)
commitf1a3fc696787ae946464469b3f252aa425dbe51b (patch) (side-by-side diff)
treef06602aae8935b3a0d186c921cbdde61c045bcf1 /libopie2
parent04a7f91591987c01d312fbcaf6554ec6d728554d (diff)
downloadopie-f1a3fc696787ae946464469b3f252aa425dbe51b.zip
opie-f1a3fc696787ae946464469b3f252aa425dbe51b.tar.gz
opie-f1a3fc696787ae946464469b3f252aa425dbe51b.tar.bz2
Minor modification in debug output
Diffstat (limited to 'libopie2') (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
@@ -225,8 +225,10 @@ OPimEvent ODateBookAccessBackend_SQL::find( int uid ) const{
QString qu = "select *";
qu += "from datebook where uid = " + QString::number(uid);
+ qDebug( "Query: %s", qu.latin1() );
+
OSQLRawQuery raw( qu );
OSQLResult res = m_driver->query( &raw );
OSQLResultItem resItem = res.first();
@@ -244,9 +246,9 @@ OPimEvent ODateBookAccessBackend_SQL::find( int uid ) const{
// Last step: Put map into date event, add custom map and return it
OPimEvent retDate( dateEventMap );
retDate.setExtraMap( requestCustom( uid ) );
- qDebug( "ODateBookAccessBackend_SQL::find() end", uid );
+ qDebug( "ODateBookAccessBackend_SQL::find( %d ) end", uid );
return retDate;
}
// FIXME: Speed up update of uid's..