Home
last modified time | relevance | path

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

/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_debug.h185 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg))
186 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg))
187 #define DBG_INF_FMT(...) DBG_INF_FMT_EX(MYSQLND_G(dbg), __VA_ARGS__)
192 #define DBG_RETURN(value) DBG_RETURN_EX(MYSQLND_G(dbg), (value))
193 #define DBG_VOID_RETURN DBG_VOID_RETURN_EX(MYSQLND_G(dbg))
194 #define DBG_BLOCK_LEAVE DBG_BLOCK_LEAVE_EX(MYSQLND_G(dbg))
202 #define TRACE_ALLOC_ENTER(func_name) DBG_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (func_na…
203 #define TRACE_ALLOC_BLOCK_ENTER(bname) DBG_BLOCK_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), …
204 #define TRACE_ALLOC_RETURN(value) DBG_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (value))
205 #define TRACE_ALLOC_VOID_RETURN DBG_VOID_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc))
[all …]
H A Dphp_mysqlnd.c147 php_info_print_table_row(2, "Tracing", MYSQLND_G(debug)? MYSQLND_G(debug):"n/a"); in PHP_MINFO_FUNCTION()
215 MYSQLND_G(net_cmd_buffer_size) = long_value; in PHP_INI_MH()
278 if (MYSQLND_G(debug)) { in PHP_RINIT_FUNCTION()
280 MYSQLND_G(dbg) = NULL; in PHP_RINIT_FUNCTION()
287 dbg->m->set_mode(dbg, MYSQLND_G(debug)); in PHP_RINIT_FUNCTION()
289 MYSQLND_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
290 MYSQLND_G(trace_alloc) = trace_alloc; in PHP_RINIT_FUNCTION()
304 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in PHP_RSHUTDOWN_FUNCTION()
305 MYSQLND_DEBUG * trace_alloc = MYSQLND_G(trace_alloc); in PHP_RSHUTDOWN_FUNCTION()
310 MYSQLND_G(dbg) = NULL; in PHP_RSHUTDOWN_FUNCTION()
[all …]
H A Dmysqlnd_alloc.c82 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_emalloc()
84 zend_long * threshold = &MYSQLND_G(debug_emalloc_fail_threshold); in _mysqlnd_emalloc()
122 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pemalloc()
124 …zend_long * threshold = persistent? &MYSQLND_G(debug_malloc_fail_threshold):&MYSQLND_G(debug_emall… in _mysqlnd_pemalloc()
167 zend_long * threshold = &MYSQLND_G(debug_ecalloc_fail_threshold); in _mysqlnd_ecalloc()
208 …zend_long * threshold = persistent? &MYSQLND_G(debug_calloc_fail_threshold):&MYSQLND_G(debug_ecall… in _mysqlnd_pecalloc()
251 zend_long * threshold = &MYSQLND_G(debug_erealloc_fail_threshold); in _mysqlnd_erealloc()
292 …zend_long * threshold = persistent? &MYSQLND_G(debug_realloc_fail_threshold):&MYSQLND_G(debug_erea… in _mysqlnd_perealloc()
398 zend_long * threshold = &MYSQLND_G(debug_malloc_fail_threshold); in _mysqlnd_malloc()
437 zend_long * threshold = &MYSQLND_G(debug_calloc_fail_threshold); in _mysqlnd_calloc()
[all …]
H A Dmysqlnd.h267 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic))
270 MYSQLND_DEC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic))
273 …MYSQLND_INC_STATISTIC_W_VALUE2(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic1), …
276 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic)); \
277 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), (conn_stats), (statistic));
280 …MYSQLND_INC_STATISTIC_W_VALUE(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic), (v…
281 MYSQLND_INC_STATISTIC_W_VALUE(MYSQLND_G(collect_statistics), (conn_stats), (statistic), (value));
284 …MYSQLND_INC_STATISTIC_W_VALUE2(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic1), …
285 …MYSQLND_INC_STATISTIC_W_VALUE2(MYSQLND_G(collect_statistics), (conn_stats), (statistic1), (value1)…
289 …MYSQLND_INC_STATISTIC_W_VALUE3(MYSQLND_G(collect_statistics), (conn_stats), (statistic1), (value1)…
[all …]
H A Dmysqlnd_auth.c697 MYSQLND_G(sha256_server_public_key); in mysqlnd_sha256_get_rsa_key()
702 MYSQLND_G(sha256_server_public_key)? MYSQLND_G(sha256_server_public_key):"n/a"); in mysqlnd_sha256_get_rsa_key()
H A Dmysqlnd_debug.c727 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in mysqlnd_debug()
735 MYSQLND_G(dbg) = dbg; in mysqlnd_debug()
H A Dmysqlnd_vio.c679 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
682 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
H A Dmysqlnd_net.c1101 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
1104 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
1107 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
H A Dmysqlnd_protocol_frame_codec.c422 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
H A Dmysqlnd_result.c1959 if (!(ret->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)))) { in mysqlnd_result_unbuffered_init()
2003 if (!(ret->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)))) { in mysqlnd_result_buffered_zval_init()
2050 if (!(ret->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)))) { in mysqlnd_result_buffered_c_init()
H A Dmysqlnd_wireprotocol.c1583 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_binary_protocol()
1668 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_text_protocol_aux()
H A Dmysqlnd_connection.c1952 if (MYSQLND_G(fetch_data_copy)) {

Completed in 58 milliseconds