Changeset: aa690f802055 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/aa690f802055
Modified Files:
        sql/server/sql_atom.c
Branch: Dec2023
Log Message:

fixed atom_cmp on null's with different types


diffs (12 lines):

diff --git a/sql/server/sql_atom.c b/sql/server/sql_atom.c
--- a/sql/server/sql_atom.c
+++ b/sql/server/sql_atom.c
@@ -822,7 +822,7 @@ atom_cmp(atom *a1, atom *a2)
        if (a1->isnull != a2->isnull)
                return -1;
        if ( a1->isnull)
-               return 0;
+               return !(a1->tpe.type->localtype == a2->tpe.type->localtype);
        if ( a1->tpe.type->localtype != a2->tpe.type->localtype) {
                switch (ATOMstorage(a1->tpe.type->localtype)) {
                case TYPE_bte:
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to