https://issues.apache.org/bugzilla/show_bug.cgi?id=51607

             Bug #: 51607
           Summary: DBDPrepareSQL ( ap_dbd_prepare ) does not work
                    correctly with SQL Statements which has % characters
                    in functions like DATE_FORMAT.
           Product: Apache httpd-2
           Version: 2.3.12-beta
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_dbd
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


An SQL statemnet like 
"SELECT ID, DATE_FORMAT(  post_date, '%d.%M.%Y %W %H:%i ') AS p_d , post_title,
post_content FROM posts;"

With mysql driver.

is not correctly prepared.

This may result of escaping % chars.

Also this bug may be releated to apr_dbd_mysql_driver.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to