[CONC-54] client_errors symbol should be exported Created: 2013-10-04  Updated: 2013-10-04

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

Type: Bug Priority: Major
Reporter: Ramesh Dharan (Inactive) Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None
Environment:

Linux, Win32



 Description   

The client_errors global array is defined in libmariadb/errmsg.c, and accessible via the macros defined in include/errmsg.h.

It appears to be part of the public API, since code in the PHP mysqli extension accesses it directly via the ER() macros.

However, client_errors is not in libmariadb_exports.def or version_script.txt, which means that the symbol is not accessible when linking against the DSO/DLL.

I verified that adding client_errors to the list of symbols under global: in version_script.txt resolves the issue for me on a Linux system. Not sure about Win32 but looks like the analogous simple change in libmariadb_exports.def would take care of this assuming the same issue is present there.


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