[MDEV-8853] sql_common.h uses hash.h Created: 2015-09-26  Updated: 2015-09-30  Resolved: 2015-09-30

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.0.21-galera
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Alexander Pankov Assignee: Unassigned
Resolution: Not a Bug Votes: 0
Labels: libmysqlclient


 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.



 Comments   
Comment by Elena Stepanova [ 2015-09-30 ]

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

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

Generated at Thu Feb 08 07:30:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.