You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2009/10/02 08:51:01 UTC

DO NOT REPLY [Bug 47932] New: apr_dbd_mysql: max_length field of MYSQL_FIELD struct is not populated when using prepared statements

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

           Summary: apr_dbd_mysql: max_length field of  MYSQL_FIELD struct
                    is not populated when using prepared statements
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: APR-util
        AssignedTo: bugs@apr.apache.org
        ReportedBy: mkevac@gmail.com


max_length field of  MYSQL_FIELD struct is not populated when using prepared
statements. This is because according to
http://dev.mysql.com/doc/refman/5.0/en/c-api-datatypes.html in order for this
field to be populated, additional parameter should be provided before preparing
statement.

This patch passes needed parameter.

-- 
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@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 47932] apr_dbd_mysql: max_length field of MYSQL_FIELD struct is not populated when using prepared statements

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47932

--- Comment #1 from Marko Kevac <mk...@gmail.com> 2009-10-01 23:51:38 PDT ---
Created an attachment (id=24335)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24335)
apr_dbd_mysql_length.patch

-- 
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@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org