List:Commits« Previous MessageNext Message »
From:Ramil Kalimullin Date:August 15 2008 7:55am
Subject:bzr commit into mysql-5.1-bugteam branch (ramil:2700) Bug#37537
View as plain text  
#At file:///home/ram/mysql/mysql-5.1-bugteam/

 2700 Ramil Kalimullin	2008-08-15
      Fix for bug#37537: myisamchk fails with Assertion failure with partitioned table
      
      Problem: missed "break" in a switch leads to unexpected assertion failure
      of 'myisamchk compressed_table'.
      
      Fix: add the break.
modified:
  storage/myisam/mi_check.c

per-file messages:
  storage/myisam/mi_check.c
    Fix for bug#37537: myisamchk fails with Assertion failure with partitioned table
    
    In the record links check function (chk_data_link()) 
    missed "break" for case COMPRESSED_RECORD was added.
=== modified file 'storage/myisam/mi_check.c'
--- a/storage/myisam/mi_check.c	2008-08-11 18:02:03 +0000
+++ b/storage/myisam/mi_check.c	2008-08-15 05:55:20 +0000
@@ -1211,6 +1211,7 @@ int chk_data_link(MI_CHECK *param, MI_IN
 	param->glob_crc+= mi_checksum(info,record);
       link_used+= (block_info.filepos - start_recpos);
       used+= (pos-start_recpos);
+      break;
     case BLOCK_RECORD:
       assert(0);                                /* Impossible */
     } /* switch */

Thread
bzr commit into mysql-5.1-bugteam branch (ramil:2700) Bug#37537Ramil Kalimullin15 Aug