Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5465

Modified Files:
        shttpd.c 
Log Message:
- valgrind says the disconnnect should not be done
  (and it crashes on concurrent dense load)



Index: shttpd.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/shttpd.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- shttpd.c    26 Mar 2007 11:02:38 -0000      1.28
+++ shttpd.c    7 Apr 2007 00:55:11 -0000       1.29
@@ -2978,10 +2978,9 @@
                         * If the connection is removed, keep the previous
                         * connection in chain (pc) unchanged.
                         */
-            if ( (c->flags & FLAG_FINISHED) ||
-                    ((c->io != do_embedded) && c->expire < now) )
-                disconnect(c, pc);
-            else
+            if ( (c->flags & FLAG_FINISHED) || ((c->io != do_embedded) && 
c->expire < now) ) {
+                if (0) disconnect(c, pc); 
+            } else
                 pc = c;
                }
        }


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to