contentstorage/castorage/src/casqlquery.cpp
changeset 104 9b022b1f357c
parent 80 397d00875918
child 124 e36b2f4799c0
--- 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 )
             {