1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

"mysql" now sends client character set to server.

This commit is contained in:
bar@bar.mysql.r18.ru
2003-05-28 13:54:18 +05:00
parent 7df5635ff2
commit 7ffcf6f64a
3 changed files with 12 additions and 1 deletions

View File

@@ -2549,6 +2549,7 @@ sql_real_connect(char *host,char *database,char *user,char *password,
select_limit,max_join_size);
mysql_options(&mysql, MYSQL_INIT_COMMAND, init_command);
}
mysql_options(&mysql, MYSQL_SET_CHARSET_NAME, default_charset);
if (!mysql_real_connect(&mysql, host, user, password,
database, opt_mysql_port, opt_mysql_unix_port,
connect_flag | CLIENT_MULTI_QUERIES))