List:Commits« Previous MessageNext Message »
From:Satya B Date:June 29 2009 12:27pm
Subject:bzr commit into mysql-5.0-bugteam branch (satya.bn:2787) Bug#40565
View as plain text  
#At file:///home/satya/WORK/mysql/mysql-5.0-bugteam/ based on revid:alexey.kopytov@stripped

 2787 Satya B	2009-06-29
      Additional Fix for BUG#40565 - Update Query Results in "1 Row Affected" 
                                     But Should Be "Zero Rows"
      
      
      After applying the innodb snapshot 5.0-ss5406 for bug#40565, the windows push build
      tests failed because of the missing cast of void * pointer in row0sel.c file
      
      Informed the innodb developers and received patch by email.
      modified:
        innobase/row/row0sel.c

per-file messages:
  innobase/row/row0sel.c
    Cast the default_rec which is a void * pointer
=== modified file 'innobase/row/row0sel.c'
--- a/innobase/row/row0sel.c	2009-06-25 09:50:26 +0000
+++ b/innobase/row/row0sel.c	2009-06-29 12:27:22 +0000
@@ -2527,7 +2527,8 @@ row_sel_store_mysql_rec(
 			mysql_rec[templ->mysql_null_byte_offset] |=
 					(byte) (templ->mysql_null_bit_mask);
 			memcpy(mysql_rec + templ->mysql_col_offset,
-			       prebuilt->default_rec + templ->mysql_col_offset,
+			       (const byte*) prebuilt->default_rec 
+                               + templ->mysql_col_offset,
 			       templ->mysql_col_len);
 		}
 	} 

Thread
bzr commit into mysql-5.0-bugteam branch (satya.bn:2787) Bug#40565Satya B29 Jun