[Bug 280862] libnss_mysql: WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 16 Aug 2024 12:37:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280862

            Bug ID: 280862
           Summary: libnss_mysql: WARNING: MYSQL_OPT_RECONNECT is
                    deprecated and will be removed in a future version
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fjoe@FreeBSD.org

Created attachment 252821
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252821&action=edit
FIx the use of deprecated option

When libnss_mysql is built against mysql80-client-8.0.39 every libnss_mysql
initialization emits a warning to stderr:

WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version

Patch proposal is attached

-- 
You are receiving this mail because:
You are the assignee for the bug.