[CONC-200] Lack of include files compatibility for applications written for libmysqlclient Created: 2016-09-03 Updated: 2020-09-13 |
|
| Status: | Open |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | 3.0.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Floris | Assignee: | Georg Richter |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The connector was advertised in the past as a libmysqlclient drop-in replacement. Dovecot: == PHP: == (yes, I know I could use mysqlnd instead, but that's not the point) Kodi: == Along with other include file related errors. == == |
| Comments |
| Comment by Daniel Black [ 2020-09-12 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
mysql8 drops my_global.h so I think that's ok. Looking at PHP upstream on https://github.com/grooverdan/php-src/commit/32b6d708c93d47730ba340affaf70f10e15bec17 errmsg.h is still in 5.6, 5.7 and 8.0 and not mariadb. my_ulonglong is in mysql.h in mariadb now, however with a differing definition.
The right on is here however this isn't the included file:
These differences cause the compile warning:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Black [ 2020-09-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Edit: I was wrong about my_ulonglong warnings - they happen in [MySQL-5.6 too](https://travis-ci.org/github/grooverdan/php-src/jobs/726539689#L983) And errmsg.h is there in server and connector-c releases.:
|