Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv18361/runtime

Modified Files:
        pathfinder.mx 
Log Message:

fixed compilation of Pathfinder after Peter's yesterday's changes:
new functions MT_locktrace_start() & MT_locktrace_end()
are only available if compiled with -DMT_LOCK_TRACE


Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.325
retrieving revision 1.326
diff -u -d -r1.325 -r1.326
--- pathfinder.mx       9 Apr 2007 21:44:58 -0000       1.325
+++ pathfinder.mx       10 Apr 2007 08:13:49 -0000      1.326
@@ -5552,7 +5552,9 @@
                 p++;
                 switch(*p) {
                 case 'p': /* profile */
+#ifdef MT_LOCK_TRACE
                         if (genType != buf) MT_locktrace_start();
+#endif
                         genType = buf; /* now includes "timing-" prefix */
                         break;
                 case 'o': /* output format */
@@ -5629,7 +5631,9 @@
         xquery_client_reset(ctx, NULL); 
     }
     xquery_client_end(mc, msg); 
+#ifdef MT_LOCK_TRACE
     if (genType == buf) MT_locktrace_end();
+#endif
 }
 
 void 


-------------------------------------------------------------------------
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