IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 19, 2008, 10:09:10 AM (18 years ago)
Author:
eugene
Message:

re-vamping config to define user/site/system

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080219/ippTools/src/pxtables.c

    r16508 r16542  
    114114    PS_ASSERT_PTR_NON_NULL(config, false);
    115115
    116     psString dbName = psMetadataLookupStr(&status, config->modules->site, "DBNAME");
     116    // XXX use the values defined in config->dbh?
     117    psString dbName = psMetadataLookupStr(&status, config->modules->xxSite, "DBNAME");
    117118
    118119    fprintf (stdout, "*** delete the chip tables from database %s? ***\n", dbName);
     
    134135    {
    135136        bool status;
    136         psString dbPassword = psMetadataLookupStr(&status, config->modules->site, "DBPASSWORD");
     137        psString dbPassword = psMetadataLookupStr(&status, config->modules->xxSite, "DBPASSWORD");
    137138        if (strcmp (answer, dbPassword)) {
    138139            psError(PS_ERR_UNKNOWN, true, "tables NOT deleleted");
Note: See TracChangeset for help on using the changeset viewer.