Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a Bug
    • Affects Version/s: 10.0.21-galera
    • Fix Version/s: N/A
    • Component/s: Compiling
    • Labels:

      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.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment - - edited

            It is installed in /usr/include/mysql/private.

            If it is not, please specify your distribution and packages you are using.

            Show
            elenst Elena Stepanova added a comment - - edited It is installed in /usr/include/mysql/private . If it is not, please specify your distribution and packages you are using.

              People

              • Assignee:
                Unassigned
                Reporter:
                pianisteg Alexander Pankov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: