Lines Matching refs:connection

46 php_oci_statement *php_oci_statement_create (php_oci_connection *connection, char *query, int query…  in php_oci_statement_create()  argument
54 …PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->stmt), OCI_HTYPE_STMT, 0, NU… in php_oci_statement_create()
57 …PHP_OCI_CALL(OCIHandleAlloc, (connection->env, (dvoid **)&(statement->err), OCI_HTYPE_ERROR, 0, NU… in php_oci_statement_create()
60 PHP_OCI_CALL_RETURN(connection->errcode, OCIStmtPrepare2, in php_oci_statement_create()
62 connection->svc, in php_oci_statement_create()
64 connection->err, in php_oci_statement_create()
73 if (connection->errcode != OCI_SUCCESS) { in php_oci_statement_create()
74 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_statement_create()
80 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_statement_create()
94 statement->connection = connection; in php_oci_statement_create()
98 zend_list_addref(statement->connection->rsrc_id); in php_oci_statement_create()
127 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_set_prefetch()
296 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_fetch()
351 nested_stmt = php_oci_statement_create(outcol->statement->connection, NULL, 0 TSRMLS_CC); in php_oci_define_callback()
383 descr = php_oci_lob_create(outcol->statement->connection, dtype TSRMLS_CC); in php_oci_define_callback()
437 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
461 …PHP_OCI_CALL_RETURN(statement->errcode, OCIStmtExecute, (statement->connection->svc, statement->st… in php_oci_statement_execute()
465 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
474 statement->connection->needs_commit = 0; in php_oci_statement_execute()
476 statement->connection->needs_commit = 1; in php_oci_statement_execute()
494 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
514 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
524 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
534 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
544 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
554 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
567 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
577 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
587 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
721 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_execute()
801 zend_list_delete(statement->connection->rsrc_id); in php_oci_statement_free()
874 php_oci_connection *connection = bind->parent_statement->connection; in php_oci_bind_post_exec() local
934 …PHP_OCI_CALL_RETURN(connection->errcode, OCIDateToText, (connection->err, &(((OCIDate *)(bind->arr… in php_oci_bind_post_exec()
937 if (connection->errcode != OCI_SUCCESS) { in php_oci_bind_post_exec()
938 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_post_exec()
939 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
946 …PHP_OCI_CALL_RETURN(connection->errcode, OCIDateToText, (connection->err, &(((OCIDate *)(bind->arr… in php_oci_bind_post_exec()
947 if (connection->errcode != OCI_SUCCESS) { in php_oci_bind_post_exec()
948 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_post_exec()
949 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec()
1142 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_by_name()
1160 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_by_name()
1181 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_by_name()
1375 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_get_type()
1396 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_statement_get_numrows()
1442 bind = php_oci_bind_array_helper_date(var, max_table_length, statement->connection TSRMLS_CC); in php_oci_bind_array_by_name()
1497 PHP_OCI_HANDLE_ERROR(statement->connection, statement->errcode); in php_oci_bind_array_by_name()
1651 …_bind_array_helper_date(zval* var, long max_table_length, php_oci_connection *connection TSRMLS_DC) in php_oci_bind_array_helper_date()
1678 …PHP_OCI_CALL_RETURN(connection->errcode, OCIDateFromText, (connection->err, (CONST text *)Z_STRVAL… in php_oci_bind_array_helper_date()
1680 if (connection->errcode != OCI_SUCCESS) { in php_oci_bind_array_helper_date()
1685 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_array_helper_date()
1686 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date()
1693 …PHP_OCI_CALL_RETURN(connection->errcode, OCIDateFromText, (connection->err, (CONST text *)"01-JAN-… in php_oci_bind_array_helper_date()
1695 if (connection->errcode != OCI_SUCCESS) { in php_oci_bind_array_helper_date()
1700 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_array_helper_date()
1701 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date()