← Back to team overview

maria-developers team mailing list archive

Rev 2774: fix a warning in http://bazaar.launchpad.net/~maria-captains/maria/5.2/

 

At http://bazaar.launchpad.net/~maria-captains/maria/5.2/

------------------------------------------------------------
revno: 2774
revision-id: sergii@xxxxxxxxx-20100406110224-0wtdkmquq8wmdfer
parent: igor@xxxxxxxxxxxx-20100406065639-w39nrood9amqc5zk
committer: Sergei Golubchik <sergii@xxxxxxxxx>
branch nick: 5.2
timestamp: Tue 2010-04-06 13:02:24 +0200
message:
  fix a warning
=== modified file 'mysys/mf_keycache.c'
--- a/mysys/mf_keycache.c	2010-04-06 02:08:10 +0000
+++ b/mysys/mf_keycache.c	2010-04-06 11:02:24 +0000
@@ -5207,7 +5207,7 @@ int init_partitioned_key_cache(PARTITION
         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: