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 35069)
+++ /branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps.c	(revision 35070)
@@ -218,6 +218,5 @@
     // XXX check return status
     insert_detections_mysql_detvalue (&buffer, &detections[i]);
-    // if (buffer.Nbuffer > MAX_BUFFER) {
-    if (buffer.Nbuffer > 2048) {
+    if (buffer.Nbuffer > MAX_BUFFER) {
       insert_detections_mysql_commit (&buffer, mysql);
       buffer.Nbuffer = 0;
Index: /branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps_catalog.c
===================================================================
--- /branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps_catalog.c	(revision 35069)
+++ /branches/eam_branches/ipp-20121219/Ohana/src/dvopsps/src/insert_detections_dvopsps_catalog.c	(revision 35070)
@@ -1,4 +1,4 @@
 # include "dvopsps.h"
-# define DEBUG 1
+# define DEBUG 0
 
 # define MARKTIME(MSG,...) {			\
