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

sql_common.h uses hash.h

    XMLWordPrintable

Details

    Description

      Custom software (libmysqlclient) which uses sql_common.h definitions could not include sql_common.h because include hash.h is not taken to MariaDB-devel package.

      Here is an example program which does not compile:

      #include <my_config.h>
      #include <my_global.h>
      #include <mysql.h>
      #include <m_ctype.h>
      #include <my_sys.h>
      #include <my_dir.h>
      #include <sql_common.h>
       
      int main()
      {
      	return 0;
      }

      This program does not compile with the following error:

      In file included from t.c:7:0:
      /usr/include/mysql/sql_common.h:24:18: fatal error: hash.h: No such file or directory
       #include <hash.h>
                        ^
      compilation terminated.

      Please, add hash.h file in new release.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pianisteg Alexander Pankov
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.