-#if 0
- try
- {
-#endif
- aMetaRecord.unpackRecord(aRecordSection, recordAllocator,
- &aRecordAttributeData, NULL, 0);
- // Create the attribute coresponding to this entry
- if (aRecordData[0].size() != 1 || aRecordData[0].format() != CSSM_DB_ATTRIBUTE_FORMAT_UINT32)
- CssmError::throwMe(CSSMERR_DL_DATABASE_CORRUPT);
- uint32 aRelationId = aRecordData[0];
-
- // Skip the schema relations for the meta tables themselves.
- // FIXME: this hard-wires the meta-table relation IDs to be
- // within {CSSM_DB_RECORDTYPE_SCHEMA_START...
- // CSSM_DB_RECORDTYPE_SCHEMA_END} (which is {0..4}).
- // Bogus - the MDS schema relation IDs start at
- // CSSM_DB_RELATIONID_MDS_START which is 0x40000000.
- // Ref. Radar 2817921.
- if (CSSM_DB_RECORDTYPE_SCHEMA_START <= aRelationId && aRelationId < CSSM_DB_RECORDTYPE_SCHEMA_END)
- continue;
-
- // Get the MetaRecord corresponding to the specified RelationId
- MetaRecord &aMetaRecord = findTable(aRelationId).getMetaRecord();
-
- if (aRecordData[1].size() != 1
- || aRecordData[1].format() != CSSM_DB_ATTRIBUTE_FORMAT_UINT32
- || aRecordData[2].size() != 1
- || aRecordData[2].format() != CSSM_DB_ATTRIBUTE_FORMAT_UINT32
- || aRecordData[5].size() != 1
- || aRecordData[5].format() != CSSM_DB_ATTRIBUTE_FORMAT_UINT32)
- CssmError::throwMe(CSSMERR_DL_DATABASE_CORRUPT);
+ aMetaRecord.unpackRecord(aRecordSection, recordAllocator,
+ &aRecordAttributeData, NULL, 0);
+ // Create the attribute coresponding to this entry
+ if (aRecordData[0].size() != 1 || aRecordData[0].format() != CSSM_DB_ATTRIBUTE_FORMAT_UINT32)
+ CssmError::throwMe(CSSMERR_DL_DATABASE_CORRUPT);
+ uint32 aRelationId = aRecordData[0];
+
+ // Skip the schema relations for the meta tables themselves.
+ // FIXME: this hard-wires the meta-table relation IDs to be
+ // within {CSSM_DB_RECORDTYPE_SCHEMA_START...
+ // CSSM_DB_RECORDTYPE_SCHEMA_END} (which is {0..4}).
+ // Bogus - the MDS schema relation IDs start at
+ // CSSM_DB_RELATIONID_MDS_START which is 0x40000000.
+ // Ref. Radar 2817921.
+ if (CSSM_DB_RECORDTYPE_SCHEMA_START <= aRelationId && aRelationId < CSSM_DB_RECORDTYPE_SCHEMA_END)
+ continue;