diff options
author | unknown <guilhem@gbichot3.local> | 2006-12-04 15:31:04 +0100 |
---|---|---|
committer | unknown <guilhem@gbichot3.local> | 2006-12-04 15:31:04 +0100 |
commit | 5750daa4cf73eba0a6f1d9909844bf106228ae80 (patch) | |
tree | 13053fed8650c5b25a23221b2f946be2d2e7c5f1 /unittest | |
parent | b72903fe54cf83c3dcbec7e3532e23bf946249ba (diff) | |
download | mariadb-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.c | 4 |
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 |