Lines Matching refs:connection

50 php_oci_statement *php_oci_statement_create(php_oci_connection *connection, char *query, int query_…  in php_oci_statement_create()  argument
55 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_statement_create()
61 …PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NU… in php_oci_statement_create()
64 …PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NU… in php_oci_statement_create()
69 connection->svc, in php_oci_statement_create()
71 connection->err, in php_oci_statement_create()
82 DTRACE_OCI8_SQLTEXT(connection, connection->client_id, statement, query); in php_oci_statement_create()
87 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_statement_create()
91 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_statement_create()
107 statement->connection = connection; in php_oci_statement_create()
114 GC_ADDREF(statement->connection->id); in php_oci_statement_create()
155 …PHP_OCI_CALL(OCIHandleAlloc, (statement->connection->env, (dvoid **)&(statement2->err), OCI_HTYPE_… in php_oci_get_implicit_resultset()
161 statement2->connection = statement->connection; in php_oci_get_implicit_resultset()
175 GC_ADDREF(statement2->connection->id); in php_oci_get_implicit_resultset()
203 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_set_prefetch()
385 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_fetch()
439 nested_stmt = php_oci_statement_create(outcol->statement->connection, NULL, 0); in php_oci_define_callback()
471 descr = php_oci_lob_create(outcol->statement->connection, dtype); in php_oci_define_callback()
514 …DTRACE_OCI8_EXECUTE_MODE(statement->connection, statement->connection->client_id, statement, mode); in php_oci_statement_execute()
530 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
554 …PHP_OCI_CALL_RETURN(errstatus, OCIStmtExecute, (statement->connection->svc, statement->stmt, state… in php_oci_statement_execute()
558 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
568 statement->connection->rb_on_disconnect = 0; in php_oci_statement_execute()
571 statement->connection->rb_on_disconnect = 1; in php_oci_statement_execute()
597 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
613 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
623 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
633 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
643 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
653 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
666 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
676 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
686 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
822 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
845 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
907 zend_list_delete(statement->connection->id); in php_oci_statement_free()
980 php_oci_connection *connection = bind->parent_statement->connection; in php_oci_bind_post_exec() local
1049 …PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, &(((OCIDate *)(bind->array.element… in php_oci_bind_post_exec()
1053 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_bind_post_exec()
1054 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
1057 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_bind_post_exec()
1062 …PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, &(((OCIDate *)(bind->array.element… in php_oci_bind_post_exec()
1064 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_bind_post_exec()
1065 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
1068 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_bind_post_exec()
1314 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_by_name()
1332 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_by_name()
1353 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_by_name()
1570 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_get_type()
1593 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_get_numrows()
1646 bind = php_oci_bind_array_helper_date(val, max_table_length, statement->connection); in php_oci_bind_array_by_name()
1707 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_array_by_name()
1887 …p_oci_bind_array_helper_date(zval *var, zend_long max_table_length, php_oci_connection *connection) in php_oci_bind_array_helper_date() argument
1917 …PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)Z_STRVAL_P(entry),… in php_oci_bind_array_helper_date()
1924 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_bind_array_helper_date()
1925 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date()
1932 …PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)"01-JAN-00", sizeo… in php_oci_bind_array_helper_date()
1939 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_bind_array_helper_date()
1940 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date()
1946 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_bind_array_helper_date()