Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12244

C API header file contains C++ comment for COM_BINLOG_DUMP_GTID

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 10.2.4
    • 10.2.5
    • Scripts & Clients
    • None
    • Linux Debian 8

    Description

      The mysql.h header file contains a C++ comment that produces a compiler warning when using gcc. Only C comments should be used:

      In file included from /opt3/dbs/mdb/10.2/include/mysql/mysql.h:73:0,
                       from mys.c:39:
      /opt3/dbs/mdb/10.2/include/mysql/mysql_com.h:114:22: error: C++ style comments are not allowed in ISO C90 [-Werror]
         COM_UNIMPLEMENTED, // COM_BINLOG_DUMP_GTID in MySQL
      

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            sebflaesch FLAESCH Sebastien
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.