summaryrefslogtreecommitdiff
path: root/sql/protocol.cc
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-05-30 23:09:35 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-05-30 23:09:35 +0500
commit487a64963b2382fdf816770402fb05d0c681aa23 (patch)
treec740544d9252d2f43d5e5b1b8411dad92bceaa88 /sql/protocol.cc
parentd1e7a597aece2bb4aa68069dbfdb3ed85f5cfb31 (diff)
downloadmariadb-git-487a64963b2382fdf816770402fb05d0c681aa23.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.cc2
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)