Hello community, here is the log from the commit of package sysbench for openSUSE:Factory checked in at 2016-08-28 12:18:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sysbench (Old) and /work/SRC/openSUSE:Factory/.sysbench.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "sysbench" Changes: -------- --- /work/SRC/openSUSE:Factory/sysbench/sysbench.changes 2016-08-03 11:43:53.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.sysbench.new/sysbench.changes 2016-08-28 12:18:18.000000000 +0200 @@ -1,0 +2,15 @@ +Sat Aug 27 08:35:10 UTC 2016 - mpluskal@suse.com + +- Update to version 0.5.0+git.20160824: + * adjust event generation for a high volume + * Fixes #44: seqwr deleting test files + * Duplicate line + * added locking to get_request in lua scripting + * Don't lock thread mutex unnecessarily in script_lua.c and sb_cpu.c. + * Fix crash introduced by commit 9244fcf. + * Adding volatile modifier to tmp variable in memory test + * Fixes #57: Race condition in sb_timer_value() + * Fix --with-mysql-libs for MySQL 5.7. + * Create indexes after data load in parallel_prepare + +------------------------------------------------------------------- Old: ---- sysbench-0.5.0+git.20160721.tar.xz New: ---- sysbench-0.5.0+git.20160824.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysbench.spec ++++++ --- /var/tmp/diff_new_pack.OQ584i/_old 2016-08-28 12:18:19.000000000 +0200 +++ /var/tmp/diff_new_pack.OQ584i/_new 2016-08-28 12:18:19.000000000 +0200 @@ -16,9 +16,9 @@ # -%define version_unconverted 0.5.0+git.20160721 +%define version_unconverted 0.5.0+git.20160824 Name: sysbench -Version: 0.5.0+git.20160721 +Version: 0.5.0+git.20160824 Release: 0 Summary: A MySQL benchmarking tool License: GPL-2.0 ++++++ sysbench-0.5.0+git.20160721.tar.xz -> sysbench-0.5.0+git.20160824.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysbench-0.5.0+git.20160721/m4/ac_check_mysqlr.m4 new/sysbench-0.5.0+git.20160824/m4/ac_check_mysqlr.m4 --- old/sysbench-0.5.0+git.20160721/m4/ac_check_mysqlr.m4 2016-07-21 11:27:35.000000000 +0200 +++ new/sysbench-0.5.0+git.20160824/m4/ac_check_mysqlr.m4 2016-08-23 22:33:03.000000000 +0200 @@ -1,9 +1,9 @@ dnl --------------------------------------------------------------------------- dnl Macro: AC_CHECK_MYSQLR -dnl First check for custom MySQL paths in --with-mysql-* options. -dnl If some paths are missing, check if mysql_config exists. -dnl Then check for the libraries and replace -lmysqlclient with -dnl -lmysqlclient_r, to enable threaded client library. +dnl First check if the MySQL root directory is specified with --with-mysql. +dnl Otherwise check for custom MySQL paths in --with-mysql-includes and +dnl --with-mysql-libs. If some paths are not specified explicitly, try to get +dnl them from mysql_config. dnl --------------------------------------------------------------------------- AC_DEFUN([AC_CHECK_MYSQLR],[ @@ -51,7 +51,20 @@ ac_cv_mysql_libs=`echo ${ac_cv_mysql_libs} | sed -e 's/.libs$//' \ -e 's+.libs/$++'` AC_CACHE_CHECK([MySQL libraries], [ac_cv_mysql_libs], [ac_cv_mysql_libs=""]) - MYSQL_LIBS="-L$ac_cv_mysql_libs -lmysqlclient_r" + save_LDFLAGS="$LDFLAGS" + save_LIBS="$LIBS" + LDFLAGS="-L$ac_cv_mysql_libs" + LIBS="" + + # libmysqlclient_r has been removed in MySQL 5.7 + AC_SEARCH_LIBS([mysql_real_connect], + [mysqlclient_r mysqlclient], + [], + AC_MSG_ERROR([cannot find MySQL client libraries in $ac_cv_mysql_libs])) + + MYSQL_LIBS="$LDFLAGS $LIBS" + LIBS="$save_LIBS" + LDFLAGS="$save_LDFLAGS" fi # If some path is missing, try to autodetermine with mysql_config diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sysbench-0.5.0+git.20160721/sysbench/tests/db/common.lua new/sysbench-0.5.0+git.20160824/sysbench/tests/db/common.lua --- old/sysbench-0.5.0+git.20160721/sysbench/tests/db/common.lua 2016-07-21 11:27:35.000000000 +0200 +++ new/sysbench-0.5.0+git.20160824/sysbench/tests/db/common.lua 2016-08-23 22:33:03.000000000 +0200 @@ -59,8 +59,6 @@ db_query(query) - db_query("CREATE INDEX k_" .. i .. " on sbtest" .. i .. "(k)") - print("Inserting " .. oltp_table_size .. " records into 'sbtest" .. i .. "'") if (oltp_auto_inc) then @@ -89,6 +87,8 @@ db_bulk_insert_done() + print("Creating secondary indexes on 'sbtest" .. i .. "'...") + db_query("CREATE INDEX k_" .. i .. " on sbtest" .. i .. "(k)") end