https://bugzilla.redhat.com/show_bug.cgi?id=1470196

            Bug ID: 1470196
           Summary: mariadb library upgrade to 10.2 causes perl-DBD-MySQL
                    FTBFS
           Product: Fedora
           Version: rawhide
         Component: perl-DBD-MySQL
          Assignee: jples...@redhat.com
          Reporter: hho...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: jples...@redhat.com,
                    perl-devel@lists.fedoraproject.org



Created attachment 1297022
  --> https://bugzilla.redhat.com/attachment.cgi?id=1297022&action=edit
Proposed patch

Description of problem:
With new version of MariaDB 10.2 we see basically this two separate issues:

dbdimp.c: In function 'mysql_dr_connect':
dbdimp.c:2000:13: error: 'MYSQL {aka struct st_mysql}' has no member named
'reconnect'
       result->reconnect=0;
             ^~

dbdimp.c: In function 'mysql_st_prepare':
dbdimp.c:2779:19: error: 'MYSQL_VERSION_ID' undeclared (first use in this
function); did you mean 'MYSQL_VERSION_5_0'?
                   MYSQL_VERSION_ID, statement);
                   ^~~~~~~~~~~~~~~~
                   MYSQL_VERSION_5_0
dbdimp.c:2779:19: note: each undeclared identifier is reported only once for
each function it appears in

The attached patch should fix the FTBFS issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to