Home
last modified time | relevance | path

Searched refs:MyG (Results 1 – 9 of 9) sorted by relevance

/PHP-7.3/ext/mysqli/
H A Dmysqli_driver.c35 ZVAL_BOOL(retval, MyG(value)); \
42 MyG(value) = Z_LVAL_P(value) > 0; \
49 ZVAL_LONG(retval, MyG(value)); \
56 MyG(value) = Z_LVAL_P(value); \
63 ZVAL_STRING(retval, MyG(value)); \
70 MyG(value) = Z_STRVAL_P(value); \
77 MyG(report_mode) = Z_LVAL_P(value); in driver_report_write()
H A Dmysqli_nonapi.c40 MyG(error_no) = mysql_errno; in php_mysqli_set_error()
41 if (MyG(error_msg)) { in php_mysqli_set_error()
42 efree(MyG(error_msg)); in php_mysqli_set_error()
47 MyG(error_msg) = NULL; in php_mysqli_set_error()
127 port = MyG(default_port);
130 passwd = MyG(default_pw);
228 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) {
234 (MyG(num_active_persistent) + MyG(num_inactive_persistent))>= MyG(max_persistent))
237 MyG(num_active_persistent) + MyG(num_inactive_persistent));
324 MyG(num_links)++;
[all …]
H A Dmysqli_report.c41 MyG(report_mode) = flags; in PHP_FUNCTION()
H A Dmysqli_priv.h133 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_errno(mysql)) { \
138 if ((MyG(report_mode) & MYSQLI_REPORT_ERROR) && mysql_stmt_errno(stmt)) { \
H A Dmysqli_exception.c49 if (!(MyG(report_mode) & MYSQLI_REPORT_STRICT)) { in php_mysqli_throw_sql_exception()
H A Dmysqli_prop.c129 ZVAL_LONG(retval, (zend_long)MyG(error_no)); in link_connect_errno_read()
137 if (MyG(error_msg)) { in link_connect_error_read()
138 ZVAL_STRING(retval, MyG(error_msg)); in link_connect_error_read()
H A Dmysqli.c908 MyG(error_msg) = NULL; in PHP_RINIT_FUNCTION()
909 MyG(error_no) = 0; in PHP_RINIT_FUNCTION()
910 MyG(report_mode) = 0; in PHP_RINIT_FUNCTION()
943 if (MyG(error_msg)) { in PHP_RSHUTDOWN_FUNCTION()
944 efree(MyG(error_msg)); in PHP_RSHUTDOWN_FUNCTION()
964 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_active_persistent)); in PHP_MINFO_FUNCTION()
966 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_inactive_persistent)); in PHP_MINFO_FUNCTION()
968 snprintf(buf, sizeof(buf), ZEND_LONG_FMT, MyG(num_links)); in PHP_MINFO_FUNCTION()
H A Dmysqli_api.c678 MyG(num_links)--; in php_mysqli_close()
692 if (MyG(rollback_on_cached_plink) && in php_mysqli_close()
702 MyG(num_inactive_persistent)++; in php_mysqli_close()
704 MyG(num_active_persistent)--; in php_mysqli_close()
930 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
1893 if (stmt->stmt && query_len && (MyG(report_mode) & MYSQLI_REPORT_INDEX)) {
1948 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
2610 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
2664 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
H A Dphp_mysqli_structs.h329 #define MyG(v) ZEND_MODULE_GLOBALS_ACCESSOR(mysqli, v) macro

Completed in 34 milliseconds