IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 5, 2010, 2:36:09 PM (16 years ago)
Author:
rhenders
Message:

Changes to accommodate new PSPS schema.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/src/ippToPspsConfig.c

    r27433 r27607  
    4141    }
    4242
    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);
    4444
    4545    return column;
     
    709709    char** strcol = (char**)calloc(nRows, sizeof(char**));
    710710    for (uint32_t i=0; i<nRows;i++)
    711         strcol[i] = (char*)calloc(20,sizeof(char)); // TODO 20? size issue
     711        strcol[i] = (char*)calloc(50,sizeof(char)); // TODO 20? size issue
    712712
    713713    int8_t int8null = -99;
     
    776776            }
    777777
    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 );
    780781        }
    781782    }
Note: See TracChangeset for help on using the changeset viewer.