Changeset: 58b029e73851 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=58b029e73851
Modified Files:
        clients/src/mapilib/Mapi.mx
Branch: Oct2010
Log Message:

read_into_cache: errors are not comments

Make sure errors aren't seen as comment-only blocks, such that results
aren't appended to them, causing them to disappear in the rendering,
because errors are mutual exclusive with anything else.
This fully fixes bug #2743


diffs (16 lines):

diff -r e09534da01d4 -r 58b029e73851 clients/src/mapilib/Mapi.mx
--- a/clients/src/mapilib/Mapi.mx       Mon Dec 06 15:40:27 2010 +0100
+++ b/clients/src/mapilib/Mapi.mx       Mon Dec 06 16:00:27 2010 +0100
@@ -4067,10 +4067,10 @@
                           normal output for the current one */
                        if (result == NULL ||
                                        result->cache.writer > 0 ||
-                                       result->querytype == Q_TABLE ||
-                                       result->querytype == Q_UPDATE)
+                                       result->querytype > 0)
                        {
                                result = new_result(hdl);
+                               result->commentonly = 0;
                                hdl->active = result;
                        }
                        add_error(result, line + 1 /* skip ! */ );
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to