parent
dde2b66f44
commit
b59e20db1a
@ -423,7 +423,7 @@ check_foreign_key()
|
|||||||
sprintf(sql, "update %s set ", relname);
|
sprintf(sql, "update %s set ", relname);
|
||||||
for (i = 1; i <= nkeys; i++)
|
for (i = 1; i <= nkeys; i++)
|
||||||
{
|
{
|
||||||
sprintf(sql + strlen(sql), "%s null%s",
|
sprintf(sql + strlen(sql), "%s = null%s",
|
||||||
args2[i], (i < nkeys) ? ", " : "");
|
args2[i], (i < nkeys) ? ", " : "");
|
||||||
}
|
}
|
||||||
strcat(sql, " where ");
|
strcat(sql, " where ");
|
||||||
|
Loading…
Reference in New Issue
Block a user