equal
deleted
inserted
replaced
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 |