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()
123 socket = MyG(default_socket);
126 port = MyG(default_port);
129 passwd = MyG(default_pw);
133 username = MyG(default_user);
136 hostname = MyG(default_host);
148 if (!MyG(allow_persistent)) {
174 MyG(num_inactive_persistent)--;
185 MyG(num_active_persistent)++;
233 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) {
234 php_error_docref(NULL, E_WARNING, "Too many open links (" ZEND_LONG_FMT ")", MyG(num_links));
238 if (persistent && MyG(max_persistent) != -1 &&
239 (MyG(num_active_persistent) + MyG(num_inactive_persistent))>= MyG(max_persistent))
242 MyG(num_active_persistent) + MyG(num_inactive_persistent));
330 char reconnect = MyG(reconnect);
333 unsigned int allow_local_infile = MyG(allow_local_infile);
337 if (MyG(local_infile_directory) && !php_check_open_basedir(MyG(local_infile_directory))) {
338 mysql_options(mysql->mysql, MYSQL_OPT_LOAD_DATA_LOCAL_DIR, MyG(local_infile_directory));
351 MyG(num_active_persistent)++;
354 MyG(num_links)++;
405 RETURN_LONG(MyG(error_no));
416 if (MyG(error_msg)) {
417 RETURN_STRING(MyG(error_msg));
728 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
751 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
965 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
985 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
1317 add_assoc_long_ex(return_value, "total", sizeof("total") - 1, MyG(num_links));
1318 …add_assoc_long_ex(return_value, "active_plinks", sizeof("active_plinks") - 1, MyG(num_active_persi…
1319 …add_assoc_long_ex(return_value, "cached_plinks", sizeof("cached_plinks") - 1, MyG(num_inactive_per…