Changeset: dabc1dfd0501 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=dabc1dfd0501
Modified Files:
gdk/gdk_setop.mx
Branch: Apr2011
Log Message:
Use the view we just created.
Using the view means that the tail value that we don't need doesn't
get copied.
diffs (12 lines):
diff --git a/gdk/gdk_setop.mx b/gdk/gdk_setop.mx
--- a/gdk/gdk_setop.mx
+++ b/gdk/gdk_setop.mx
@@ -326,7 +326,7 @@
BAT *tmp2 = NULL, *tmp1, *tmp0 = VIEWhead_(b,
BAT_WRITE);
if (tmp0) {
- tmp1 = BATsample(b, 1000);
+ tmp1 = BATsample(tmp0, 1000);
if (tmp1) {
tmp2 = BATkunique(tmp1);
if (tmp2) {
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list