summaryrefslogtreecommitdiff
path: root/unittest
diff options
context:
space:
mode:
authorunknown <guilhem@gbichot3.local>2006-12-04 15:31:04 +0100
committerunknown <guilhem@gbichot3.local>2006-12-04 15:31:04 +0100
commit5750daa4cf73eba0a6f1d9909844bf106228ae80 (patch)
tree13053fed8650c5b25a23221b2f946be2d2e7c5f1 /unittest
parentb72903fe54cf83c3dcbec7e3532e23bf946249ba (diff)
downloadmariadb-git-5750daa4cf73eba0a6f1d9909844bf106228ae80.tar.gz
Maria - post-review change of "fixes for gcc -ansi".
And reducing the time taken by my_atomic-t. include/lf.h: fix to be able to add a ";" at the end of the macro's invokation (removing it here, removes a warning from "gcc -ansi" about a standalone ";"). mysys/lf_hash.c: ";" is ok now after LF_REQUIRE_PINS mysys/mf_pagecache.c: comment fix unittest/mysys/my_atomic-t.c: decreasing number of iterations to make test take less time.
Diffstat (limited to 'unittest')
-rw-r--r--unittest/mysys/my_atomic-t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/mysys/my_atomic-t.c b/unittest/mysys/my_atomic-t.c
index 314335944d3..02e07acd67b 100644
--- a/unittest/mysys/my_atomic-t.c
+++ b/unittest/mysys/my_atomic-t.c
@@ -275,9 +275,9 @@ int main()
&my_charset_bin);
#ifdef MY_ATOMIC_MODE_RWLOCKS
-#define CYCLES 10000
+#define CYCLES 3000
#else
-#define CYCLES 1000000
+#define CYCLES 300000
#endif
#define THREADS 100