1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-12 01:53:02 +03:00

added function mysql_set_character_set (reviewed by Monty)

as a work around for #8317 and #9637

This function sends SET NAMES command and changes mysql->charset
so mysql_real_escape_string will work as expected.


libmysql/libmysql.def:
  added new function mysql_set_character_set
This commit is contained in:
unknown
2005-05-13 15:06:11 +02:00
parent cbbc4ff6a2
commit 29f3f4a27f
2 changed files with 31 additions and 0 deletions

View File

@ -146,4 +146,5 @@ EXPORTS
mysql_rpl_query_type
mysql_slave_query
mysql_embedded
mysql_set_character_set
get_defaults_files