Commit Graph

9 Commits

Author SHA1 Message Date
8ac5bd6720 Fix --with-mysql-libs for MySQL 5.7.
Don't use the hard-coded libmysqlclient_r name for the client library,
because it is obsolete in 5.7. Instead, if the client library path is
specified explicitly with --with-mysql-libs, try both libmysqlclient_r
and libmysqlclient in that order.
2016-05-15 23:51:14 +03:00
db9df06050 Add __attribute__((format...)) to printf-like function declarations.
The SB_ATTRIBUTE_FORMAT() now expands to __attribute__((format...) on
platforms that support it. Fixed a number of inconsistencies between
format string and arguments revealed by the format attribute.
2016-03-26 22:43:48 +03:00
4ad92418c6 Fix compatibility with Autoconf 2.63 broken by adding ax_tls.m4. 2016-02-25 18:00:46 +08:00
e24a028409 Fixes #18: lrand48() is not thread-safe
and
LP#1412488: lrand48() doesn't scale well on highly concurrent platforms

Use re-entrant versions of standard RNG functions with thread-local
states. Seed thread-local RNGs from the RNG of the thread invoking
sb_thread_create() (i.e. the main thread).

The main thread RNG is now always seeded from timer, unless --rand-seed
is specified. Which obsoletes --rand-init, so it has been removed.
2016-02-24 00:26:30 +08:00
057e143b27 Use mysql_config --libs_r instead of mysql_config --libs | sed. 2015-11-03 00:11:51 +03:00
3d63e69a69 More descriptive configure message when MySQL client library is not found. 2015-09-30 19:22:05 +03:00
a24fa26f0f Bug #1415750: --with-pgsql-libs is ignored
Merged a contributed patch.
2015-03-01 21:18:51 +03:00
7de7f37551 Bug #1415746: mysql include path was set in PGSQL_CFLAGS
Merged a contributed patch.
2015-03-01 21:14:41 +03:00
ff225a7490 Fixed LP bug #671684: build broken in lp:sysbench/0.4
Backported autotools-related fixes from trunk.
2010-11-06 15:37:17 +03:00