Changeset 25851 for trunk/ippTools/src/chiptool.c
- Timestamp:
- Oct 15, 2009, 11:37:32 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/chiptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/chiptool.c
r25840 r25851 1377 1377 } 1378 1378 1379 if (!pxExportVersion(config, f)) { 1380 psError(PS_ERR_UNKNOWN, false, "failed to write dbversion output file"); 1381 return false; 1382 } 1383 1379 1384 psMetadata *where = psMetadataAlloc(); 1380 1385 PXOPT_COPY_S64(config->args, where, "-chip_id", "chip_id", "=="); … … 1468 1473 psVector *identifiers = psVectorAllocEmpty(16, PS_TYPE_U64); // Identifiers inserted 1469 1474 1475 psMetadataIterator *iter = psMetadataIteratorAlloc(input, PS_LIST_HEAD, NULL); // Iterator 1476 1477 if (!pxCheckImportVersion(config, input)) { 1478 psError(PS_ERR_UNKNOWN, false, "pxCheckImportVersion failed"); 1479 return false; 1480 } 1481 // first item is the dbversion, skip it 1482 psMetadataItem *dbversion = psMetadataGetAndIncrement(iter); 1483 (void) dbversion; 1484 1470 1485 if (!psDBTransaction(config->dbh)) { 1471 1486 psError(PS_ERR_UNKNOWN, false, "database error"); … … 1473 1488 } 1474 1489 1475 psMetadataIterator *iter = psMetadataIteratorAlloc(input, PS_LIST_HEAD, NULL); // Iterator1476 1490 psMetadataItem *item; // Item from iteration 1477 1491 while ((item = psMetadataGetAndIncrement(iter))) {
Note:
See TracChangeset
for help on using the changeset viewer.
