git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efde4a5
)
Reindex database with incomplete/bad jobs too.
author
František Dvořák
<valtri@civ.zcu.cz>
Wed, 26 Aug 2009 11:25:56 +0000
(11:25 +0000)
committer
František Dvořák
<valtri@civ.zcu.cz>
Wed, 26 Aug 2009 11:25:56 +0000
(11:25 +0000)
org.glite.lb.server/src/bkindex.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.server/src/bkindex.c
b/org.glite.lb.server/src/bkindex.c
index
acd7894
..
62e3ff0
100644
(file)
--- a/
org.glite.lb.server/src/bkindex.c
+++ b/
org.glite.lb.server/src/bkindex.c
@@
-406,7
+406,10
@@
static edg_wll_ErrorCode edg_wll_RefreshIColumns(edg_wll_Context ctx, void *job_
if (edg_wll_intJobStatus(ctx, jobid, 0, stat, 1, 0)) {
free(stat);
stat = NULL;
- if (edg_wll_Error(ctx,NULL,NULL) != ENOENT) do_exit(ctx, EX_SOFTWARE);
+ if (edg_wll_Error(ctx,NULL,NULL) != 0) {
+ if (edg_wll_Error(ctx,NULL,NULL) != ENOENT) do_exit(ctx, EX_SOFTWARE);
+ edg_wll_ResetError(ctx);
+ }
}
}
}