Обсуждение: a little patch to contrib/spi/refint.c

Поиск
Список
Период
Сортировка

a little patch to contrib/spi/refint.c

От
plh@opim.uconn.edu
Дата:
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 ");