Home
last modified time | relevance | path

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

/PHP-5.6/ext/mysqlnd/
H A Dmysqlnd_debug.h179 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg))
180 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg))
181 #define DBG_INF_FMT(...) DBG_INF_FMT_EX(MYSQLND_G(dbg), __VA_ARGS__)
186 #define DBG_RETURN(value) DBG_RETURN_EX(MYSQLND_G(dbg), (value))
187 #define DBG_VOID_RETURN DBG_VOID_RETURN_EX(MYSQLND_G(dbg))
188 #define DBG_BLOCK_LEAVE DBG_BLOCK_LEAVE_EX(MYSQLND_G(dbg))
196 #define TRACE_ALLOC_ENTER(func_name) DBG_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (func_na…
197 #define TRACE_ALLOC_BLOCK_ENTER(bname) DBG_BLOCK_ENTER_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), …
198 #define TRACE_ALLOC_RETURN(value) DBG_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc), (value))
199 #define TRACE_ALLOC_VOID_RETURN DBG_VOID_RETURN_EX2(MYSQLND_G(dbg), MYSQLND_G(trace_alloc))
[all …]
H A Dphp_mysqlnd.c162 php_info_print_table_row(2, "Tracing", MYSQLND_G(debug)? MYSQLND_G(debug):"n/a"); in PHP_MINFO_FUNCTION()
223 MYSQLND_G(net_cmd_buffer_size) = long_value; in PHP_INI_MH()
284 if (MYSQLND_G(debug)) { in PHP_RINIT_FUNCTION()
286 MYSQLND_G(dbg) = NULL; in PHP_RINIT_FUNCTION()
293 dbg->m->set_mode(dbg, MYSQLND_G(debug)); in PHP_RINIT_FUNCTION()
295 MYSQLND_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
296 MYSQLND_G(trace_alloc) = trace_alloc; in PHP_RINIT_FUNCTION()
310 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in PHP_RSHUTDOWN_FUNCTION()
311 MYSQLND_DEBUG * trace_alloc = MYSQLND_G(trace_alloc); in PHP_RSHUTDOWN_FUNCTION()
316 MYSQLND_G(dbg) = NULL; in PHP_RSHUTDOWN_FUNCTION()
[all …]
H A Dmysqlnd_statistics.h124 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic))
127 MYSQLND_DEC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic))
130 …MYSQLND_INC_STATISTIC_W_VALUE2(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic1), …
133 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic)); \
134 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), (conn_stats), (statistic));
137 …MYSQLND_INC_STATISTIC_W_VALUE(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic), (v…
138 MYSQLND_INC_STATISTIC_W_VALUE(MYSQLND_G(collect_statistics), (conn_stats), (statistic), (value));
141 …MYSQLND_INC_STATISTIC_W_VALUE2(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic1), …
142 …MYSQLND_INC_STATISTIC_W_VALUE2(MYSQLND_G(collect_statistics), (conn_stats), (statistic1), (value1)…
145 …MYSQLND_INC_STATISTIC_W_VALUE3(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic1), …
[all …]
H A Dmysqlnd_alloc.c80 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_emalloc()
82 long * threshold = &MYSQLND_G(debug_emalloc_fail_threshold); in _mysqlnd_emalloc()
120 zend_bool collect_memory_statistics = MYSQLND_G(collect_memory_statistics); in _mysqlnd_pemalloc()
122 …long * threshold = persistent? &MYSQLND_G(debug_malloc_fail_threshold):&MYSQLND_G(debug_emalloc_fa… in _mysqlnd_pemalloc()
165 long * threshold = &MYSQLND_G(debug_ecalloc_fail_threshold); in _mysqlnd_ecalloc()
206 …long * threshold = persistent? &MYSQLND_G(debug_calloc_fail_threshold):&MYSQLND_G(debug_ecalloc_fa… in _mysqlnd_pecalloc()
249 long * threshold = &MYSQLND_G(debug_erealloc_fail_threshold); in _mysqlnd_erealloc()
290 …long * threshold = persistent? &MYSQLND_G(debug_realloc_fail_threshold):&MYSQLND_G(debug_erealloc_… in _mysqlnd_perealloc()
396 long * threshold = &MYSQLND_G(debug_malloc_fail_threshold); in _mysqlnd_malloc()
435 long * threshold = &MYSQLND_G(debug_calloc_fail_threshold); in _mysqlnd_calloc()
[all …]
H A Dmysqlnd_auth.c491 MYSQLND_G(sha256_server_public_key); in mysqlnd_sha256_get_rsa_key()
496 MYSQLND_G(sha256_server_public_key)? MYSQLND_G(sha256_server_public_key):"n/a"); in mysqlnd_sha256_get_rsa_key()
H A Dmysqlnd.h292 #define MYSQLND_G(v) TSRMG(mysqlnd_globals_id, zend_mysqlnd_globals *, v) macro
294 #define MYSQLND_G(v) (mysqlnd_globals.v)
H A Dmysqlnd_debug.c750 MYSQLND_DEBUG * dbg = MYSQLND_G(dbg); in _mysqlnd_debug()
758 MYSQLND_G(dbg) = dbg; in _mysqlnd_debug()
H A Dmysqlnd_net.c1099 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
1102 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
1105 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
H A Dmysqlnd_result.c633 unsigned int to_log = MYSQLND_G(log_mask); in mysqlnd_query_read_result_set_header()
2033 …if (!(ret->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size) TSRMLS_… in mysqlnd_result_unbuffered_init()
2073 …if (!(ret->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size) TSRMLS_… in mysqlnd_result_buffered_zval_init()
2116 …if (!(ret->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size) TSRMLS_… in mysqlnd_result_buffered_c_init()
H A Dmysqlnd_wireprotocol.c1527 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_binary_protocol()
1642 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_text_protocol_aux()
H A Dmysqlnd.c2636 if (MYSQLND_G(fetch_data_copy)) {

Completed in 47 milliseconds