From a063905127427074cc323e765e5f977b36cabfb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20Filipovi=C4=8D?= Date: Wed, 15 Aug 2007 08:46:30 +0000 Subject: [PATCH] Fixed reconnecting to mysql server ('lost' and 'gone' handled in the same way). --- org.glite.jp.primary/src/mysql.c | 1 + 1 file changed, 1 insertion(+) 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; -- 1.8.2.3