IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20201


Ignore:
Timestamp:
Oct 16, 2008, 11:02:37 AM (18 years ago)
Author:
jhoblitt
Message:

hold MySQL's hand so it doesn't puke up on itself

File:
1 edited

Legend:

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

    r20173 r20201  
    436436        }
    437437        psFree(lock_query);
     438
     439        // we must fetch the result set from aquiring the row level lock or
     440        // MySQL will barf all over us.
     441        psArray *output = p_psDBFetchResult(config->dbh);
     442        if (!output) {
     443            psError(PS_ERR_UNKNOWN, false, "database error");
     444            return false;
     445        }
     446        psFree(output);
    438447    }
    439448
Note: See TracChangeset for help on using the changeset viewer.