mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
remove old unicode code, that is was compiled out by using a macro
This commit is contained in:
parent
571b46bff6
commit
6074df91c6
14 changed files with 80 additions and 669 deletions
|
@ -88,11 +88,7 @@ mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn,
|
|||
if (options->charset_name && (charset = mysqlnd_find_charset_name(options->charset_name))) {
|
||||
auth_packet->charset_no = charset->nr;
|
||||
} else {
|
||||
#if MYSQLND_UNICODE
|
||||
auth_packet->charset_no = 200;/* utf8 - swedish collation, check mysqlnd_charset.c */
|
||||
#else
|
||||
auth_packet->charset_no = server_charset_no;
|
||||
#endif
|
||||
}
|
||||
|
||||
auth_packet->send_auth_data = TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue