Lines Matching refs:MyG

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()
43 MyG(error_msg) = estrdup(mysql_err); in php_mysqli_set_error()
45 MyG(error_msg) = NULL; in php_mysqli_set_error()
118 socket = MyG(default_socket);
121 port = MyG(default_port);
124 passwd = MyG(default_pw);
128 username = MyG(default_user);
131 hostname = MyG(default_host);
143 if (!MyG(allow_persistent)) {
169 MyG(num_inactive_persistent)--;
178 MyG(num_active_persistent)++;
210 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) {
211 php_error_docref(NULL, E_WARNING, "Too many open links (" ZEND_LONG_FMT ")", MyG(num_links));
215 if (persistent && MyG(max_persistent) != -1 &&
216 (MyG(num_active_persistent) + MyG(num_inactive_persistent))>= MyG(max_persistent))
219 MyG(num_active_persistent) + MyG(num_inactive_persistent));
271 unsigned int allow_local_infile = MyG(allow_local_infile);
274 if (MyG(local_infile_directory) && !php_check_open_basedir(MyG(local_infile_directory))) {
275 mysql_options(mysql->mysql, MYSQL_OPT_LOAD_DATA_LOCAL_DIR, MyG(local_infile_directory));
287 MyG(num_active_persistent)++;
290 MyG(num_links)++;
341 RETURN_LONG(MyG(error_no));
352 if (MyG(error_msg)) {
353 RETURN_STRING(MyG(error_msg));
608 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
627 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
833 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
853 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
1086 add_assoc_long_ex(return_value, "total", sizeof("total") - 1, MyG(num_links));
1087 …add_assoc_long_ex(return_value, "active_plinks", sizeof("active_plinks") - 1, MyG(num_active_persi…
1088 …add_assoc_long_ex(return_value, "cached_plinks", sizeof("cached_plinks") - 1, MyG(num_inactive_per…