List:Commits« Previous MessageNext Message »
From:Bjorn Munch Date:October 20 2010 9:40am
Subject:bzr commit into mysql-5.1-mtr branch (bjorn.munch:2945)
View as plain text  
#At file:///home/bm136801/my/lowcase-51/ based on revid:bjorn.munch@stripped

 2945 Bjorn Munch	2010-10-20
      Fixed missing cast of arg to my_mbcharlen

    modified:
      client/mysqltest.cc
=== modified file 'client/mysqltest.cc'
--- a/client/mysqltest.cc	2010-10-20 09:30:50 +0000
+++ b/client/mysqltest.cc	2010-10-20 09:39:58 +0000
@@ -5721,7 +5721,7 @@ int read_line(char *buf, int size)
       /* Could be a multibyte character */
       /* This code is based on the code in "sql_load.cc" */
 #ifdef USE_MB
-      int charlen = my_mbcharlen(charset_info, c);
+      int charlen = my_mbcharlen(charset_info, (unsigned char) c);
       /* We give up if multibyte character is started but not */
       /* completed before we pass buf_end */
       if ((charlen > 1) && (p + charlen) <= buf_end)


Attachment: [text/bzr-bundle] bzr/bjorn.munch@oracle.com-20101020093958-e6is8n8qbmhkixim.bundle
Thread
bzr commit into mysql-5.1-mtr branch (bjorn.munch:2945) Bjorn Munch20 Oct