Changeset 0dfedf2


Ignore:
Timestamp:
Jun 19, 2010 3:25:16 AM (7 years ago)
Author:
www-data <www-data@…>
Branches:
master, experimental, feature_CIS, feature_PetascopeSecore, feature_cmake, feature_rasdapy, feature_wcps2, fixes, release_8.5, release_9.0, release_9.1, release_9.2, release_9.3, release_9.4, release_9.5
Children:
6266bdb
Parents:
766755b
git-author:
Constantin <jucovschi@…> (06/19/10 03:21:26)
git-committer:
www-data <www-data@…> (06/19/10 03:25:16)
Message:

fixed bug which made server crash in release mode because of default values not being set.

Location:
server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/rasserver_config.cc

    r4532528 r0dfedf2  
    109109    cmlLog         = &cmlInter.addStringParameter('l', "log", "<log-file> log is printed to <log-file>\n\t\tif <log-file> is stdout , log output is printed to standard out", "$RMANHOME/log/<srv-name>.<pid>.log");
    110110
    111 #ifdef RMANDEBUG
    112111    cmlTileSize = &cmlInter.addLongParameter(NSN, "tilesize", "<nnnn> specifies maximal size of tiles in bytes\n\t\t-regular tiles with equal edge lengthes",  2097152);
    113112    cmlPctMin   = &cmlInter.addLongParameter(NSN, "pctmin", "<nnnn> specifies minimal size of blobtiles in bytes",  2048);
     
    136135    cmlDbg       = &cmlInter.addStringParameter('d', "debug", "<dgb-file> debug output is printed to <dbg-file>; if <dbg-file> is stdout, debug output is printed to standard out","<srv-name>.log");
    137136        cmlDbgLevel  = &cmlInter.addLongParameter(NSN, "dl", "<nn> debug level (0-4; 0 = no / 4 = maximal debug information)", 0L);
    138 #endif // RMANDEBUG
    139137 
    140138   }
     
    166164       dbConnection = cmlConnectStr->getValueAsString();
    167165
    168 #ifdef RMANDEBUG
    169166       tileSize   = cmlTileSize->getValueAsLong();
    170167       pctMin     = cmlPctMin->getValueAsLong();
     
    179176         deprecated(cmlDbg);
    180177       dbgLevel   = cmlDbgLevel->getValueAsLong();   
    181 #endif
    182178
    183179        LEAVE( "Configuration::checkParameters()" );
  • server/rasserver_config.hh

    r4532528 r0dfedf2  
    9393      CommandLineParameter *cmlLog;
    9494
    95 #ifdef RMANDEBUG
    9695      CommandLineParameter *cmlTileSize;
    9796      CommandLineParameter *cmlPctMin;
     
    104103      CommandLineParameter *cmlDbg;
    105104      CommandLineParameter *cmlDbgLevel;
    106 #endif
     105
    107106      const char* myExecutable;
    108107     
Note: See TracChangeset for help on using the changeset viewer.