Changeset: 35628f1c15c0 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=35628f1c15c0
Modified Files:
sql/server/sql_qc.c
Branch: Jul2015
Log Message:
fixed coalesce(null, ...) with query cache bug 3830
diffs (13 lines):
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
@@ -162,6 +162,9 @@ param_list_cmp(sql_subtype *typelist, at
sql_subtype *tp = typelist + i;
atom *a = atoms[i];
+ if (atom_null(a) && type != Q_UPDATE)
+ return -1;
+
/* NULL values match any type */
if (!atom_null(a) && param_cmp(tp, atom_type(a)) != 0) {
sql_subtype *at = atom_type(a);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list