summaryrefslogtreecommitdiff
path: root/unittest/mysys
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2009-09-01 15:59:54 +0400
committerSergey Petrunya <psergey@askmonty.org>2009-09-01 15:59:54 +0400
commitd841ea23ef0465e7cc0a060a1b1a6faf0f4804b8 (patch)
tree9f5d95c5ce014509325bad61aa5ca855efb952c3 /unittest/mysys
parent177f024954283c372a7f6d0b56354e2d61a81eb4 (diff)
downloadmariadb-git-d841ea23ef0465e7cc0a060a1b1a6faf0f4804b8.tar.gz
Trivial fixes for windows compile failures
- Add strmov_overlapp.c where it's needed - Add libevent where it is required - Fix typo in unittest/mysys/waiting_threads-t.c - fix xtradb C language source so that they have variable declarations before any operators, as it is (or was?) required in C. libmysql/CMakeLists.txt: - Add strmov_overlapp.c where it's needed sql/CMakeLists.txt: - Add strmov_overlapp.c where it's needed - Add libevent where it is required storage/xtradb/btr/btr0cur.c: - fix xtradb C language source so that they have variable declarations before any operators, as it is (or was?) required in C. storage/xtradb/buf/buf0buddy.c: - fix xtradb C language source so that they have variable declarations before any operators, as it is (or was?) required in C. storage/xtradb/buf/buf0flu.c: - fix xtradb C language source so that they have variable declarations before any operators, as it is (or was?) required in C. storage/xtradb/fil/fil0fil.c: - fix xtradb C language source so that they have variable declarations before any operators, as it is (or was?) required in C. storage/xtradb/handler/i_s.cc: - fix xtradb C language source so that they have variable declarations before any operators, as it is (or was?) required in C. storage/xtradb/srv/srv0srv.c: - fix xtradb C language source so that they have variable declarations before any operators, as it is (or was?) required in C. strings/CMakeLists.txt: - Add strmov_overlapp.c where it's needed unittest/mysys/waiting_threads-t.c: - Fix typo in unittest/mysys/waiting_threads-t.c
Diffstat (limited to 'unittest/mysys')
-rw-r--r--unittest/mysys/waiting_threads-t.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittest/mysys/waiting_threads-t.c b/unittest/mysys/waiting_threads-t.c
index 7c76252a29f..d6c8dc31025 100644
--- a/unittest/mysys/waiting_threads-t.c
+++ b/unittest/mysys/waiting_threads-t.c
@@ -263,6 +263,7 @@ void do_tests()
kill_strategy=X; \
do_one_test();
#else
+#define test_kill_strategy(X) \
diag("kill strategy: " #X); \
DBUG_PRINT("info", ("kill strategy: " #X)); \
kill_strategy=X; \