[CONC-210] Make server compile with C/C client headers Created: 2016-10-23  Updated: 2016-10-23

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.0
Fix Version/s: None

Type: Task Priority: Critical
Reporter: Vladislav Vaintroub Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-11111 Redesign how embedded server is built... Open

 Description   

The C/C has a large number of incompatibilities with existing libmysql headers, thus server does not compile with it. In order to really get rid of libmysql, which was planned already for 10.2 but now has to be postponed to 10.3 due to this, C/C should change to adhere to existing interfaces. Major incompatibilities are missing VIO and NET structures, there is more, which I do not remember now.

To reproduce , remove this file. https://github.com/MariaDB/server/blob/10.2/include/mysql.h
and replace with C/C's (set INCLUDE_DIRECTORIES inside sql directory to libmariadb/include)



 Comments   
Comment by Vladislav Vaintroub [ 2016-10-23 ]

Personal opinion, the VIO as structure with all members should be restored, and used instead of PVIO inside connector.
once VIO is there, you can rename MA_NET back to NET, because they will get compatible.

Generated at Thu Feb 08 03:03:40 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.