List:Commits« Previous MessageNext Message »
From:Ingo Struewing Date:November 23 2007 11:52am
Subject:bk commit into 5.0 tree (istruewing:1.2589) BUG#31277
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of istruewing. When istruewing does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-11-23 12:52:29+01:00, istruewing@stripped +1 -0
  BUG#31277 - myisamchk --unpack corrupts a table
  Fixed a compiler warning on win64. Backport from 5.1.

  myisam/mi_packrec.c@stripped, 2007-11-23 12:52:28+01:00, istruewing@stripped +1 -1
    BUG#31277 - myisamchk --unpack corrupts a table
    Fixed a compiler warning on win64. Backport from 5.1.

diff -Nrup a/myisam/mi_packrec.c b/myisam/mi_packrec.c
--- a/myisam/mi_packrec.c	2007-11-14 11:37:22 +01:00
+++ b/myisam/mi_packrec.c	2007-11-23 12:52:28 +01:00
@@ -563,7 +563,7 @@ static void fill_quick_table(uint16 *tab
   */
   value|= (max_bits - bits) << 8 | IS_CHAR;
 
-  for (end= table + ((uint) 1 << bits); table < end; table++)
+  for (end= table + (uint) (((uint) 1 << bits)); table < end; table++)
   {
     *table= (uint16) value;
   }
Thread
bk commit into 5.0 tree (istruewing:1.2589) BUG#31277Ingo Struewing23 Nov