summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorbar@mysql.com <>2005-01-17 09:27:24 +0400
committerbar@mysql.com <>2005-01-17 09:27:24 +0400
commit308aec15269d135ec3ca5ec9bdad7c558706478e (patch)
tree62a665780d7e48de2e4ce9c50e661d0bef90033a /libmysql
parent6412558d03f7f8a5c6734644e403f2bcef1aa5f7 (diff)
downloadmariadb-git-308aec15269d135ec3ca5ec9bdad7c558706478e.tar.gz
libmysql.c:
bug#7891: mysql_character_set_name() returns collation
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index b180e86392d..10077e695f3 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1504,7 +1504,7 @@ ulong STDCALL mysql_thread_id(MYSQL *mysql)
const char * STDCALL mysql_character_set_name(MYSQL *mysql)
{
- return mysql->charset->name;
+ return mysql->charset->csname;
}