Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-15

Incompatibility with MySQL C client library

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Kubuntu 12.10 x64

    Description

      The mysql_options prototype differs.

      In file included from monetra_mysql.c:47:0:
      /usr/local/mariadb/mariadbclient/include/mysql.h:433:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
      In file included from /usr/local/mariadb/mariadbclient/include/mysql.h:447:0,
      from monetra_mysql.c:47:
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:251:17: warning: redundant redeclaration of 'mysql_stmt_reset' [-Wredundant-decls]
      In file included from /usr/local/mariadb/mariadbclient/include/mysql.h:447:0,
      from monetra_mysql.c:47:
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:236:17: note: previous declaration of 'mysql_stmt_reset' was here
      In file included from /usr/local/mariadb/mariadbclient/include/mysql.h:447:0,
      from monetra_mysql.c:47:
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:252:26: warning: redundant redeclaration of 'mysql_stmt_row_tell' [-Wredundant-decls]
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:245:26: note: previous declaration of 'mysql_stmt_row_tell' was here
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:253:26: warning: redundant redeclaration of 'mysql_stmt_row_seek' [-Wredundant-decls]
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:244:26: note: previous declaration of 'mysql_stmt_row_seek' was here
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:254:23: warning: redundant redeclaration of 'mysql_stmt_param_count' [-Wredundant-decls]
      In file included from /usr/local/mariadb/mariadbclient/include/mysql.h:447:0,
      from monetra_mysql.c:47:
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:230:23: note: previous declaration of 'mysql_stmt_param_count' was here
      In file included from /usr/local/mariadb/mariadbclient/include/mysql.h:447:0,
      from monetra_mysql.c:47:
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:255:17: warning: redundant redeclaration of 'mysql_stmt_send_long_data' [-Wredundant-decls]
      In file included from /usr/local/mariadb/mariadbclient/include/mysql.h:447:0,
      from monetra_mysql.c:47:
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:238:17: note: previous declaration of 'mysql_stmt_send_long_data' was here
      In file included from /usr/local/mariadb/mariadbclient/include/mysql.h:447:0,
      from monetra_mysql.c:47:
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:256:22: warning: redundant redeclaration of 'mysql_stmt_insert_id' [-Wredundant-decls]
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:249:22: note: previous declaration of 'mysql_stmt_insert_id' was here
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:257:22: warning: redundant redeclaration of 'mysql_stmt_num_rows' [-Wredundant-decls]
      /usr/local/mariadb/mariadbclient/include/my_stmt.h:247:22: note: previous declaration of 'mysql_stmt_num_rows' was here

      In current repo it looks like the mysql_library_init/end issue have been fixed. We currently have an ifdef around them.

      Plus the issue in CONC-14.

      Attachments

        Activity

          People

            georg Georg Richter
            user_none John Schember
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.