httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51607] New: DBDPrepareSQL ( ap_dbd_prepare ) does not work correctly with SQL Statements which has % characters in functions like DATE_FORMAT.
Date Wed, 03 Aug 2011 16:18:31 GMT
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: bugs@httpd.apache.org
        ReportedBy: sfirat@yahoo.com
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message