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

Modified Files:
        pathfinder.mx 
Log Message:

to support debugging:

be more verbose about why checkpoint (subcommit) failed


Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.346
retrieving revision 1.347
diff -u -d -r1.346 -r1.347
--- pathfinder.mx       20 Apr 2007 16:23:44 -0000      1.346
+++ pathfinder.mx       20 Apr 2007 22:39:58 -0000      1.347
@@ -608,9 +608,9 @@
     commitBAT.append("uri_lifetime");
     var ok := false;
     lock_set(pf_wal);
-    CATCH(ok := subcommit(commitBAT));
+    var err := CATCH(ok := subcommit(commitBAT));
     lock_unset(pf_wal);
-    if (not(ok)) ERROR("XQDY0062: checkpoint failed, query aborted.\n");
+    if (not(ok)) ERROR(err + "XQDY0062a: checkpoint failed (in pf_checkpoint), 
query aborted.\n");
     return true;
 }
 
@@ -3529,9 +3529,9 @@
     if (pf_commit_docmgt) {
         var ok := false;
         lock_set(pf_wal);
-        CATCH(ok := subcommit(commitBAT));
+        var err := CATCH(ok := subcommit(commitBAT));
         lock_unset(pf_wal);
-        if (not(ok)) ERROR("XQDY0062: checkpoint failed, query aborted.\n");
+        if (not(ok)) ERROR(err + "XQDY0062: checkpoint failed (in 
del_doc_base), query aborted.\n");
     }
    
     if (pf_short_req) {


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