Bug 77662
Summary: | mysql RPM's do not provide a thread safe library | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | James Olin Oden <james.oden> |
Component: | mysql | Assignee: | Patrick Macdonald <patrickm> |
Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | mwaite, xavibj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-02-25 19:31:41 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
James Olin Oden
2002-11-11 17:09:28 UTC
This is an enhancement request that we'll look into. At the moment, we ship the normal mysqlclient library, not the thread safe one. The reason why your test is failing is that you are linking to the non thread safe library. The results of your test (ie, mysql_thread_safe no) was the correct output. To create the thread safe client library, one must configure the build with --enable-thread-safe-client, which will produce the libmysqlclient_r library. The reason I was linking to the non-thread-safe client library is a thread safe client library is not provided by the RedHat RPM. The description of the bug points this out: mysql RPM's do not provide a thread safe client library This probably meant that I understood there was no thread safe client library provided in the first place. And all I was stating was that you listed "Expect Results: mysql_thread_safe yes" which is not what you should be expecting when linking against libmysqlclient. Anyway, we're looking at it now. Interesting... Netscape ate the summary line. Replacing This has been fixed. The thread safe client is now being built and the provided test case performs correctly. *** Bug 85816 has been marked as a duplicate of this bug. *** An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2003-094.html |