From: Date: May 13 2005 7:23pm Subject: bk commit into 5.0 tree (jimw:1.1948) BUG#10493 List-Archive: http://lists.mysql.com/internals/24876 X-Bug: 10493 Message-Id: <20050513172339.5AC8AA82F5@rama.trainedmonkey.com> Below is the list of changes that have just been committed into a local 5.0 repository of jimw. When jimw 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 1.1948 05/05/13 10:23:34 jimw@stripped +1 -0 Manually merge fix for Bug #10493 to 5.0, since the ctype-cp932.c file in the 5.0 tree is new since 4.1. strings/ctype-cp932.c 1.7 05/05/13 10:22:36 jimw@stripped +1 -1 Fix for Bug #10493. # This is a BitKeeper patch. What follows are the unified diffs for the # set of deltas contained in the patch. The rest of the patch, the part # that BitKeeper cares about, is below these diffs. # User: jimw # Host: rama.(none) # Root: /home/jimw/my/mysql-5.0-clean --- 1.6/strings/ctype-cp932.c 2005-05-05 09:13:08 -07:00 +++ 1.7/strings/ctype-cp932.c 2005-05-13 10:22:36 -07:00 @@ -5417,7 +5417,7 @@ { const char *b0= b; *error= 0; - while (pos && b < e) + while (pos-- && b < e) { /* Cast to int8 for extra safety.