diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-02-15 11:00:50 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-02-15 11:00:50 +0200 |
commit | a3e4314631601e98d63a9b702cb31931ec5222b3 (patch) | |
tree | 5d3aef35f544fbf4651618f0e100e36a7e08c605 | |
parent | d10bd129fc392283b60db2f0ef426f4e16ffd8bf (diff) | |
download | vmod-dbrw-a3e4314631601e98d63a9b702cb31931ec5222b3.tar.gz vmod-dbrw-a3e4314631601e98d63a9b702cb31931ec5222b3.tar.bz2 |
Version 2.5release-2.5
-rw-r--r-- | NEWS | 12 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | doc/vmod-dbrw.3 | 2 |
3 files changed, 12 insertions, 4 deletions
@@ -1,31 +1,39 @@ -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. * New flags: regex and eq 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 Version 2.3, 2018-12-08 * SQL idle timeout For MySQL backend, the default connection idle timeout is set equal to the value of the MySQL variable 'wait_timeout'. For Postgres, default diff --git a/configure.ac b/configure.ac index fd618d3..b226b87 100644 --- a/configure.ac +++ b/configure.ac @@ -5,25 +5,25 @@ # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Vmod-dbrw is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # 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]) AC_CANONICAL_SYSTEM AC_LANG(C) AM_INIT_AUTOMAKE([gnu tar-ustar silent-rules]) AM_SILENT_RULES([yes]) 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 @@ -309,25 +309,25 @@ sub vcl_synth { if (resp.status == 750) { set obj.status = std.integer(req.http.X-VMOD-DBRW-Status, 301); set resp.http.Location = req.http.X-Redirect-To; return (deliver); } } .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 .ie "\V[MANCGI]"WEBDOC" \{\ Complete documentation for .B vmod-dbrw in various formats is .URL http://puszcza.gnu.org.ua/software/vmod-dbrw/manual.html "available online" . \} |