summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-02-15 09:00:50 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-02-15 09:00:50 (GMT)
commita3e4314631601e98d63a9b702cb31931ec5222b3 (patch) (side-by-side diff)
tree5d3aef35f544fbf4651618f0e100e36a7e08c605
parentd10bd129fc392283b60db2f0ef426f4e16ffd8bf (diff)
downloadvmod-dbrw-release-2.5.tar.gz
vmod-dbrw-release-2.5.tar.bz2
Version 2.5release-2.5
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,9 +1,9 @@
-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
@@ -17,6 +17,14 @@ 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
diff --git a/configure.ac b/configure.ac
index fd618d3..b226b87 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,7 +14,7 @@
# 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)
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
@@ -318,7 +318,7 @@ sub vcl_synth {
.\" 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"

Return to:

Send suggestions and report system problems to the System administrator.