Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv5533/runtime
Modified Files:
pathfinder.mx
Log Message:
make new extended error reporting also work in case there is no extra/previous
error message
Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.347
retrieving revision 1.348
diff -u -d -r1.347 -r1.348
--- pathfinder.mx 20 Apr 2007 22:39:58 -0000 1.347
+++ pathfinder.mx 20 Apr 2007 22:49:55 -0000 1.348
@@ -610,7 +610,11 @@
lock_set(pf_wal);
var err := CATCH(ok := subcommit(commitBAT));
lock_unset(pf_wal);
- if (not(ok)) ERROR(err + "XQDY0062a: checkpoint failed (in pf_checkpoint),
query aborted.\n");
+ if (not(ok)) {
+ var msg := "XQDY0062: checkpoint failed (in pf_checkpoint), query
aborted.\n";
+ if (not(isnil(err))) msg := err + msg;
+ ERROR(msg);
+ }
return true;
}
@@ -3531,7 +3535,11 @@
lock_set(pf_wal);
var err := CATCH(ok := subcommit(commitBAT));
lock_unset(pf_wal);
- if (not(ok)) ERROR(err + "XQDY0062: checkpoint failed (in
del_doc_base), query aborted.\n");
+ if (not(ok)) {
+ var msg := "XQDY0062: checkpoint failed (in del_doc_base), query
aborted.\n";
+ if (not(isnil(err))) msg := err + msg;
+ ERROR(msg);
+ }
}
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