mirror of
https://github.com/MariaDB/server.git
synced 2026-05-01 04:35:32 +02:00
Now string values are created and filled with charset field
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
This commit is contained in:
parent
b043f06666
commit
8bee96ab0a
37 changed files with 366 additions and 325 deletions
|
|
@ -33,7 +33,7 @@ print_where(COND *cond,const char *info)
|
|||
if (cond)
|
||||
{
|
||||
char buff[256];
|
||||
String str(buff,(uint32) sizeof(buff));
|
||||
String str(buff,(uint32) sizeof(buff), default_charset_info);
|
||||
str.length(0);
|
||||
cond->print(&str);
|
||||
str.append('\0');
|
||||
|
|
@ -99,7 +99,8 @@ void print_cached_tables(void)
|
|||
void TEST_filesort(SORT_FIELD *sortorder,uint s_length, ha_rows special)
|
||||
{
|
||||
char buff[256],buff2[256];
|
||||
String str(buff,sizeof(buff)),out(buff2,sizeof(buff2));
|
||||
String str(buff,sizeof(buff),default_charset_info);
|
||||
String out(buff2,sizeof(buff2),default_charset_info);
|
||||
const char *sep;
|
||||
DBUG_ENTER("TEST_filesort");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue