Lines Matching refs:MyG
47 MyG(error_no) = mysql_errno; in php_mysqli_set_error()
48 if (MyG(error_msg)) { in php_mysqli_set_error()
49 efree(MyG(error_msg)); in php_mysqli_set_error()
52 MyG(error_msg) = estrdup(mysql_err); in php_mysqli_set_error()
54 MyG(error_msg) = NULL; in php_mysqli_set_error()
129 socket = MyG(default_socket);
132 port = MyG(default_port);
135 passwd = MyG(default_pw);
139 username = MyG(default_user);
142 hostname = MyG(default_host);
154 if (!MyG(allow_persistent)) {
174 MyG(num_inactive_persistent)--;
185 MyG(num_active_persistent)++;
208 if (MyG(max_links) != -1 && MyG(num_links) >= MyG(max_links)) {
209 php_error_docref(NULL, E_WARNING, "Too many open links (%pd)", MyG(num_links));
213 if (persistent && MyG(max_persistent) != -1 &&
214 (MyG(num_active_persistent) + MyG(num_inactive_persistent))>= MyG(max_persistent))
217 MyG(num_active_persistent) + MyG(num_inactive_persistent));
266 mysql->mysql->reconnect = MyG(reconnect);
269 mysql_options(mysql->mysql, MYSQL_OPT_LOCAL_INFILE, (char *)&MyG(allow_local_infile));
280 MyG(num_active_persistent)++;
283 MyG(num_links)++;
330 RETURN_LONG(MyG(error_no));
338 if (MyG(error_msg)) {
339 RETURN_STRING(MyG(error_msg));
600 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
629 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
832 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
853 if (MyG(report_mode) & MYSQLI_REPORT_INDEX) {
1199 add_assoc_long_ex(return_value, "total", sizeof("total") - 1, MyG(num_links));
1200 …add_assoc_long_ex(return_value, "active_plinks", sizeof("active_plinks") - 1, MyG(num_active_persi…
1201 …add_assoc_long_ex(return_value, "cached_plinks", sizeof("cached_plinks") - 1, MyG(num_inactive_per…