Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8541/src/gdk
Modified Files:
gdk_rangejoin.mx
Log Message:
fixed bug: create result bat with proper types
Index: gdk_rangejoin.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_rangejoin.mx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- gdk_rangejoin.mx 4 Jan 2008 18:02:32 -0000 1.3
+++ gdk_rangejoin.mx 6 Jan 2008 12:44:03 -0000 1.4
@@ -146,7 +146,7 @@
ERRORcheck(l == NULL, "BATbandjoin: invalid left operand");
ERRORcheck(r == NULL, "BATbandjoin: invalid right operand");
ERRORcheck(TYPEerror(l->ttype, r->htype), "BATbandjoin: type
conflict\n");
- bn = BATnew(BAThtype(l), BAThtype(r), MIN(BATcount(l), BATcount(r)));
+ bn = BATnew(BAThtype(l), BATttype(r), MIN(BATcount(l), BATcount(r)));
if (bn == NULL)
return bn;
switch (ATOMstorage(r->htype)) {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins