Home
last modified time | relevance | path

Searched refs:compress_buf (Results 1 – 1 of 1) sorted by relevance

/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_net.c308 zend_uchar * compress_buf = NULL; in MYSQLND_METHOD() local
317 compress_buf = mnd_emalloc(comp_buf_size); in MYSQLND_METHOD()
332 …if (PASS == net->m.encode((compress_buf + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE), &tmp_comp… in MYSQLND_METHOD()
335 int3store(compress_buf + MYSQLND_HEADER_SIZE, to_be_sent + MYSQLND_HEADER_SIZE); in MYSQLND_METHOD()
338 int3store(compress_buf + MYSQLND_HEADER_SIZE, 0); in MYSQLND_METHOD()
344 int3store(compress_buf, payload_size); in MYSQLND_METHOD()
345 int1store(compress_buf + 3, net->packet_no); in MYSQLND_METHOD()
347 …bytes_sent = net->m.network_write_ex(net, compress_buf, payload_size + MYSQLND_HEADER_SIZE + COMPR… in MYSQLND_METHOD()
355 compress_buf + MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE, payload_size); in MYSQLND_METHOD()
404 if (compress_buf) { in MYSQLND_METHOD()
[all …]

Completed in 6 milliseconds