IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 31, 2013, 5:49:29 PM (13 years ago)
Author:
eugene
Message:

mysql connection needed for non-parallel ops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps.c

    r35071 r35078  
    4242  MYSQL  mysqlBase;
    4343  MYSQL *mysqlReal = NULL;
    44   if (!SAVE_REMOTE) {
     44  if (!PARALLEL || !SAVE_REMOTE) {
    4545    mysqlReal = mysql_dvopsps_connect (&mysqlBase);
    4646    if (!mysqlReal) {
     
    102102  return (TRUE);
    103103}     
    104 
    105 # define DEBUG 1
    106104
    107105int insert_detections_dvopsps_parallel (SkyTable *sky) {
     
    155153      int pid = rconnect ("ssh", table->hosts[i].hostname, command, table->hosts[i].stdio, &errorInfo, FALSE);
    156154      if (!pid) {
    157         if (DEBUG) fprintf (stderr, "failure to start %s (error %d)\n", table->hosts[i].hostname, errorInfo);
     155        fprintf (stderr, "failure to start %s (error %d)\n", table->hosts[i].hostname, errorInfo);
    158156        exit (1);
    159157      }
Note: See TracChangeset for help on using the changeset viewer.