Changeset: 4fb83d5f027a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4fb83d5f027a
Modified Files:
        sql/backends/monet5/sql_scenario.c
Branch: Apr2012
Log Message:

Don't truncate error message.


diffs (18 lines):

diff --git a/sql/backends/monet5/sql_scenario.c 
b/sql/backends/monet5/sql_scenario.c
--- a/sql/backends/monet5/sql_scenario.c
+++ b/sql/backends/monet5/sql_scenario.c
@@ -1710,11 +1710,12 @@ cleanup_engine:
                        char *n = NULL;
                        char *o = msg;
                        while ((n = strchr(o, '\n')) != NULL) {
-                               *n++ = '\0';
+                               *n = '\0';
                                mnstr_printf(c->fdout, "!%s\n", 
getExceptionMessage(o));
+                               *n++ = '\n';
                                o = n;
                        }
-                       if (strlen(o) != 0)
+                       if (*o != 0)
                                mnstr_printf(c->fdout, "!%s\n", 
getExceptionMessage(o));
                }
                showErrors(c);
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to