List:Commits« Previous MessageNext Message »
From:Ingo Strüwing Date:March 4 2009 7:33am
Subject:Re: bzr commit into mysql-5.1-bugteam branch (satya.bn:2754) Bug#41541
View as plain text  
Hi Satya,

thank you for all the changes. Approved.

Satya B, 04.03.2009 05:28:

...
>  2754 Satya B	2009-03-04
>       Fix for BUG#41541 - Valgrind warnings on packed MyISAM table
>             
>       After the table is compressed by the myisampack utility,
>       opening the table by the server produces valgrind warnings.
>       
>       This happens because when we try to read a record into the buffer
>       we alway assume that the remaining buffer to read is always equal 
>       to word size(4 or 8 or 2 bytes) we read. Sometimes we have 
>       remaining buffer size less than word size and trying to read the 
>       entire word size will end up in valgrind errors.
>             
>       Fixed by reading byte by byte when we detect the remaining buffer 
>       size is less than the word size.
...


Regards
Ingo
-- 
Ingo Strüwing, Database Group
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Geschäftsführer: Thomas Schröder, Wolfgang Engels, Dr. Roland Bömer
Vorsitzender des Aufsichtsrates: Martin Häring   HRB München 161028
Thread
bzr commit into mysql-5.1-bugteam branch (satya.bn:2754) Bug#41541Satya B4 Mar
  • Re: bzr commit into mysql-5.1-bugteam branch (satya.bn:2754) Bug#41541Ingo Strüwing4 Mar
    • Re: bzr commit into mysql-5.1-bugteam branch (satya.bn:2754) Bug#41541satya4 Mar
  • Re: bzr commit into mysql-5.1-bugteam branch (satya.bn:2754) Bug#41541Sergey Vojtovich24 Mar
    • Re: bzr commit into mysql-5.1-bugteam branch (satya.bn:2754) Bug#41541satya25 Mar
  • Problems with push into mysql-6.0-bugteam branch, Bug#41541Ingo Strüwing30 Mar
    • Re: Problems with push into mysql-6.0-bugteam branch, Bug#41541satya31 Mar
      • Bug#43973 [Re: Problems with push into mysql-6.0-bugteam branch,Bug#41541]Ingo Strüwing31 Mar