List:Commits« Previous MessageNext Message »
From:John David Duncan Date:November 7 2009 5:17pm
Subject:bzr commit into mysql-5.1-telco-6.3-ndbjtie branch (jdd:3103)
View as plain text  
#At file:///Users/jdd/Desktop/dev/6.3-ndbjtie/ based on revid:jdd@stripped

 3103 John David Duncan	2009-11-07
      Changing 'const unsigned char *' back to 'const char *'
      signed causes a warning on some compilers, but unsigned causes an error on others.

    modified:
      storage/ndb/ndbjtie/mysql/test/mysql_utils_test.cpp
=== modified file 'storage/ndb/ndbjtie/mysql/test/mysql_utils_test.cpp'
--- a/storage/ndb/ndbjtie/mysql/test/mysql_utils_test.cpp	2009-11-05 06:19:14 +0000
+++ b/storage/ndb/ndbjtie/mysql/test/mysql_utils_test.cpp	2009-11-07 17:15:59 +0000
@@ -105,9 +105,9 @@ int main()
        but in the UTF-8 representation it is 0xC3 0xBC.
     */
     
-    const unsigned char my_word_latin1[6]    = { 0xFC, 'l', 'k', 'e', 'r', 0}; 
-    const unsigned char my_word_utf8[7]      = { 0xC3, 0xBC, 'l', 'k', 'e', 'r', 0}; 
-    const unsigned char my_word_truncated[5] = { 0xC3, 0xBC, 'l', 'k', 0};
+    const char my_word_latin1[6]    = { 0xFC, 'l', 'k', 'e', 'r', 0}; 
+    const char my_word_utf8[7]      = { 0xC3, 0xBC, 'l', 'k', 'e', 'r', 0}; 
+    const char my_word_truncated[5] = { 0xC3, 0xBC, 'l', 'k', 0};
     const unsigned char my_bad_utf8[5]       = { 'l' , 0xBC, 'a', 'd', 0};
     char result_buff_1[32];
     char result_buff_2[32];


Attachment: [text/bzr-bundle] bzr/jdd@sun.com-20091107171559-7zk0fek0h2vy4ozm.bundle
Thread
bzr commit into mysql-5.1-telco-6.3-ndbjtie branch (jdd:3103)John David Duncan7 Nov