Changeset 27607 for trunk/ippToPsps/src/ippToPspsConfig.c
- Timestamp:
- Apr 5, 2010, 2:36:09 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/src/ippToPspsConfig.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/src/ippToPspsConfig.c
r27433 r27607 41 41 } 42 42 43 if (!column) psError(PS_ERR_IO, false, "Could not find column '%s' ",name);43 if (!column) psError(PS_ERR_IO, false, "Could not find column '%s' in table '%s'", name, table->name); 44 44 45 45 return column; … … 709 709 char** strcol = (char**)calloc(nRows, sizeof(char**)); 710 710 for (uint32_t i=0; i<nRows;i++) 711 strcol[i] = (char*)calloc( 20,sizeof(char)); // TODO 20? size issue711 strcol[i] = (char*)calloc(50,sizeof(char)); // TODO 20? size issue 712 712 713 713 int8_t int8null = -99; … … 776 776 } 777 777 778 if (readStatus) psError(PS_ERR_IO, false, "Unable to read col num '%d' col name '%s'", table->columns[i].ippColNum, table->columns[i].ippName ); 779 if (writeStatus) psError(PS_ERR_IO, false, "Unable to write col '%s'", table->columns[i].pspsName ); 778 // TODO need these errors, but strange error handling runs out of memory 779 //if (readStatus) psError(PS_ERR_IO, false, "Unable to read col num '%d' col name '%s'", table->columns[i].ippColNum, table->columns[i].ippName ); 780 //if (writeStatus) psError(PS_ERR_IO, false, "Unable to write col '%s'", table->columns[i].pspsName ); 780 781 } 781 782 }
Note:
See TracChangeset
for help on using the changeset viewer.
