d572d59602
* Made forced shutdown introduced in 0.4.11 optional via the --forced-shutdown switch and off by default. Changes 0.4.11: * Added --oltp-reconnect-mode to the OLTP test. * Minor fixes to remove compiler warnings and DocBook processing on Mac OS X. * Added forced test shutdown to avoid endless execution when DB server freezes * Backport of Windows support from the 0.5 branch Changes 0.4.10: * Fixed the bug with empty --mysql-create-options * Merge two patches from Tim Cook: - use lrand48() as random() is not thread-safe on most platforms - use libumem/mtmalloc for memory allocation if available on the target platform * Got rid of some unnecessary malloc() calls in drv_mysql.c
12 lines
299 B
Text
12 lines
299 B
Text
$NetBSD: patch-aa,v 1.2 2010/05/27 10:49:08 adam Exp $
|
|
|
|
--- sysbench/drivers/mysql/drv_mysql.c.orig 2009-03-15 12:42:04.000000000 +0000
|
|
+++ sysbench/drivers/mysql/drv_mysql.c
|
|
@@ -32,6 +32,7 @@
|
|
# include <strings.h>
|
|
#endif
|
|
|
|
+#include <my_global.h>
|
|
#include <mysql.h>
|
|
#include <mysqld_error.h>
|
|
|