/* supplementary re-registration (JDL of subjob, etc.) */
if ((ctx->srvPort == jobIdPort) && !strcmp(jobIdHost,ctx->srvName)) {
/* previous registration via GSI required */
- trio_asprintf(&q,"update jobs set jobid='%|Ss' where jobid='%|Ss'",
+ trio_asprintf(&q,"update jobs set jobid='%|Ss', proxy='1' where jobid='%|Ss'",
unique, unique);
/* does the job exists ? */
if (edg_wll_ExecSQL(ctx,q,NULL) < 0) {
}
else {
/* any other event than JobReg */
- trio_asprintf(&q,"update jobs set jobid='%|Ss' where jobid='%|Ss'",
+ trio_asprintf(&q,"update jobs set jobid='%|Ss', proxy='1' where jobid='%|Ss'",
unique, unique);
/* does the job exists ? now we require registration on proxy too */
if (edg_wll_ExecSQL(ctx,q,NULL) < 0) {