Changeset: 903b618c483b for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=903b618c483b
Modified Files:
        clients/src/mapiclient/mclient.c
Branch: Oct2010
Log Message:

Revert behaviour of previous commit 37762 for SQL like it was.  No need to be 
very verbose every time the server is unhappy about something


diffs (16 lines):

diff -r a071add88616 -r 903b618c483b clients/src/mapiclient/mclient.c
--- a/clients/src/mapiclient/mclient.c  Tue Sep 28 16:40:51 2010 +0200
+++ b/clients/src/mapiclient/mclient.c  Tue Sep 28 17:35:15 2010 +0200
@@ -1365,7 +1365,11 @@
        do {
                /* handle errors first */
                if ((reply = mapi_result_error(hdl)) != NULL) {
-                       mapi_explain_result(hdl, stderr);
+                       if (formatter == TABLEformatter) {
+                               mnstr_printf(toConsole, "%s", reply);
+                       } else {
+                               mapi_explain_result(hdl, stderr);
+                       }
                        errseen = 1;
                        /* don't need to print something like '0
                         * tuples' if we got an error */
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to