Bug #21264 | request change to build thread-safe client when building only client libraries | ||
---|---|---|---|
Submitted: | 25 Jul 2006 5:38 | Modified: | 11 Sep 2018 12:59 |
Reporter: | Mark Johnson (Basic Quality Contributor) | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Compiling | Severity: | S4 (Feature request) |
Version: | 5.0.22 | OS: | Linux (linux 2.6.15/Slackware 10.2) |
Assigned to: | CPU Architecture: | Any |
[25 Jul 2006 5:38]
Mark Johnson
[25 Jul 2006 8:52]
Tonci Grgin
Hi Mark. I've been following your thread. It seems to me this should be in connector/ODBC category not server. If so, please change synopsis accordingly.
[25 Jul 2006 9:57]
Mark Johnson
I disagree that this should be in MyODBC. It is a change to the client only build of the MySQL package that I am requesting. When compiling MySQL client libraries the default is to build only the non-thread-safe version. However, MyODBC depends upon the thread-safe version. The suggestion of changing the default of MySQL to build both thread-safe and non-thread-safe client libraries is for the sake of convenience, motivated by this dependency of MyODBC. However, it is a change to the MySQL package and not to the MyODBC package being requested.
[26 Jul 2006 18:39]
Valeriy Kravchuk
I think this is a reasonable feature request.
[22 Apr 2007 6:00]
Cal Peake
Here's a simple two part hack to allow '--without-server' and '--enable-thread-safe-client' to coexist. Part 1 of the hack requires one to pass '--without-extra-tools' to 'configure' when building (doesn't change what would normally be built or installed, just keeps the build from breaking). Part 2 is this patch that applies to 'configure' itself. The patch was made against mysql-5.0.37. --- ./configure~orig 2007-03-05 14:23:27.000000000 -0500 +++ ./configure 2007-04-22 01:01:07.000000000 -0400 @@ -41133,7 +41133,7 @@ export CC CXX CFLAGS CXXFLAGS LD LDFLAGS AR ac_configure_args="$ac_configure_args CFLAGS='$CFLAGS' CXXFLAGS='$CXXFLAGS'" -if test "$with_server" = "yes" -o "$THREAD_SAFE_CLIENT" != "no" +if test "$with_server" = "yes" then cat >>confdefs.h <<\_ACEOF
[11 Sep 2018 12:59]
Dyre Tjeldvoll
Posted by developer: This issue is no longer relevant. After the transition to CMake the client libs are always built thread-safe.