Thread
-
a little patch to contrib/spi/refint.c
plh@opim.uconn.edu — 1998-02-14T05:26:56Z
Could somebody apply this little patch for me? (don't have access to CVS) Thanks! keep up the great work! Cheers, -Pailing --- contrib/spi/refint.c.old Sat Feb 14 00:04:15 1998 +++ contrib/spi/refint.c Sat Feb 14 00:04:42 1998 @@ -423,7 +423,7 @@ 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 ");