Searched refs:MYSQLND_G (Results 1 – 13 of 13) sorted by relevance
/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_debug.h | 182 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg)) 183 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg)) 184 #define DBG_INF_FMT(...) DBG_INF_FMT_EX(MYSQLND_G(dbg), __VA_ARGS__) 189 #define DBG_RETURN(value) DBG_RETURN_EX(MYSQLND_G(dbg), (value)) 190 #define DBG_VOID_RETURN DBG_VOID_RETURN_EX(MYSQLND_G(dbg)) 191 #define DBG_BLOCK_LEAVE DBG_BLOCK_LEAVE_EX(MYSQLND_G(dbg)) 199 #define TRACE_ALLOC_ENTER(func_name) DBG_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (func_na… 200 #define TRACE_ALLOC_BLOCK_ENTER(bname) DBG_BLOCK_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), … 201 #define TRACE_ALLOC_RETURN(value) DBG_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (value)) 202 #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 | 683 MYSQLND_G(sha256_server_public_key); in mysqlnd_sha256_get_rsa_key() 688 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 | 675 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 678 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
|
H A D | mysqlnd_net.c | 1098 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1101 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD() 1104 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 | 447 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
|
H A D | mysqlnd_wireprotocol.c | 1477 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_binary_protocol() 1562 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_text_protocol_aux()
|
H A D | mysqlnd_result.c | 1919 pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)); in mysqlnd_result_init()
|
H A D | mysqlnd_ps.c | 260 pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)); in mysqlnd_stmt_skip_metadata()
|
H A D | mysqlnd_connection.c | 1921 if (MYSQLND_G(fetch_data_copy)) {
|
Completed in 67 milliseconds