summaryrefslogtreecommitdiff
path: root/mysys
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 /mysys
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 'mysys')
-rw-r--r--mysys/lf_hash.c2
-rwxr-xr-xmysys/mf_pagecache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysys/lf_hash.c b/mysys/lf_hash.c
index e13c5f64f54..7e61ef690c6 100644
--- a/mysys/lf_hash.c
+++ b/mysys/lf_hash.c
@@ -28,7 +28,7 @@
#include <my_bit.h>
#include <lf.h>
-LF_REQUIRE_PINS(3)
+LF_REQUIRE_PINS(3);
/* An element of the list */
typedef struct {
diff --git a/mysys/mf_pagecache.c b/mysys/mf_pagecache.c
index fe2d827ab50..3e3484d5efb 100755
--- a/mysys/mf_pagecache.c
+++ b/mysys/mf_pagecache.c
@@ -970,7 +970,7 @@ void change_pagecache_param(PAGECACHE *pagecache, uint division_limit,
/*
- Flushes and removes page cache from memory
+ Removes page cache from memory. Does NOT flush pages to disk.
SYNOPSIS
end_pagecache()