mtpfws/mtpfw/src/cmtpreferencemgr.cpp
changeset 52 866b4af7ffbe
parent 49 c20dd21d1eb4
equal deleted inserted replaced
51:64200268cac2 52:866b4af7ffbe
   174 		}
   174 		}
   175 	if(!DBUtility::IsIndexExistsL(*iDatabase, KSQLReferenceTableName, KSQLReferenceIndexName))
   175 	if(!DBUtility::IsIndexExistsL(*iDatabase, KSQLReferenceTableName, KSQLReferenceIndexName))
   176 		{
   176 		{
   177 		CreateIndexL();
   177 		CreateIndexL();
   178 		}
   178 		}
   179 	iBatched.Open(*iDatabase, KSQLReferenceTableName, RDbRowSet::EUpdatable);
   179 	User::LeaveIfError(iBatched.Open(*iDatabase, KSQLReferenceTableName, RDbRowSet::EUpdatable));
   180 	iBatched.SetIndex( KSQLReferenceIndexName ); 
   180 	iBatched.SetIndex( KSQLReferenceIndexName ); 
   181 	}
   181 	}
   182 
   182 
   183 /**
   183 /**
   184 Create the reference table in the database
   184 Create the reference table in the database