Changeset 31800 for trunk/ippTools/src/dqstatstool.c
- Timestamp:
- Jun 30, 2011, 12:47:39 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dqstatstool.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dqstatstool.c
r31798 r31800 622 622 } 623 623 else if (!strcmp(colType,"PS_DATA_STRING")) { 624 if (rowItem->data.str ) {625 success = psMetadataAddStr(tableRow,PS_LIST_TAIL,colName,0,"",rowItem->data.str);626 } else {624 if (rowItem->data.str == NULL) { 625 // psFits blows up on a string with a null value. 626 // Arguably I should fix psLib.db should handle this 627 627 rowItem->data.str = psStringCopy("NULL"); 628 success = psMetadataAddStr(tableRow,PS_LIST_TAIL,colName,0,"",rowItem->data.str);629 628 } 629 success = psMetadataAddStr(tableRow,PS_LIST_TAIL,colName,0,"",rowItem->data.str); 630 630 } 631 631 else if (!strcmp(colType,"PS_DATA_TIME")) {
Note:
See TracChangeset
for help on using the changeset viewer.
