contentstorage/castorage/src/casqlquery.cpp
changeset 119 50e220be30d1
parent 99 7aaf39b772ac
child 127 7b66bc3c6dc9
equal deleted inserted replaced
116:305818acdca4 119:50e220be30d1
   312 // ---------------------------------------------------------------------------
   312 // ---------------------------------------------------------------------------
   313 //
   313 //
   314 void CCaSqlQuery::BindTextL( TInt aParameterIndex,
   314 void CCaSqlQuery::BindTextL( TInt aParameterIndex,
   315         const TDesC& aParameterValue )
   315         const TDesC& aParameterValue )
   316     {
   316     {
   317     User::LeaveIfError( iStatement.BindText( aParameterIndex,
   317     if( aParameterValue.Length() )
   318             aParameterValue ) );
   318         {
       
   319         User::LeaveIfError( iStatement.BindText( aParameterIndex, 
       
   320                 aParameterValue ) );
       
   321         }
       
   322     else
       
   323         {
       
   324         User::LeaveIfError( iStatement.BindNull( aParameterIndex) );
       
   325         }
   319     }
   326     }
   320 
   327 
   321 // ---------------------------------------------------------------------------
   328 // ---------------------------------------------------------------------------
   322 //
   329 //
   323 // ---------------------------------------------------------------------------
   330 // ---------------------------------------------------------------------------