From b59e20db1ac66e960d69a19a3bfd11e83c1d9eef Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Sat, 14 Feb 1998 18:04:39 +0000 Subject: [PATCH] From: plh@opim.uconn.edu Missing = in an update --- contrib/spi/refint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "); -- 2.40.0