sql_test.cc:
Less default_charset_info sql/sql_test.cc: Less default_charset_info
This commit is contained in:
parent
5bc80ff890
commit
3ba2916b24
@ -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)
|
|||||||
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");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user