contentstorage/castorage/src/casqlquery.cpp
changeset 99 7aaf39b772ac
parent 94 dbb8300717f7
child 119 50e220be30d1
--- 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 )
             {