]> granicus.if.org Git - apache/commitdiff
Add a note about prepared DBD queries to rewritemap docs.
authorNick Kew <niq@apache.org>
Sat, 31 Mar 2018 21:14:41 +0000 (21:14 +0000)
committerNick Kew <niq@apache.org>
Sat, 31 Mar 2018 21:14:41 +0000 (21:14 +0000)
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

docs/manual/rewrite/rewritemap.xml

index a08ee368696656e5539faaa5c6d5c30e091b6ca9..df16015b4f31ab88111dbbaaa6b2f3ea1c06ff7a 100644 (file)
@@ -442,6 +442,11 @@ RewriteMap myquery "fastdbd:SELECT destination FROM rewrite WHERE source = %s"
     </highlight>
     </example>
 
+    <note><title>Note</title>
+    <p>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.</p></note>
+
   </section>
   <section id="summary">
     <title>Summary</title>