Index: branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps.c
===================================================================
--- branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps.c	(revision 35077)
+++ branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps.c	(revision 35078)
@@ -42,5 +42,5 @@
   MYSQL  mysqlBase;
   MYSQL *mysqlReal = NULL;
-  if (!SAVE_REMOTE) {
+  if (!PARALLEL || !SAVE_REMOTE) {
     mysqlReal = mysql_dvopsps_connect (&mysqlBase);
     if (!mysqlReal) {
@@ -102,6 +102,4 @@
   return (TRUE);
 }      
-
-# define DEBUG 1
 
 int insert_detections_dvopsps_parallel (SkyTable *sky) {
@@ -155,5 +153,5 @@
       int pid = rconnect ("ssh", table->hosts[i].hostname, command, table->hosts[i].stdio, &errorInfo, FALSE);
       if (!pid) {
-	if (DEBUG) fprintf (stderr, "failure to start %s (error %d)\n", table->hosts[i].hostname, errorInfo);
+	fprintf (stderr, "failure to start %s (error %d)\n", table->hosts[i].hostname, errorInfo);
 	exit (1);
       }
