summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--NEWS12
-rw-r--r--configure.ac2
-rw-r--r--doc/vmod-dbrw.32
3 files changed, 12 insertions, 4 deletions
diff --git a/NEWS b/NEWS
index 516ca69..06d58b3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,12 +1,12 @@
-vmod-dbrw -- history of user-visible changes. 2019-02-13
+vmod-dbrw -- history of user-visible changes. 2019-02-15
See the end of file for copying conditions.
Please send vmod-dbrw bug reports to <gray@gnu.org>
-Version 2.4.90 (git)
+Version 2.5, 2019-02-15
* req.http.X-VMOD-DBRW-Error
This header is set to 1 by dbrw.rewrite to indicate that an error
occurred during the rewrite.
@@ -14,12 +14,20 @@ occurred during the rewrite.
One of this flags can appear in the fourth column of the returned data
set. The 'eq' flag instructs dbrw.rewrite to use exact string match,
instead of regular expressions. The 'regex' flag instructs it to use
regular expression matching. It is the default.
+* Improve error handling in mysql submodule
+
+Previously, error codes ER_PARSE_ERROR and ER_EMPTY_QUERY were treated
+as permanent conditions, causing mysql connection to be closed and
+disabled. This is no longer the case, as they both can well mean a
+transient condition (e.g. ER_PARSE_ERROR returned for the 'Illegal mix
+of collations' error).
+
Version 2.4, 2018-12-10
* Support for Varnish version 6.0.2
diff --git a/configure.ac b/configure.ac
index fd618d3..b226b87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,13 +11,13 @@
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>.
AC_PREREQ(2.69)
-AC_INIT([vmod-dbrw], 2.4.90, [gray@gnu.org])
+AC_INIT([vmod-dbrw], 2.5, [gray@gnu.org])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR(src/vmod_dbrw.vcc)
AM_CONFIG_HEADER(config.h)
AC_SUBST([AC_VMOD_BASENAME],[dbrw])
diff --git a/doc/vmod-dbrw.3 b/doc/vmod-dbrw.3
index 9bec008..67aad5f 100644
--- a/doc/vmod-dbrw.3
+++ b/doc/vmod-dbrw.3
@@ -315,13 +315,13 @@ sub vcl_synth {
.EE
.\" The MANCGI variable is set by man.cgi script on Ulysses.
.\" The download.inc file contains the default DOWNLOAD section
.\" for man-based doc pages.
.if "\V[MANCGI]"WEBDOC" \{\
. ds package vmod-dbrw
-. ds version 2.4
+. ds version 2.5
. so download.inc
\}
.SH "SEE ALSO"
.BR vcl (7),
.BR varnishd (1).
.PP

Return to:

Send suggestions and report system problems to the System administrator.