Searched refs:MYSQLND_G (Results 1 – 12 of 12) sorted by relevance
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_debug.h | 185 #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 D | php_mysqlnd.c | 147 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 D | mysqlnd_alloc.c | 82 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 D | mysqlnd.h | 267 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 D | mysqlnd_auth.c | 697 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 D | mysqlnd_debug.c | 727 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in mysqlnd_debug() 735 MYSQLND_G(dbg) = dbg; in mysqlnd_debug()
|
H A D | mysqlnd_vio.c | 679 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 D | mysqlnd_net.c | 1101 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 D | mysqlnd_protocol_frame_codec.c | 422 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
|
H A D | mysqlnd_result.c | 1959 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 D | mysqlnd_wireprotocol.c | 1583 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 D | mysqlnd_connection.c | 1952 if (MYSQLND_G(fetch_data_copy)) {
|
Completed in 58 milliseconds