mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Avoid compiler warnings on windows
include/config-win.h: Added missing typedef ssize_t Added some other useful defines from MySQL 6.0 unittest/mysys/waiting_threads-t.c: Fixed link failure for 'ftruncate' on Windows
This commit is contained in:
@ -254,6 +254,7 @@ void do_tests()
|
||||
diag("timeout_long=%lu us, deadlock_search_depth_long=%lu",
|
||||
wt_timeout_long, wt_deadlock_search_depth_long);
|
||||
|
||||
#ifndef _WIN32
|
||||
#define test_kill_strategy(X) \
|
||||
diag("kill strategy: " #X); \
|
||||
DBUG_EXECUTE("reset_file", \
|
||||
@ -261,6 +262,12 @@ void do_tests()
|
||||
DBUG_PRINT("info", ("kill strategy: " #X)); \
|
||||
kill_strategy=X; \
|
||||
do_one_test();
|
||||
#else
|
||||
diag("kill strategy: " #X); \
|
||||
DBUG_PRINT("info", ("kill strategy: " #X)); \
|
||||
kill_strategy=X; \
|
||||
do_one_test();
|
||||
#endif
|
||||
|
||||
test_kill_strategy(LATEST);
|
||||
test_kill_strategy(RANDOM);
|
||||
|
Reference in New Issue
Block a user