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:
516fb81
)
Fixed reconnecting to mysql server ('lost' and 'gone' handled in the same way).
author
Jiří Filipovič
<fila@ics.muni.cz>
Wed, 15 Aug 2007 08:46:30 +0000
(08:46 +0000)
committer
Jiří Filipovič
<fila@ics.muni.cz>
Wed, 15 Aug 2007 08:46:30 +0000
(08:46 +0000)
org.glite.jp.primary/src/mysql.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.primary/src/mysql.c
b/org.glite.jp.primary/src/mysql.c
index
0f080ce
..
c74e063
100644
(file)
--- a/
org.glite.jp.primary/src/mysql.c
+++ b/
org.glite.jp.primary/src/mysql.c
@@
-122,6
+122,7
@@
int glite_jp_db_execstmt(glite_jp_context_t ctx,char *txt,glite_jp_db_stmt_t *st
glite_jp_stack_error(ctx,&err);
return -1;
break;
+ case CR_SERVER_GONE_ERROR:
case CR_SERVER_LOST:
if (retry_nr <= 0)
do_reconnect = 1;