Changeset: 12914b5feda1 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=12914b5feda1
Modified Files:
        sql/server/sql_atom.c
Branch: Dec2016
Log Message:

cleanup


diffs (22 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
@@ -1196,18 +1196,9 @@ atom_cmp(atom *a1, atom *a2)
 atom * 
 atom_add(atom *a1, atom *a2)
 {
-//     ValRecord res;
-
        if ((!EC_COMPUTE(a1->tpe.type->eclass) && (a1->tpe.type->eclass != 
EC_DEC || a1->tpe.digits != a2->tpe.digits || a1->tpe.scale != a2->tpe.scale)) 
|| a1->tpe.digits < a2->tpe.digits || a1->tpe.type->localtype != 
a2->tpe.type->localtype) {
                return NULL;
        }
-       /*
-       if (VARcalcadd(&res, &a1->data, &a2->data, 1) == GDK_FAIL) {
-
-               return NULL;
-       }
-       a1->data = res;
-       */
        switch(a1->tpe.type->localtype) {
        case TYPE_bte:
                        a1->data.val.btval += a2->data.val.btval;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to