summaryrefslogtreecommitdiff
path: root/sql/sql_class.cc
diff options
context:
space:
mode:
authorBjorn Munch <bjorn.munch@oracle.com>2011-08-24 15:22:33 +0200
committerBjorn Munch <bjorn.munch@oracle.com>2011-08-24 15:22:33 +0200
commit9906e9cf7254073fef9ad8d65780445b8754dd24 (patch)
tree60ede7bee9f9b6be781e6666736ab282c0b7a6b7 /sql/sql_class.cc
parent34efcfa4db3e9cb0a03f609c62b662fafbdd1170 (diff)
downloadmariadb-git-9906e9cf7254073fef9ad8d65780445b8754dd24.tar.gz
Backporting fix from trunk (revid 3381), original comment:
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.
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r--sql/sql_class.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 0b1de2c47fa..9b5772d3d07 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -641,7 +641,7 @@ char *thd_security_context(THD *thd, char *buffer, unsigned int length,
{
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