From: Ingo Strüwing Date: November 6 2008 3:46pm Subject: Re: bzr commit into mysql-5.1 branch (kgeorge:2690) Bug#37936 List-Archive: http://lists.mysql.com/commits/58041 Message-Id: <4913116A.6010001@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Hi Joro, Georgi Kodinov, 06.11.2008 15:45: ... > Now assume that read_set is the same as write_set, i.e. > read_set->bitmap is 1 > write_set->bitmap is 1 > all_set->bitmap is 3 > > save_read_set_bitmap= read_set->bitmap; read_set->bitmap= all_set->bitmap; > save_write_set_bitmap= write_set->bitmap; write_set->bitmap= > all_set->bitmap; > > as a result we have : > save_read_set_bitmap is 1 > read_set->bitmap is 3 > save_write_set_bitmap is 3 (because read_set->bitmap was already set > when saving the write_set) Ok. After some thinking, I found another level of indirection below read_set and write_set. I am completely confused. I should not do this review. Though I do now seem to understand that both bitmaps still referred to all_set after restore, and thus all later changes to them corrupted all_set, I don't dare to approve the patch. I was as sure, that it was wrong, before our conversation. Sorry. :-( 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