From: Nick Kew Date: Sat, 31 Mar 2018 21:14:41 +0000 (+0000) Subject: Add a note about prepared DBD queries to rewritemap docs. X-Git-Tag: 2.5.0-alpha2-ci-test-only~2733 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc00cf795c80ed3a41dca625fa63483aa5ea3af6;p=thirdparty%2Fapache%2Fhttpd.git Add a note about prepared DBD queries to rewritemap docs. PR#60440 identifies this as a gotcha! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1828121 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/rewrite/rewritemap.xml b/docs/manual/rewrite/rewritemap.xml index a08ee368696..df16015b4f3 100644 --- a/docs/manual/rewrite/rewritemap.xml +++ b/docs/manual/rewrite/rewritemap.xml @@ -442,6 +442,11 @@ RewriteMap myquery "fastdbd:SELECT destination FROM rewrite WHERE source = %s" + Note +

The query name is passed to the database driver as a label for + an SQL prepared statement, and will therefore need to follow any rules + (such as case-sensitivity) required for your database.

+
Summary