contentstorage/castorage/src/casqlquery.cpp
changeset 127 7b66bc3c6dc9
parent 119 50e220be30d1
equal deleted inserted replaced
126:efda7c0771b9 127:7b66bc3c6dc9
   248 
   248 
   249 // ---------------------------------------------------------------------------
   249 // ---------------------------------------------------------------------------
   250 //
   250 //
   251 // ---------------------------------------------------------------------------
   251 // ---------------------------------------------------------------------------
   252 //
   252 //
   253 void CCaSqlQuery::BindValuesForLaunchL( const TInt aEntryId,
   253 void CCaSqlQuery::BindValuesForTouchL( const TInt aEntryId )
   254         const TInt64 aLaunchTime )
   254     {
   255     {
   255     if( iQuery.Find( KSQLEntryId ) != KErrNotFound )
   256     if( iQuery.Find( KSQLLaLaunchEntryId ) != KErrNotFound )
   256         {
   257         {
   257         BindIntL( iStatement.ParameterIndex( KSQLEntryId ), aEntryId );
   258         BindIntL( iStatement.ParameterIndex( 
       
   259                 KSQLLaLaunchEntryId ), aEntryId );
       
   260         }
       
   261     if( iQuery.Find( KSQLLaLaunchTime ) != KErrNotFound )
       
   262         {
       
   263         BindInt64L( iStatement.ParameterIndex( 
       
   264                 KSQLLaLaunchTime ), aLaunchTime );
       
   265         }
   258         }
   266     if( iQuery.Find( KSQLEnFlags ) != KErrNotFound )
   259     if( iQuery.Find( KSQLEnFlags ) != KErrNotFound )
   267         {
   260         {
   268         BindIntL( iStatement.ParameterIndex( KSQLEnFlags ), EUsed );
   261         BindIntL( iStatement.ParameterIndex( KSQLEnFlags ), EUsed );
   269         }
   262         }