Update of /cvsroot/monetdb/sql/src/backends/monet4
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29971/src/backends/monet4

Modified Files:
      Tag: SQL_2-16
        sql_server.mx 
Log Message:
fix bug in large groups (SQLgroup)


Index: sql_server.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet4/sql_server.mx,v
retrieving revision 1.157.2.2
retrieving revision 1.157.2.3
diff -u -d -r1.157.2.2 -r1.157.2.3
--- sql_server.mx       21 Feb 2007 10:06:32 -0000      1.157.2.2
+++ sql_server.mx       14 Mar 2007 09:59:21 -0000      1.157.2.3
@@ -1395,7 +1395,7 @@
        # handle the grouping for unique checks with the special _CTgroup 
        if (and(or((a.ttype()=int),(a.ttype()=lng)),(a.count()>(256*1024)))) {
                var N := (max(a) - min(a));
-               if (isnil(N))
+               if (or((N.type()=lng),isnil(N)))
                        N := a.count();
                if (or((N > a.count()),(N<0)))
                        N := a.count();


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to