]> granicus.if.org Git - postgresql/commitdiff
From: plh@opim.uconn.edu
authorMarc G. Fournier <scrappy@hub.org>
Sat, 14 Feb 1998 18:04:39 +0000 (18:04 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sat, 14 Feb 1998 18:04:39 +0000 (18:04 +0000)
Missing = in an update

contrib/spi/refint.c

index f457a53ac601262ea4c33208aeab959be2828f56..5fc9bfa4ce6dd4ec1a8c9a382f7bfb7c25d0953a 100644 (file)
@@ -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 ");