mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
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.
This commit is contained in:
parent
b72903fe54
commit
5750daa4cf
4 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue