List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:August 17 2011 6:52pm
Subject:bzr commit into mysql-trunk branch (vasil.dimov:3381)
View as plain text  
#At file:///usr/local/devel/bzrroot/server/mysql-trunk/ based on revid:georgi.kodinov@stripped

 3381 Vasil Dimov	2011-08-17
      Blind attempt to fix BUG 12881278 - MAIN.MYISAM TEST FAILS ON LINUX
      
      The printed text is truncated on char 63:
      
        "MySQL thread id 1236, OS thread handle 0x7ff187b96700, query id"
      
      still I do not understand how this truncation could have caused the
      main.myisam failure but anyway - the buffer needs to be increased.

    modified:
      sql/sql_class.cc
=== modified file 'sql/sql_class.cc'
--- a/sql/sql_class.cc	revid:georgi.kodinov@stripped
+++ b/sql/sql_class.cc	revid:vasil.dimov@stripped
@@ -666,7 +666,7 @@ char *thd_security_context(THD *thd, cha
 {
   String str(buffer, length, &my_charset_latin1);
   const Security_context *sctx= &thd->main_security_ctx;
-  char header[64];
+  char header[256];
   int len;
   /*
     The pointers thd->query and thd->proc_info might change since they are


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20110817185046-qrdhzm2ow34oca2i.bundle
Thread
bzr commit into mysql-trunk branch (vasil.dimov:3381) vasil.dimov22 Aug