diff options
author | bar@bar.mysql.r18.ru <> | 2002-12-11 17:12:55 +0400 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2002-12-11 17:12:55 +0400 |
commit | 40f828d5f1bc004b735725a83e1a57db3687edbc (patch) | |
tree | 637c5013c6af554aff41f67a3c7cb54dac975245 /sql/field_conv.cc | |
parent | 34033b9389026adfc59516e88d8d326c88aec8b7 (diff) | |
download | mariadb-git-40f828d5f1bc004b735725a83e1a57db3687edbc.tar.gz |
Some system_charset_info and default_charset_info were replaced by my_charset_latin1
Diffstat (limited to 'sql/field_conv.cc')
-rw-r--r-- | sql/field_conv.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sql/field_conv.cc b/sql/field_conv.cc index 409c22d61d4..0a8c122812c 100644 --- a/sql/field_conv.cc +++ b/sql/field_conv.cc @@ -263,7 +263,8 @@ static void do_conv_blob(Copy_field *copy) { copy->from_field->val_str(©->tmp,©->tmp); ((Field_blob *) copy->to_field)->store(copy->tmp.ptr(), - copy->tmp.length(),default_charset_info); + copy->tmp.length(), + copy->tmp.charset()); } /* Save blob in copy->tmp for GROUP BY */ @@ -275,7 +276,8 @@ static void do_save_blob(Copy_field *copy) copy->from_field->val_str(&res,&res); copy->tmp.copy(res); ((Field_blob *) copy->to_field)->store(copy->tmp.ptr(), - copy->tmp.length(),default_charset_info); + copy->tmp.length(), + copy->tmp.charset()); } @@ -284,7 +286,7 @@ static void do_field_string(Copy_field *copy) char buff[MAX_FIELD_WIDTH]; copy->tmp.set_quick(buff,sizeof(buff),default_charset_info); copy->from_field->val_str(©->tmp,©->tmp); - copy->to_field->store(copy->tmp.c_ptr_quick(),copy->tmp.length(),default_charset_info); + copy->to_field->store(copy->tmp.c_ptr_quick(),copy->tmp.length(),copy->tmp.charset()); } |