Searched refs:MyG (Results 1 – 9 of 9) sorted by relevance
/PHP-8.1/ext/mysqli/ |
H A D | mysqli_driver.c | 33 ZVAL_BOOL(retval, MyG(reconnect)); in driver_reconnect_read() 42 MyG(reconnect) = Z_TYPE_P(value) == IS_TRUE; in driver_reconnect_write() 50 ZVAL_LONG(retval, MyG(report_mode)); in driver_report_read() 59 MyG(report_mode) = Z_LVAL_P(value); in driver_report_write()
|
H A D | mysqli_nonapi.c | 38 MyG(error_no) = mysql_errno; in php_mysqli_set_error() 39 if (MyG(error_msg)) { in php_mysqli_set_error() 40 efree(MyG(error_msg)); in php_mysqli_set_error() 45 MyG(error_msg) = NULL; in php_mysqli_set_error() 126 port = MyG(default_port); 129 passwd = MyG(default_pw); 233 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) { 239 (MyG(num_active_persistent) + MyG(num_inactive_persistent))>= MyG(max_persistent)) 242 MyG(num_active_persistent) + MyG(num_inactive_persistent)); 354 MyG(num_links)++; [all …]
|
H A D | mysqli_priv.h | 121 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_errno(mysql)) { \ 126 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_stmt_errno(stmt)) { \
|
H A D | mysqli_report.c | 38 MyG(report_mode) = flags; in PHP_FUNCTION()
|
H A D | mysqli_exception.c | 40 if (!(MyG(report_mode) & MYSQLI_REPORT_STRICT)) { in php_mysqli_throw_sql_exception()
|
H A D | mysqli.c | 828 MyG(error_msg) = NULL; in PHP_RINIT_FUNCTION() 829 MyG(error_no) = 0; in PHP_RINIT_FUNCTION() 830 MyG(report_mode) = MYSQLI_REPORT_ERROR|MYSQLI_REPORT_STRICT; in PHP_RINIT_FUNCTION() 862 if (MyG(error_msg)) { in PHP_RSHUTDOWN_FUNCTION() 863 efree(MyG(error_msg)); in PHP_RSHUTDOWN_FUNCTION() 882 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_active_persistent)); in PHP_MINFO_FUNCTION() 884 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_inactive_persistent)); in PHP_MINFO_FUNCTION() 886 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION() 1095 if (MyG(report_mode) & MYSQLI_REPORT_ERROR) { in php_mysqli_fetch_into_hash_aux()
|
H A D | mysqli_prop.c | 149 ZVAL_LONG(retval, (zend_long)MyG(error_no)); in link_connect_errno_read() 158 if (MyG(error_msg)) { in link_connect_error_read() 159 ZVAL_STRING(retval, MyG(error_msg)); in link_connect_error_read()
|
H A D | mysqli_api.c | 631 MyG(num_links)--; in php_mysqli_close() 645 if (MyG(rollback_on_cached_plink) && in php_mysqli_close() 655 MyG(num_inactive_persistent)++; in php_mysqli_close() 657 MyG(num_active_persistent)--; in php_mysqli_close() 926 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { 1869 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) { 1922 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { 2565 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) { 2620 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
|
H A D | php_mysqli_structs.h | 277 #define MyG(v) ZEND_MODULE_GLOBALS_ACCESSOR(mysqli, v) macro
|
Completed in 32 milliseconds