From: Jiří Filipovič Date: Wed, 15 Aug 2007 08:46:30 +0000 (+0000) Subject: Fixed reconnecting to mysql server ('lost' and 'gone' handled in the same way). X-Git-Tag: glite-jp-primary_R_1_4_0_1~6 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=a063905127427074cc323e765e5f977b36cabfb6;p=jra1mw.git Fixed reconnecting to mysql server ('lost' and 'gone' handled in the same way). --- diff --git a/org.glite.jp.primary/src/mysql.c b/org.glite.jp.primary/src/mysql.c index 0f080ce..c74e063 100644 --- 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;