mariadb/client
Staale Smedseng ab2f3dd2a2 Bug #43397 mysql headers redefine pthread_mutex_init
unnecessarily
      
The problem is that libmysqlclient.so is built with THREAD
undefined, while a client compiling against the same header
files will see THREAD as defined and definitions in
my_pthread.h will be included, possibly resulting in undefined
symbols that cannot be resolved with libmysqlclient.so.
      
The suggested solution is to require that clients wanting to
link with libmysqlclient.so should be built with
MYSQL_CLIENT_NO_THREADS defined. This requires a documentation
change, and more details for this will be supplied if this
patch is approved.
      
The MYSQL_CLIENT_NO_THREADS define was renamed from
UNDEF_THREADS_HACK, to get a more suitable (less suspicious)
name for the define. (The UNDEF_THREADS_HACK is retained for
backwards compatibility, though.)
      
This patch is also in anticipation of WL#4958, which will
remove this problem altogether by dropping the building of
libmysqlclient.
2009-07-08 16:49:45 +02:00
..
.cvsignore
client_priv.h Merge dl145h.mysql.com:/data0/mkindahl/mysql-5.1 2008-01-31 17:46:50 +01:00
CMakeLists.txt Bug #38181 Please print more debug info when tests fail 2008-08-04 21:54:44 +02:00
completion_hash.cc WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
completion_hash.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
echo.c echo.c: 2007-03-20 18:31:49 +01:00
get_password.c fixes for build failures due to my yesterday's changeset forbidding 2008-02-19 18:45:11 +01:00
Makefile.am Bug #43397 mysql headers redefine pthread_mutex_init 2009-07-08 16:49:45 +02:00
my_readline.h Manual merge. 2009-03-18 11:27:49 +03:00
mysql.cc Bug#37274 client 'status' command doesn't print all info after losing connection to 2009-07-03 13:55:45 +02:00
mysql_upgrade.c Fix compilation failures: get rid of C++ specifics in C-code. 2009-06-03 15:18:12 +04:00
mysqladmin.cc mysqladmin kill can't handle 64-bit thread IDs. (Bug #32457) 2009-05-07 13:09:53 -07:00
mysqlbinlog.cc merge: 5.1-bt bug branch --> 5.1-bt latest 2009-06-30 19:40:38 +01:00
mysqlcheck.c Fix compilation failures: get rid of C++ specifics in C-code. 2009-06-03 15:18:12 +04:00
mysqldump.c fixed compilation warnings on macosx 2009-07-07 16:11:46 +03:00
mysqlimport.c Fix compilation failures: get rid of C++ specifics in C-code. 2009-06-03 15:18:12 +04:00
mysqlshow.c Fix compilation failures: get rid of C++ specifics in C-code. 2009-06-03 15:18:12 +04:00
mysqlslap.c Fix compilation failures: get rid of C++ specifics in C-code. 2009-06-03 15:18:12 +04:00
mysqltest.cc Merge from 5.1 main. 2009-06-08 09:55:37 -03:00
readline.cc Manual merge. 2009-03-18 11:27:49 +03:00
sql_string.cc auto-merge 2009-03-19 09:44:58 -04:00
sql_string.h Fixed compiler warnings 2007-02-23 13:13:55 +02:00