From: Eric Bollengier Date: Sun, 6 Jan 2008 19:57:42 +0000 (+0000) Subject: ebl Fixes #1034 X-Git-Tag: Release-2.2.8~15 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1e1a8276888122e618e0560674d58c47351ab9df;p=bacula%2Fbacula ebl Fixes #1034 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@6247 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/patches/2.2.7-mysql-batch-timeout.patch b/bacula/patches/2.2.7-mysql-batch-timeout.patch new file mode 100644 index 0000000000..0ee9d624e5 --- /dev/null +++ b/bacula/patches/2.2.7-mysql-batch-timeout.patch @@ -0,0 +1,15 @@ +Index: src/cats/mysql.c +=================================================================== +--- src/cats/mysql.c (révision 6192) ++++ src/cats/mysql.c (copie de travail) +@@ -205,6 +205,10 @@ + Dmsg3(100, "opendb ref=%d connected=%d db=%p\n", mdb->ref_count, + mdb->connected, mdb->db); + ++ /* Set connection timeout to 8 days specialy for batch mode */ ++ sql_query(mdb, "SET wait_timeout=691200"); ++ sql_query(mdb, "SET interactive_timeout=691200"); ++ + V(mutex); + return 1; + }