List:Commits« Previous MessageNext Message »
From:Anurag Shekhar Date:April 2 2009 12:07pm
Subject:bzr commit into mysql-5.0-bugteam branch (anurag.shekhar:2725)
Bug#43950
View as plain text  
#At file:///home/anurag/mysqlsrc/mysql-5.0-43950/ based on revid:timothy.smith@stripped

 2725 Anurag Shekhar	2009-04-02
      Bug #43950 myisamchk shows negative value for 'Max keyfile length'
      
      While printing the Max keyfile length 'llstr' call was used which 
      was treating the max_key_file_length as negative.
      
      Changing this to ullstr fixes the problem. 
     @ myisam/myisamchk.c
        Changed llstr to ullstr while converting share->base.max_key_file_length-1 
        to string.

    modified:
      myisam/myisamchk.c
=== modified file 'myisam/myisamchk.c'
--- a/myisam/myisamchk.c	2009-01-15 10:48:31 +0000
+++ b/myisam/myisamchk.c	2009-04-02 12:07:34 +0000
@@ -1311,7 +1311,7 @@ static void descript(MI_CHECK *param, re
 	  share->base.max_key_file_length != HA_OFFSET_ERROR)
 	printf("Max datafile length: %13s  Max keyfile length: %13s\n",
 	       llstr(share->base.max_data_file_length-1,llbuff),
-	       llstr(share->base.max_key_file_length-1,llbuff2));
+	       ullstr(share->base.max_key_file_length-1,llbuff2));
     }
   }
 


Attachment: [text/bzr-bundle] bzr/anurag.shekhar@sun.com-20090402120734-ksdbjufw82h5fxqi.bundle
Thread
bzr commit into mysql-5.0-bugteam branch (anurag.shekhar:2725)Bug#43950Anurag Shekhar2 Apr
  • Re: bzr commit into mysql-5.0-bugteam branch (anurag.shekhar:2725)Bug#43950Sergey Vojtovich7 Apr