mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MNDR:
- less dereferencing in mysqlnd_ps . Dereference stmt->conn only once and use a stack variable. Also make the source cleaner.
This commit is contained in:
parent
94ce013bff
commit
c24d452f60
6 changed files with 269 additions and 280 deletions
|
@ -298,7 +298,7 @@ typedef struct st_mysqlnd_packet_sha256_pk_request_response {
|
|||
|
||||
PHPAPI void php_mysqlnd_scramble(zend_uchar * const buffer, const zend_uchar * const scramble, const zend_uchar * const pass, size_t pass_len);
|
||||
|
||||
zend_ulong php_mysqlnd_net_field_length(zend_uchar **packet);
|
||||
zend_ulong php_mysqlnd_net_field_length(const zend_uchar **packet);
|
||||
zend_uchar * php_mysqlnd_net_store_length(zend_uchar *packet, uint64_t length);
|
||||
size_t php_mysqlnd_net_store_length_size(uint64_t length);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue