Changeset: 32df05b09566 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/32df05b09566
Modified Files:
        sql/backends/monet5/copy.c
Branch: pp_hashjoin
Log Message:

fixed bat leak (and therefor open file leak) with help of windows (it doesn't 
like open files)


diffs (12 lines):

diff --git a/sql/backends/monet5/copy.c b/sql/backends/monet5/copy.c
--- a/sql/backends/monet5/copy.c
+++ b/sql/backends/monet5/copy.c
@@ -591,7 +591,7 @@ COPYsplitlines(Client cntxt, MalBlkPtr m
                msg = COPYfixlines(&line_count, &e, r, p->wid, &errors);
                if (msg) {
                        r->error = true;
-                       return msg;
+                       goto end;
                }
                if (r->can_jump)
                        (void)pipeline_get_token(p, 1, p->wid, &r->done);
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to