IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23630


Ignore:
Timestamp:
Mar 31, 2009, 12:25:52 PM (17 years ago)
Author:
Paul Price
Message:

template_warp_id is a string.
Haven't I made this change before???

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/difftool.c

    r23506 r23630  
    13841384        psS64 exp_id = psMetadataLookupS64(NULL, row, "input_exp_id");
    13851385        psS64 input_id = psMetadataLookupS64(NULL, row, "input_warp_id");
    1386         psS64 template_id = psMetadataLookupS64(NULL, row, "template_warp_id");
     1386        const char *template = psMetadataLookupStr(NULL, row, "template_warp_id");
    13871387        const char *tess_id = psMetadataLookupStr(NULL, row, "tess_id");
    13881388        if (!exp_id || !input_id || !template_id || !tess_id) {
     
    14131413
    14141414        // Convert identifiers to string, for insertion into query
    1415         psString diff = NULL, input = NULL, template = NULL; // String versions of identifiers
     1415        psString diff = NULL, input = NULL; // String versions of identifiers
    14161416        psStringAppend(&diff, "%" PRId64, run->diff_id);
    14171417        psStringAppend(&input, "%" PRId64, input_id);
    1418         psStringAppend(&template, "%" PRId64, template_id);
    14191418
    14201419        if (!p_psDBRunQueryF(config->dbh, insert, diff, input, template, input, template)) {
Note: See TracChangeset for help on using the changeset viewer.