Skip to content

Commit b59e20d

Browse files
committed
From: plh@opim.uconn.edu
Missing = in an update
1 parent dde2b66 commit b59e20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/spi/refint.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ check_foreign_key()
423423
sprintf(sql, "update %s set ", relname);
424424
for (i = 1; i <= nkeys; i++)
425425
{
426-
sprintf(sql + strlen(sql), "%s null%s",
426+
sprintf(sql + strlen(sql), "%s = null%s",
427427
args2[i], (i < nkeys) ? ", " : "");
428428
}
429429
strcat(sql, " where ");

0 commit comments

Comments
 (0)