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

C API header file contains C++ comment for COM_BINLOG_DUMP_GTID

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

          sebflaesch FLAESCH Sebastien created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Fix Version/s 10.2 [ 14601 ]
          Assignee Oleksandr Byelkin [ sanja ]
          sanja Oleksandr Byelkin made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          sanja Oleksandr Byelkin made changes -
          Fix Version/s 10.2.5 [ 22117 ]
          Fix Version/s 10.2 [ 14601 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 79947 ] MariaDB v4 [ 151801 ]

          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.