mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Change things to allow passing of the password length
to mysqlnd. This is needed as a password might include a \0 and thus we need to be binary safe.
This commit is contained in:
parent
0048446fdd
commit
5ca5c2bf43
8 changed files with 24 additions and 11 deletions
|
@ -36,6 +36,7 @@ mysqlnd_native_auth_handshake(MYSQLND * conn,
|
|||
const char * const passwd,
|
||||
const char * const db,
|
||||
const size_t db_len,
|
||||
const size_t passwd_len,
|
||||
const MYSQLND_PACKET_GREET * const greet_packet,
|
||||
const MYSQLND_OPTIONS * const options,
|
||||
unsigned long mysql_flags,
|
||||
|
@ -132,6 +133,7 @@ mysqlnd_native_auth_change_user(MYSQLND * const conn,
|
|||
const char * const passwd,
|
||||
const char * const db,
|
||||
const size_t db_len,
|
||||
const size_t passwd_len,
|
||||
const zend_bool silent,
|
||||
char ** switch_to_auth_protocol
|
||||
TSRMLS_DC)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue