[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/amarok/src
From:       Christian Muehlhaeuser <chris () chris ! de>
Date:       2004-05-31 19:48:52
Message-ID: 20040531194852.8E484126FE () office ! kde ! org
[Download RAW message or body]

CVS commit by muesli: 

Fixing sql-query.


  M +1 -1      collectiondb.cpp   1.33


--- kdeextragear-1/amarok/src/collectiondb.cpp  #1.32:1.33
@@ -136,5 +136,5 @@ CollectionDB::incSongCounter( const QStr
     {
         // entry exists, increment playcounter and update accesstime
-        execSql( QString( "REPLACE INTO statistics ( url, createdate, accessdate, \
playcounter ) VALUES ( '%1', %2, strftime('%s', 'now'), %3 );" ) +        execSql( \
QString( "REPLACE INTO statistics ( url, createdate, accessdate, playcounter ) VALUES \
                ( '%1', '%2', strftime('%s', 'now'), %3 );" )
                 .arg( escapeString( url ) )
                 .arg( values[1] )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic