Update of /cvsroot/monetdb/MonetDB5/src/modules/kernel
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32211/src/modules/kernel
Modified Files:
group.mx
Log Message:
if tail is keyed (and sorted), don't use the fast route via the orderedness
but the ultra fast route via (map=mirror(b) and histo = const(b,1))
Index: group.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/modules/kernel/group.mx,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -d -r1.109 -r1.110
--- group.mx 1 Mar 2008 20:32:26 -0000 1.109
+++ group.mx 6 Mar 2008 06:59:45 -0000 1.110
@@ -1325,7 +1325,7 @@
if ((b = BATdescriptor(*bid)) == NULL) {
throw(MAL, "group.group", "Cannot access descriptor");
}
- if (BATcount(b) > 1 &&
+ if (!b->tkey && BATcount(b) > 1 &&
BATtordered(b)&1 &&
ATOMtype(b->htype) == TYPE_oid &&
b->ttype < TYPE_str) {
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins