author | eilers <eilers> | 2004-05-04 18:49:04 (UTC) |
---|---|---|
committer | eilers <eilers> | 2004-05-04 18:49:04 (UTC) |
commit | f1a3fc696787ae946464469b3f252aa425dbe51b (patch) (unidiff) | |
tree | f06602aae8935b3a0d186c921cbdde61c045bcf1 | |
parent | 04a7f91591987c01d312fbcaf6554ec6d728554d (diff) | |
download | opie-f1a3fc696787ae946464469b3f252aa425dbe51b.zip opie-f1a3fc696787ae946464469b3f252aa425dbe51b.tar.gz opie-f1a3fc696787ae946464469b3f252aa425dbe51b.tar.bz2 |
Minor modification in debug output
-rw-r--r-- | libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp | 4 |
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{ | |||
225 | 225 | ||
226 | QString qu = "select *"; | 226 | QString qu = "select *"; |
227 | qu += "from datebook where uid = " + QString::number(uid); | 227 | qu += "from datebook where uid = " + QString::number(uid); |
228 | 228 | ||
229 | qDebug( "Query: %s", qu.latin1() ); | ||
230 | |||
229 | OSQLRawQuery raw( qu ); | 231 | OSQLRawQuery raw( qu ); |
230 | OSQLResult res = m_driver->query( &raw ); | 232 | OSQLResult res = m_driver->query( &raw ); |
231 | 233 | ||
232 | OSQLResultItem resItem = res.first(); | 234 | OSQLResultItem resItem = res.first(); |
@@ -244,9 +246,9 @@ OPimEvent ODateBookAccessBackend_SQL::find( int uid ) const{ | |||
244 | // Last step: Put map into date event, add custom map and return it | 246 | // Last step: Put map into date event, add custom map and return it |
245 | OPimEvent retDate( dateEventMap ); | 247 | OPimEvent retDate( dateEventMap ); |
246 | retDate.setExtraMap( requestCustom( uid ) ); | 248 | retDate.setExtraMap( requestCustom( uid ) ); |
247 | 249 | ||
248 | qDebug( "ODateBookAccessBackend_SQL::find() end", uid ); | 250 | qDebug( "ODateBookAccessBackend_SQL::find( %d ) end", uid ); |
249 | return retDate; | 251 | return retDate; |
250 | } | 252 | } |
251 | 253 | ||
252 | // FIXME: Speed up update of uid's.. | 254 | // FIXME: Speed up update of uid's.. |