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

Modified Files:
        pathfinder.mx 
Log Message:

made CATCH for loading pftijah "conditional":

it no only ignored the error is module pftijah is not available at all;
other errors are reported (mainly for debugging convenience)


Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.357
retrieving revision 1.358
diff -u -d -r1.357 -r1.358
--- pathfinder.mx       3 May 2007 23:29:25 -0000       1.357
+++ pathfinder.mx       7 May 2007 10:10:19 -0000       1.358
@@ -72,7 +72,12 @@
 const XQUERY_STATUS_READY        := 3; 
 var xquery_status := XQUERY_STATUS_INITIALIZING;
 
-CATCH(module("pftijah")); # load pftijah only if available
+var CATCH_module_pftiah := CATCH(module("pftijah")); # load pftijah only if 
available
+if (not(isnil(CATCH_module_pftiah))) {
+    if (trim(CATCH_module_pftiah) != "!ERROR: moduleClient: module(pftijah) 
load error.") {
+        ERROR("pathfinder: when trying to load module 'pftijah':\n" + 
CATCH_module_pftiah);
+    }
+}
 
 module(mapi);       # remote client access
 module(pf_support);


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to