Changeset: 4820f6977d86 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=4820f6977d86
Modified Files:
        sql/server/sql_symbol.c
Branch: Aug2011
Log Message:

added missing atom compares. This solves a problem with the sql cache,
ie 'limit' statements where never cached.


diffs (12 lines):

diff --git a/sql/server/sql_symbol.c b/sql/server/sql_symbol.c
--- a/sql/server/sql_symbol.c
+++ b/sql/server/sql_symbol.c
@@ -374,6 +374,8 @@ AtomNodeCmp(AtomNode *a1, AtomNode *a2)
                return 0;
        if (!a1 || !a2)
                return -1;
+       if (a1->a && a2->a)
+               return atom_cmp(a1->a, a2->a);
 
        return -1;
 }
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to