Activity log for bug #629304

Date Who What changed Old value New value Message
2010-09-03 07:03:15 GVLePage bug added bug
2010-09-03 08:11:50 GVLePage description Binary package hint: libmysqlclient-dev This is a known mysql bug http://bugs.mysql.com/bug.php?id=43397 Installing the source for libmysqlclient-dev yields mysql-dfsg-5.1 in mysql-dfsg-5.1-5.1.41 The error generated when compiling/linking against -lmysqlclient -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX (as per mysql_config --cflags using ${shell mysql_config --cflags} in my make file) Using -DMYSQL_CLIENT_NO_THREADS solves the issue but is not really a satisfactory solution in my opinion Without using -DMYSQL_CLIENT_NO_THREADS this error gets generated dus.o: In function `g7::dus::initialize()': dus.cpp:(.text+0x12d): undefined reference to `my_pthread_fastmutex_init' collect2: ld returned 1 exit status make: *** [all] Error 1 Will this be patched in a future package of libmysqlclient-dev I built a very light weight C++ wrapper around the mysql c api, mostly so I do not have to pass parameters around, members of the class I built maintain those the values I need internally, the application is multithreaded Thanks and regards, G Binary package hint: libmysqlclient-dev This is a known mysql bug http://bugs.mysql.com/bug.php?id=43397 Installing the source for libmysqlclient-dev yields mysql-dfsg-5.1 in mysql-dfsg-5.1-5.1.41 The error generated when compiling/linking against -lmysqlclient -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -DUNIV_LINUX -DUNIV_LINUX (as per mysql_config --cflags using ${shell mysql_config --cflags} in my make file) Using -DMYSQL_CLIENT_NO_THREADS solves the issue but is not really a satisfactory solution in my opinion Without using -DMYSQL_CLIENT_NO_THREADS this error gets generated dus.o: In function `g7::dus::initialize()': dus.cpp:(.text+0x12d): undefined reference to `my_pthread_fastmutex_init' collect2: ld returned 1 exit status make: *** [all] Error 1 Will this be patched in a future package of libmysqlclient-dev I built a very light weight C++ wrapper around the mysql c api, mostly so I do not have to pass mysql parameters around, members of the class I built maintain those the values I need internally, the application is multithreaded. Thanks and regards, G
2010-09-03 14:45:55 Dustin Kirkland  mysql-5.1 (Ubuntu): status New Triaged
2010-09-03 14:45:59 Dustin Kirkland  mysql-5.1 (Ubuntu): importance Undecided Medium
2010-09-03 14:46:10 Dustin Kirkland  bug watch added http://bugs.mysql.com/bug.php?id=43397
2010-09-03 14:46:10 Dustin Kirkland  bug task added mysql-server
2017-11-29 16:20:05 Gabriel Ramirez mysql-5.1 (Ubuntu): status Triaged Invalid