summaryrefslogtreecommitdiff
path: root/mysys/mf_keycache.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-04-06 13:02:24 +0200
committerSergei Golubchik <sergii@pisem.net>2010-04-06 13:02:24 +0200
commitd04d8aa6bbb05d4bb3fceafbab723649c8d650ed (patch)
tree55696aa3466a318c45e2fedfbc75c1ade908512a /mysys/mf_keycache.c
parentbe129162132d086194c549ddb5ad1e12829c53f7 (diff)
downloadmariadb-git-d04d8aa6bbb05d4bb3fceafbab723649c8d650ed.tar.gz
fix a warning
Diffstat (limited to 'mysys/mf_keycache.c')
-rw-r--r--mysys/mf_keycache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/mf_keycache.c b/mysys/mf_keycache.c
index 9ced597b44a..253707853fd 100644
--- a/mysys/mf_keycache.c
+++ b/mysys/mf_keycache.c
@@ -5207,7 +5207,7 @@ int init_partitioned_key_cache(PARTITIONED_KEY_CACHE_CB *keycache,
my_free(partition, MYF(0));
partition= 0;
}
- if (i == 0 && cnt < 0 || i > 0)
+ if ((i == 0 && cnt < 0) || i > 0)
{
/*
Here we have two cases: