--- a/contentstorage/castorage/src/casqlquery.cpp Fri Jun 11 16:13:51 2010 +0300
+++ b/contentstorage/castorage/src/casqlquery.cpp Thu Jun 24 16:18:29 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 )
{