mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
MNDR
- Rename simple_command* to send_command
This commit is contained in:
parent
0f38d479e1
commit
6051a47776
5 changed files with 49 additions and 49 deletions
|
@ -643,9 +643,9 @@ size_t php_mysqlnd_auth_write(void * _packet, MYSQLND_CONN_DATA * conn)
|
|||
}
|
||||
}
|
||||
if (packet->is_change_user_packet) {
|
||||
if (PASS != conn->m->simple_command(conn, COM_CHANGE_USER, buffer + MYSQLND_HEADER_SIZE, p - buffer - MYSQLND_HEADER_SIZE,
|
||||
PROT_LAST /* the caller will handle the OK packet */,
|
||||
packet->silent, TRUE)) {
|
||||
if (PASS != conn->m->send_command(conn, COM_CHANGE_USER, buffer + MYSQLND_HEADER_SIZE, p - buffer - MYSQLND_HEADER_SIZE,
|
||||
PROT_LAST /* the caller will handle the OK packet */,
|
||||
packet->silent, TRUE)) {
|
||||
DBG_RETURN(0);
|
||||
}
|
||||
DBG_RETURN(p - buffer - MYSQLND_HEADER_SIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue