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

Modified Files:
      Tag: GDK-2
        sql_server.mx 
Log Message:
fix bug in not_unique (ie need to compare first with second (not also with the
first (that will allways match, which we don't want in a key check))


Index: sql_server.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet4/sql_server.mx,v
retrieving revision 1.171.2.1
retrieving revision 1.171.2.2
diff -u -d -r1.171.2.1 -r1.171.2.2
--- sql_server.mx       12 Aug 2007 17:42:26 -0000      1.171.2.1
+++ sql_server.mx       12 Aug 2007 19:38:41 -0000      1.171.2.2
@@ -1405,7 +1405,7 @@
                BUN p,q;
 
                oid c = *(oid*)Tloc(b, BUNfirst(b)); 
-               for(p=BUNfirst(b), q=BUNlast(b); p<q; p++) {
+               for(p=BUNfirst(b)+1, q=BUNlast(b); p<q; p++) {
                        oid v = *(oid*)Tloc(b,p);
                        if (v<=c) {
                                *ret = TRUE;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to