Bug 728634

Summary: Fedora 15 MySQL RPMs strip out my_net_read
Product: [Fedora] Fedora Reporter: Andrew Hutchings <andrew>
Component: mysqlAssignee: Tom Lane <tgl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: hhorak, tgl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-05 23:57:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Hutchings 2011-08-05 21:10:02 UTC
Description of problem:
In bug #722966 there is a review for the possibility to get mydumper in Fedora/RedHat.

In the Fedora 15 .spec file I notice a changelog entry which hides functions which are not part of the API.  Unfortunately this hides my_net_read which is required by mydumper.  This means that mydumper will compile in everything except Fedora 15.

Can you please add my_net_read into your libmysql.version file?

Version-Release number of selected component (if applicable):
5.5.8-1 onwards

Additional info:
See https://bugs.launchpad.net/mydumper/+bug/803982 and RedHat Bug #722966 for more information

Comment 1 Tom Lane 2011-08-05 21:40:30 UTC
The point of hiding the not-officially-exported functions is to make sure that applications won't break if/when mysql changes or removes such functions.  It seems to me that mydumper is coding extremely unsafely if they depend on direct access to this function.  I think the appropriate course here would be for them to persuade mysql upstream to add this function to the documented API.  If it were documented I'd of course add it to the exported symbol list.

Comment 2 Andrew Hutchings 2011-08-05 23:57:02 UTC
ok, I understand your point of view.  There is another way but it will take a few months for me to develop.  Thanks anyway.