Commit d3b75dd2 authored by unknown's avatar unknown

sql_test.cc:

  Less default_charset_info


sql/sql_test.cc:
  Less default_charset_info
parent db442d08
...@@ -52,7 +52,7 @@ print_where(COND *cond,const char *info) ...@@ -52,7 +52,7 @@ print_where(COND *cond,const char *info)
if (cond) if (cond)
{ {
char buff[256]; char buff[256];
String str(buff,(uint32) sizeof(buff), default_charset_info); String str(buff,(uint32) sizeof(buff), system_charset_info);
str.length(0); str.length(0);
cond->print(&str); cond->print(&str);
str.append('\0'); str.append('\0');
...@@ -116,8 +116,8 @@ void print_cached_tables(void) ...@@ -116,8 +116,8 @@ void print_cached_tables(void)
void TEST_filesort(SORT_FIELD *sortorder,uint s_length) void TEST_filesort(SORT_FIELD *sortorder,uint s_length)
{ {
char buff[256],buff2[256]; char buff[256],buff2[256];
String str(buff,sizeof(buff),default_charset_info); String str(buff,sizeof(buff),system_charset_info);
String out(buff2,sizeof(buff2),default_charset_info); String out(buff2,sizeof(buff2),system_charset_info);
const char *sep; const char *sep;
DBUG_ENTER("TEST_filesort"); DBUG_ENTER("TEST_filesort");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment