From: Zdeněk Šustr Date: Tue, 12 Mar 2013 10:29:36 +0000 (+0000) Subject: Do not look for a zombie in case the result set is empty due to EPERM (Partial fix... X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=b7e364b720caae8bbc040debb3737886b54d5f4c;p=jra1mw.git Do not look for a zombie in case the result set is empty due to EPERM (Partial fix for SB #100381) --- diff --git a/org.glite.lb.server/src/query.c b/org.glite.lb.server/src/query.c index e480614..2f14dae 100644 --- a/org.glite.lb.server/src/query.c +++ b/org.glite.lb.server/src/query.c @@ -615,7 +615,7 @@ limit_cycle_cleanup: glite_lbu_FreeStmt(&sh); } while ( limit_loop ); - if ( !n ) { + if ( !n && (ctx->errCode != EPERM) ) { if(!jobid_only_query(conditions)) { i = 0; while(conditions[i]) {