- 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:
Andrey Hristov 2015-11-10 16:59:34 +01:00
parent 94ce013bff
commit c24d452f60
6 changed files with 269 additions and 280 deletions

View file

@ -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);