SybCtG 355 ext/sybase_ct/php_sybase_ct.c SybCtG(num_links)--; SybCtG 381 ext/sybase_ct/php_sybase_ct.c SybCtG(num_persistent)--; SybCtG 382 ext/sybase_ct/php_sybase_ct.c SybCtG(num_links)--; SybCtG 390 ext/sybase_ct/php_sybase_ct.c if (CS_SEVERITY(errmsg->msgnumber) >= SybCtG(min_client_severity)) { SybCtG 393 ext/sybase_ct/php_sybase_ct.c STR_FREE(SybCtG(server_message)); SybCtG 394 ext/sybase_ct/php_sybase_ct.c SybCtG(server_message) = estrdup(errmsg->msgstring); SybCtG 473 ext/sybase_ct/php_sybase_ct.c STR_FREE(SybCtG(server_message)); SybCtG 474 ext/sybase_ct/php_sybase_ct.c SybCtG(server_message) = estrdup(srvmsg->text); SybCtG 490 ext/sybase_ct/php_sybase_ct.c if (srvmsg->severity < SybCtG(min_server_severity)) { SybCtG 495 ext/sybase_ct/php_sybase_ct.c handled = handled | _call_message_handler(SybCtG(callback_name), srvmsg TSRMLS_CC); SybCtG 595 ext/sybase_ct/php_sybase_ct.c SybCtG(default_link)=-1; SybCtG 596 ext/sybase_ct/php_sybase_ct.c SybCtG(num_links) = SybCtG(num_persistent); SybCtG 597 ext/sybase_ct/php_sybase_ct.c SybCtG(appname) = estrndup("PHP " PHP_VERSION, sizeof("PHP " PHP_VERSION)); SybCtG 598 ext/sybase_ct/php_sybase_ct.c SybCtG(server_message) = STR_EMPTY_ALLOC(); SybCtG 617 ext/sybase_ct/php_sybase_ct.c efree(SybCtG(appname)); SybCtG 618 ext/sybase_ct/php_sybase_ct.c SybCtG(appname) = NULL; SybCtG 619 ext/sybase_ct/php_sybase_ct.c if (SybCtG(callback_name)) { SybCtG 620 ext/sybase_ct/php_sybase_ct.c zval_ptr_dtor(&SybCtG(callback_name)); SybCtG 621 ext/sybase_ct/php_sybase_ct.c SybCtG(callback_name)= NULL; SybCtG 623 ext/sybase_ct/php_sybase_ct.c STR_FREE(SybCtG(server_message)); SybCtG 624 ext/sybase_ct/php_sybase_ct.c SybCtG(server_message) = NULL; SybCtG 635 ext/sybase_ct/php_sybase_ct.c if (ct_con_alloc(SybCtG(context), &sybase->connection)!=CS_SUCCEED) { SybCtG 656 ext/sybase_ct/php_sybase_ct.c ct_con_props(sybase->connection, CS_SET, CS_APPNAME, SybCtG(appname), CS_NULLTERM, NULL); SybCtG 659 ext/sybase_ct/php_sybase_ct.c if (SybCtG(hostname)) { SybCtG 660 ext/sybase_ct/php_sybase_ct.c ct_con_props(sybase->connection, CS_SET, CS_HOSTNAME, SybCtG(hostname), CS_NULLTERM, NULL); SybCtG 664 ext/sybase_ct/php_sybase_ct.c if (cs_loc_alloc(SybCtG(context), &tmp_locale)!=CS_SUCCEED) { SybCtG 667 ext/sybase_ct/php_sybase_ct.c if (cs_locale(SybCtG(context), CS_SET, tmp_locale, CS_LC_ALL, NULL, CS_NULLTERM, NULL)!=CS_SUCCEED) { SybCtG 670 ext/sybase_ct/php_sybase_ct.c if (cs_locale(SybCtG(context), CS_SET, tmp_locale, CS_SYB_CHARSET, charset, CS_NULLTERM, NULL)!=CS_SUCCEED) { SybCtG 699 ext/sybase_ct/php_sybase_ct.c if (SybCtG(login_timeout) != -1) { SybCtG 700 ext/sybase_ct/php_sybase_ct.c CS_INT cs_login_timeout = SybCtG(login_timeout); SybCtG 701 ext/sybase_ct/php_sybase_ct.c if (ct_config(SybCtG(context), CS_SET, CS_LOGIN_TIMEOUT, &cs_login_timeout, CS_UNUSED, NULL)!=CS_SUCCEED) { SybCtG 758 ext/sybase_ct/php_sybase_ct.c if (!SybCtG(allow_persistent)) { SybCtG 768 ext/sybase_ct/php_sybase_ct.c if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) { SybCtG 769 ext/sybase_ct/php_sybase_ct.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Too many open links (%ld)", SybCtG(num_links)); SybCtG 773 ext/sybase_ct/php_sybase_ct.c if (SybCtG(max_persistent)!=-1 && SybCtG(num_persistent)>=SybCtG(max_persistent)) { SybCtG 774 ext/sybase_ct/php_sybase_ct.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Too many open persistent links (%ld)", SybCtG(num_persistent)); SybCtG 800 ext/sybase_ct/php_sybase_ct.c SybCtG(num_persistent)++; SybCtG 801 ext/sybase_ct/php_sybase_ct.c SybCtG(num_links)++; SybCtG 867 ext/sybase_ct/php_sybase_ct.c Z_LVAL_P(return_value) = SybCtG(default_link) = link; SybCtG 875 ext/sybase_ct/php_sybase_ct.c if (SybCtG(max_links)!=-1 && SybCtG(num_links)>=SybCtG(max_links)) { SybCtG 876 ext/sybase_ct/php_sybase_ct.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Too many open links (%ld)", SybCtG(num_links)); SybCtG 901 ext/sybase_ct/php_sybase_ct.c SybCtG(num_links)++; SybCtG 904 ext/sybase_ct/php_sybase_ct.c SybCtG(default_link)=Z_LVAL_P(return_value); SybCtG 905 ext/sybase_ct/php_sybase_ct.c zend_list_addref(SybCtG(default_link)); SybCtG 911 ext/sybase_ct/php_sybase_ct.c if (SybCtG(default_link)==-1) { /* no link opened yet, implicitly open one */ SybCtG 915 ext/sybase_ct/php_sybase_ct.c return SybCtG(default_link); SybCtG 940 ext/sybase_ct/php_sybase_ct.c if (-1 == SybCtG(default_link)) { SybCtG 943 ext/sybase_ct/php_sybase_ct.c *id = SybCtG(default_link); SybCtG 972 ext/sybase_ct/php_sybase_ct.c if (id != -1 || (sybase_link_index && Z_RESVAL_P(sybase_link_index) == SybCtG(default_link))) { SybCtG 973 ext/sybase_ct/php_sybase_ct.c zend_list_delete(SybCtG(default_link)); SybCtG 974 ext/sybase_ct/php_sybase_ct.c SybCtG(default_link) = -1; SybCtG 1632 ext/sybase_ct/php_sybase_ct.c if (sybase_ptr->deadlock && SybCtG(deadlock_retry_count) != -1 && ++deadlock_count > SybCtG(deadlock_retry_count)) { SybCtG 1633 ext/sybase_ct/php_sybase_ct.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Sybase: Retried deadlock %d times [max: %ld], giving up", deadlock_count- 1, SybCtG(deadlock_retry_count)); SybCtG 1714 ext/sybase_ct/php_sybase_ct.c RETURN_STRING(SybCtG(server_message), 1); SybCtG 2125 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(num_persistent)); SybCtG 2127 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(num_links)); SybCtG 2129 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(min_server_severity)); SybCtG 2131 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(min_client_severity)); SybCtG 2133 ext/sybase_ct/php_sybase_ct.c php_info_print_table_row(2, "Application Name", SybCtG(appname)); SybCtG 2134 ext/sybase_ct/php_sybase_ct.c snprintf(buf, sizeof(buf), "%ld", SybCtG(deadlock_retry_count)); SybCtG 2152 ext/sybase_ct/php_sybase_ct.c SybCtG(min_client_severity) = severity; SybCtG 2167 ext/sybase_ct/php_sybase_ct.c SybCtG(min_server_severity) = severity; SybCtG 2181 ext/sybase_ct/php_sybase_ct.c SybCtG(deadlock_retry_count) = retry_count; SybCtG 2205 ext/sybase_ct/php_sybase_ct.c callback= &SybCtG(callback_name); SybCtG 2214 ext/sybase_ct/php_sybase_ct.c callback= &SybCtG(callback_name);