Changeset: 00e962f87e8c for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=00e962f87e8c
Modified Files:
        sql/server/sql_qc.c
Branch: Protobuf
Log Message:

Undo problematic bandaids


Unterschiede (22 Zeilen):

diff --git a/sql/server/sql_qc.c b/sql/server/sql_qc.c
--- a/sql/server/sql_qc.c
+++ b/sql/server/sql_qc.c
@@ -106,7 +106,7 @@ qc_clean(qc *cache)
        cq *n, *q, *p = NULL;
 
        for (q = cache->q; q; ) {// TODO
-               if (q->type != 42) {
+               if (q->type != Q_PREPARE) {
                        n = q->next;
                        if (p) 
                                p->next = n;
@@ -181,8 +181,7 @@ param_list_cmp(sql_subtype *typelist, at
                            at->type->eclass == EC_CHAR &&
                              (!tp->digits || tp->digits >= at->digits)) 
                                continue;
-                       // TODO
-                       if (type != 42)
+                       if (type != Q_UPDATE)
                                return -1;
                        /* FLT == DEC/NUM and DEC/NUM are equal */
                        if ((!((at->type->eclass == EC_DEC ||
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to