Changeset: a071add88616 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=a071add88616
Modified Files:
clients/src/mapiclient/mclient.c
Branch: Oct2010
Log Message:
Use mapi_explain* for all error reporting.
This fixes many errors in pathfinder testing.
diffs (22 lines):
diff -r c0b19ee803ad -r a071add88616 clients/src/mapiclient/mclient.c
--- a/clients/src/mapiclient/mclient.c Tue Sep 28 16:40:08 2010 +0200
+++ b/clients/src/mapiclient/mclient.c Tue Sep 28 16:40:51 2010 +0200
@@ -1365,15 +1365,10 @@
do {
/* handle errors first */
if ((reply = mapi_result_error(hdl)) != NULL) {
- if (formatter == RAWformatter ||
- formatter == TESTformatter ||
- formatter == CSVformatter)
- mapi_explain_result(hdl, stderr);
- else
- mnstr_printf(toConsole, "%s", reply);
+ mapi_explain_result(hdl, stderr);
errseen = 1;
- /* don't need to print something like '0 tuples' if we
got
- * an error */
+ /* don't need to print something like '0
+ * tuples' if we got an error */
continue;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list