[MDEV-8861] mariadb-connector-c using "my_stmt.h" instead of <my_stmt.h> Created: 2015-09-28  Updated: 2015-09-28  Resolved: 2015-09-28

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

Type: Bug Priority: Major
Reporter: Echo Ma Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

CentOS 6.X


Issue Links:
Duplicate
is duplicated by CONC-143 mysql.h use #include "my_stmt.h" inst... Closed

 Description   

The standard include path is /usr/include/
I copied all include files into /usr/inlude/mysql/, and my source code like this:

#include <mysql/mysql.h>
int main()
{
    return 0;
}

But mysql.h is including my_stmt.h with <> which will lead to compile error because my_stmt.h is not in standard include path /usr/include. see the code here: https://github.com/MariaDB/mariadb-connector-c/blob/master/include/mysql.h#L367
Should we use #include "my_stmt.h" instead of <my_stmt.h>?



 Comments   
Comment by Echo Ma [ 2015-09-28 ]

I am sorry, I report this bug to the server by mistake. But I don't know how to close it.

I resubmit this as a issue of connect/C here: https://mariadb.atlassian.net/browse/CONC-143

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