From: Marc G. Fournier Date: Sat, 14 Feb 1998 18:04:39 +0000 (+0000) Subject: From: plh@opim.uconn.edu X-Git-Tag: REL6_3~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b59e20db1ac66e960d69a19a3bfd11e83c1d9eef;p=postgresql From: plh@opim.uconn.edu Missing = in an update --- diff --git a/contrib/spi/refint.c b/contrib/spi/refint.c index f457a53ac6..5fc9bfa4ce 100644 --- a/contrib/spi/refint.c +++ b/contrib/spi/refint.c @@ -423,7 +423,7 @@ check_foreign_key() sprintf(sql, "update %s set ", relname); for (i = 1; i <= nkeys; i++) { - sprintf(sql + strlen(sql), "%s null%s", + sprintf(sql + strlen(sql), "%s = null%s", args2[i], (i < nkeys) ? ", " : ""); } strcat(sql, " where ");