Changeset: 70fab7f1e1f1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=70fab7f1e1f1
Modified Files:
MonetDB4/src/modules/plain/ascii_io.mx
Branch: default
Log Message:
Don't close and destroy a stream twice.
After changeset 81293e2793a5 which added a call to the stream close
and destroy functions inside bstream_destroy, we should no longer call
those functions ourselves when calling bstream_destroy.
diffs (12 lines):
diff -r b90d0d4f88a3 -r 70fab7f1e1f1 MonetDB4/src/modules/plain/ascii_io.mx
--- a/MonetDB4/src/modules/plain/ascii_io.mx Thu Jan 13 14:30:35 2011 +0100
+++ b/MonetDB4/src/modules/plain/ascii_io.mx Thu Jan 13 15:41:02 2011 +0100
@@ -1135,8 +1135,6 @@
}
res = ASCIIinput(names, seps, types, b = bstream_create(s, SIZE), NULL,
nr);
bstream_destroy(b);
- mnstr_close(s);
- mnstr_destroy(s);
return res;
}
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list