diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-02-26 14:08:31 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-02-26 14:08:31 +0400 |
commit | 5bc80ff8903edc3e304c7b0a7440f7dfb84b1893 (patch) | |
tree | 5f2778ec9968b65a3ce00b266e03fcbe8c70751c /sql/protocol.cc | |
parent | 6d535030870ec158630a785d334ab4b710fdc523 (diff) | |
download | mariadb-git-5bc80ff8903edc3e304c7b0a7440f7dfb84b1893.tar.gz |
sql_udf.cc, protocol.cc:
Less default_charset_info
sql/protocol.cc:
Less default_charset_info
sql/sql_udf.cc:
Less default_charset_info
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r-- | sql/protocol.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc index 9a7a913f874..6bd5c4534e9 100644 --- a/sql/protocol.cc +++ b/sql/protocol.cc @@ -508,7 +508,7 @@ bool Protocol::send_fields(List<Item> *list, uint flag) List_iterator_fast<Item> it(*list); Item *item; char buff[80]; - String tmp((char*) buff,sizeof(buff),default_charset_info); + String tmp((char*) buff,sizeof(buff),&my_charset_bin); Protocol_simple prot(thd); String *packet= prot.storage_packet(); DBUG_ENTER("send_fields"); @@ -655,7 +655,7 @@ bool Protocol::store(const char *from) bool Protocol::store(I_List<i_string>* str_list) { char buf[256]; - String tmp(buf, sizeof(buf), default_charset_info); + String tmp(buf, sizeof(buf), &my_charset_bin); uint32 len; I_List_iterator<i_string> it(*str_list); i_string* s; @@ -794,7 +794,7 @@ bool Protocol_simple::store(Field *field) field_pos++; #endif char buff[MAX_FIELD_WIDTH]; - String tmp(buff,sizeof(buff),default_charset_info); + String tmp(buff,sizeof(buff), &my_charset_bin); field->val_str(&tmp,&tmp); if (convert) return convert_str(tmp.ptr(), tmp.length()); |