From eafedde01cb6baa61a8b75ded7ea6fabf4b03e26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Mon, 10 Mar 2008 14:41:26 +0000 Subject: [PATCH] SQL syntax fix. --- org.glite.lb.server/src/notif_match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.glite.lb.server/src/notif_match.c b/org.glite.lb.server/src/notif_match.c index 7e0365d..7bd7e50 100644 --- a/org.glite.lb.server/src/notif_match.c +++ b/org.glite.lb.server/src/notif_match.c @@ -63,7 +63,7 @@ int edg_wll_NotifMatch(edg_wll_Context ctx, const edg_wll_JobStat *stat) else if (notif_index_cols[i].qrec.attr == EDG_WLL_QUERY_ATTR_JDL_ATTR) { char *aux; if (!cond_and_where) cond_and_where = strdup(""); - trio_asprintf(&aux, "%s AND %s = NULL",cond_and_where, + trio_asprintf(&aux, "%s AND %s is NULL",cond_and_where, notif_index_cols[i].colname); free(cond_and_where); cond_and_where = aux; -- 1.8.2.3