summaryrefslogtreecommitdiff
path: root/include/mysql.h
diff options
context:
space:
mode:
authorunknown <georg@lmy002.wdf.sap.corp>2005-07-16 07:13:40 +0200
committerunknown <georg@lmy002.wdf.sap.corp>2005-07-16 07:13:40 +0200
commit90002cdc7b2f482c59a461184bc570c604f6a977 (patch)
treefffbb4b0689e1af8793fa34c85f75e5f2b2be98d /include/mysql.h
parente54cc5b995c2b6cdb8a45664474bdb945c05ed70 (diff)
downloadmariadb-git-90002cdc7b2f482c59a461184bc570c604f6a977.tar.gz
Restore previous used client charset in mysql_reconnect
Moved mysql_set_character_set function to client.c Changed function prototype for mysql_set_character_set (as suggested by Konstantin) include/mysql.h: Changed function prototype libmysql/libmysql.c: moved mysql_set_character_set to client.c sql-common/client.c: moved mysql_set_character_set to client.c
Diffstat (limited to 'include/mysql.h')
-rw-r--r--include/mysql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mysql.h b/include/mysql.h
index daa29f70e16..2ba41e6d367 100644
--- a/include/mysql.h
+++ b/include/mysql.h
@@ -396,7 +396,7 @@ unsigned int STDCALL mysql_warning_count(MYSQL *mysql);
const char * STDCALL mysql_info(MYSQL *mysql);
unsigned long STDCALL mysql_thread_id(MYSQL *mysql);
const char * STDCALL mysql_character_set_name(MYSQL *mysql);
-int STDCALL mysql_set_character_set(MYSQL *mysql, char *csname);
+int STDCALL mysql_set_character_set(MYSQL *mysql, const char *csname);
MYSQL * STDCALL mysql_init(MYSQL *mysql);
my_bool STDCALL mysql_ssl_set(MYSQL *mysql, const char *key,