]> 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:31:18 +0000 (21:31 +0000)
committerNick Kew <niq@apache.org>
Sat, 31 Mar 2018 21:31:18 +0000 (21:31 +0000)
PR#60440 identifies this as a gotcha

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1828122 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewritemap.xml

index b3bba5f25f51635309dd08c4979acd86b2f84fbe..736e352e2bc22fc07e408aec2f444a4359aabb52 100644 (file)
@@ -443,6 +443,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>