mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
less default_charset_info
This commit is contained in:
@ -929,7 +929,7 @@ get_mm_leaf(PARAM *param, Field *field, KEY_PART *key_part,
|
||||
{
|
||||
bool like_error;
|
||||
char buff1[MAX_FIELD_WIDTH],*min_str,*max_str;
|
||||
String tmp(buff1,sizeof(buff1),default_charset_info),*res;
|
||||
String tmp(buff1,sizeof(buff1),value->charset()),*res;
|
||||
uint length,offset,min_length,max_length;
|
||||
|
||||
if (!field->optimize_range(param->real_keynr[key_part->key]))
|
||||
@ -2793,7 +2793,7 @@ static void
|
||||
print_key(KEY_PART *key_part,const char *key,uint used_length)
|
||||
{
|
||||
char buff[1024];
|
||||
String tmp(buff,sizeof(buff),default_charset_info);
|
||||
String tmp(buff,sizeof(buff),NULL);
|
||||
|
||||
for (uint length=0;
|
||||
length < used_length ;
|
||||
|
Reference in New Issue
Block a user