diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-05-30 23:09:35 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-05-30 23:09:35 +0500 |
commit | 4f02211745969026545f253824a1961bc8d61ed8 (patch) | |
tree | c740544d9252d2f43d5e5b1b8411dad92bceaa88 /sql/protocol.cc | |
parent | 5717833347a0a1df8bff5e10d0f33c4f9a905e0d (diff) | |
download | mariadb-git-4f02211745969026545f253824a1961bc8d61ed8.tar.gz |
mysqlshow and mysqldump now send their vharacter set to server
character_set_results is now the same with character_set_client by default
Diffstat (limited to 'sql/protocol.cc')
-rw-r--r-- | sql/protocol.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.cc b/sql/protocol.cc index 848321c1576..7abbf3ce85b 100644 --- a/sql/protocol.cc +++ b/sql/protocol.cc @@ -499,7 +499,7 @@ bool Protocol::send_fields(List<Item> *list, uint flag) String tmp((char*) buff,sizeof(buff),&my_charset_bin); Protocol_simple prot(thd); String *packet= prot.storage_packet(); - CHARSET_INFO *thd_charset= thd->charset(); + CHARSET_INFO *thd_charset= thd->variables.character_set_results; DBUG_ENTER("send_fields"); if (flag & 1) |