--- a/contentstorage/castorage/src/casqlquery.cpp Wed Jun 23 18:33:40 2010 +0300
+++ b/contentstorage/castorage/src/casqlquery.cpp Tue Jul 06 14:37:10 2010 +0300
@@ -480,6 +480,12 @@
BindIntL( iStatement.ParameterIndex( KSQLGEIdGroup ),
aQuery->GetParentId() );
}
+ if( aQuery->GetChildId() != -1 && iQuery.Find( KSQLGEEntryId )
+ != KErrNotFound )
+ {
+ BindIntL( iStatement.ParameterIndex( KSQLGEEntryId ),
+ aQuery->GetChildId() );
+ }
if( aQuery->GetUid() != 0 && iQuery.Find( KSQLEnUid )
!= KErrNotFound )
{