Home
last modified time | relevance | path

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

/PHP-5.4/ext/mysqlnd/
H A Dphp_mysqlnd.c179 snprintf(buf, sizeof(buf), "%ld", MYSQLND_G(net_cmd_buffer_size)); in PHP_MINFO_FUNCTION()
181 snprintf(buf, sizeof(buf), "%ld", MYSQLND_G(net_read_buffer_size)); in PHP_MINFO_FUNCTION()
183 snprintf(buf, sizeof(buf), "%ld", MYSQLND_G(net_read_timeout)); in PHP_MINFO_FUNCTION()
188 php_info_print_table_row(2, "Tracing", MYSQLND_G(debug)? MYSQLND_G(debug):"n/a"); in PHP_MINFO_FUNCTION()
245 MYSQLND_G(net_cmd_buffer_size) = long_value; in PHP_INI_MH()
304 if (MYSQLND_G(debug)) { in PHP_RINIT_FUNCTION()
306 MYSQLND_G(dbg) = NULL; in PHP_RINIT_FUNCTION()
312 dbg->m->set_mode(dbg, MYSQLND_G(debug)); in PHP_RINIT_FUNCTION()
313 MYSQLND_G(dbg) = dbg; in PHP_RINIT_FUNCTION()
327 MYSQLND_DEBUG *dbg = MYSQLND_G(dbg); 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()
164 long * threshold = &MYSQLND_G(debug_ecalloc_fail_threshold); in _mysqlnd_ecalloc()
204 …long * threshold = persistent? &MYSQLND_G(debug_calloc_fail_threshold):&MYSQLND_G(debug_ecalloc_fa… in _mysqlnd_pecalloc()
247 long * threshold = &MYSQLND_G(debug_erealloc_fail_threshold); in _mysqlnd_erealloc()
287 …long * threshold = persistent? &MYSQLND_G(debug_realloc_fail_threshold):&MYSQLND_G(debug_erealloc_… in _mysqlnd_perealloc()
389 long * threshold = &MYSQLND_G(debug_malloc_fail_threshold); in _mysqlnd_malloc()
427 long * threshold = &MYSQLND_G(debug_calloc_fail_threshold); in _mysqlnd_calloc()
[all …]
H A Dmysqlnd_debug.h159 #define DBG_INF(msg) DBG_INF_EX(MYSQLND_G(dbg), (msg))
160 #define DBG_ERR(msg) DBG_ERR_EX(MYSQLND_G(dbg), (msg))
161 #define DBG_INF_FMT(...) DBG_INF_FMT_EX(MYSQLND_G(dbg), __VA_ARGS__)
162 #define DBG_ERR_FMT(...) DBG_ERR_FMT_EX(MYSQLND_G(dbg), __VA_ARGS__)
164 #define DBG_ENTER(func_name) DBG_ENTER_EX(MYSQLND_G(dbg), (func_name))
165 #define DBG_BLOCK_ENTER(bname) DBG_BLOCK_ENTER_EX(MYSQLND_G(dbg), (bname))
166 #define DBG_RETURN(value) DBG_RETURN_EX(MYSQLND_G(dbg), (value))
167 #define DBG_VOID_RETURN DBG_VOID_RETURN_EX(MYSQLND_G(dbg))
168 #define DBG_BLOCK_LEAVE DBG_BLOCK_LEAVE_EX(MYSQLND_G(dbg))
H A Dmysqlnd_net.c971 buf_size = MYSQLND_G(net_cmd_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
974 buf_size = MYSQLND_G(net_read_buffer_size); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
977 buf_size = MYSQLND_G(net_read_timeout); /* this is long, cast to unsigned int*/ in MYSQLND_METHOD()
H A Dmysqlnd.h283 #define MYSQLND_G(v) TSRMG(mysqlnd_globals_id, zend_mysqlnd_globals *, v) macro
285 #define MYSQLND_G(v) (mysqlnd_globals.v)
H A Dmysqlnd_debug.c750 MYSQLND_DEBUG *dbg = MYSQLND_G(dbg); in _mysqlnd_debug()
752 MYSQLND_G(dbg) = dbg = mysqlnd_debug_init(mysqlnd_debug_std_no_trace_funcs TSRMLS_CC); in _mysqlnd_debug()
H A Dmysqlnd_result.c525 unsigned int to_log = MYSQLND_G(log_mask); in mysqlnd_query_read_result_set_header()
902 result->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size) TSRMLS_CC); in MYSQLND_METHOD()
1271 result->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size) TSRMLS_CC); in MYSQLND_METHOD()
H A Dmysqlnd_wireprotocol.c1464 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_binary_protocol()
1574 if (MYSQLND_G(collect_statistics)) { in php_mysqlnd_rowp_read_text_protocol()
H A Dmysqlnd_ps.c103 result->result_set_memory_pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size) TSRMLS_CC); in MYSQLND_METHOD()

Completed in 44 milliseconds