Lines Matching refs:connection
41 php_oci_collection *php_oci_collection_create(php_oci_connection *connection, char *tdo, int tdo_le… in php_oci_collection_create() argument
51 collection->connection = connection; in php_oci_collection_create()
53 GC_ADDREF(collection->connection->id); in php_oci_collection_create()
58 connection->env, in php_oci_collection_create()
59 connection->err, in php_oci_collection_create()
60 connection->svc, in php_oci_collection_create()
78 …PHP_OCI_CALL_RETURN(errstatus, OCIHandleAlloc, (connection->env, (dvoid **) &dschp1, (ub4) OCI_HTY… in php_oci_collection_create()
87 connection->svc, in php_oci_collection_create()
88 connection->err, in php_oci_collection_create()
103 …chp1, (ub4) OCI_HTYPE_DESCRIBE, (dvoid *)&parmp1, (ub4 *)0, (ub4)OCI_ATTR_PARAM, connection->err)); in php_oci_collection_create()
117 connection->err in php_oci_collection_create()
136 connection->err in php_oci_collection_create()
152 connection->err in php_oci_collection_create()
163 connection->env, in php_oci_collection_create()
164 connection->err, in php_oci_collection_create()
184 connection->err in php_oci_collection_create()
201 connection->env, in php_oci_collection_create()
202 connection->err, in php_oci_collection_create()
203 connection->svc, in php_oci_collection_create()
220 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_create()
229 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_create()
230 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_create()
240 php_oci_connection *connection = collection->connection; in php_oci_collection_size() local
243 …PHP_OCI_CALL_RETURN(errstatus, OCICollSize, (connection->env, connection->err, collection->collect… in php_oci_collection_size()
246 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_size()
247 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_size()
250 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_size()
259 php_oci_connection *connection = collection->connection; in php_oci_collection_max() local
261 PHP_OCI_CALL_RETURN(*max, OCICollMax, (connection->env, collection->collection)); in php_oci_collection_max()
272 php_oci_connection *connection = collection->connection; in php_oci_collection_trim() local
275 …PHP_OCI_CALL_RETURN(errstatus, OCICollTrim, (connection->env, connection->err, (sb4) trim_size, co… in php_oci_collection_trim()
278 errstatus = php_oci_error(connection->err, errstatus); in php_oci_collection_trim()
279 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_trim()
282 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_trim()
292 php_oci_connection *connection = collection->connection; in php_oci_collection_append_null() local
296 …PHP_OCI_CALL_RETURN(errstatus, OCICollAppend, (connection->env, connection->err, (dvoid *)0, &null… in php_oci_collection_append_null()
299 errstatus = php_oci_error(connection->err, errstatus); in php_oci_collection_append_null()
300 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_null()
303 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_append_null()
314 php_oci_connection *connection = collection->connection; in php_oci_collection_append_date() local
318 …PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)date, date_len, NU… in php_oci_collection_append_date()
322 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_append_date()
323 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date()
329 connection->env, in php_oci_collection_append_date()
330 connection->err, in php_oci_collection_append_date()
338 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_append_date()
339 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_date()
343 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_append_date()
355 php_oci_connection *connection = collection->connection; in php_oci_collection_append_number() local
360 …PHP_OCI_CALL_RETURN(errstatus, OCINumberFromReal, (connection->err, &element_double, sizeof(double… in php_oci_collection_append_number()
363 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_append_number()
364 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number()
370 connection->env, in php_oci_collection_append_number()
371 connection->err, in php_oci_collection_append_number()
379 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_append_number()
380 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_number()
384 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_append_number()
395 php_oci_connection *connection = collection->connection; in php_oci_collection_append_string() local
398 …PHP_OCI_CALL_RETURN(errstatus, OCIStringAssignText, (connection->env, connection->err, (CONST orat… in php_oci_collection_append_string()
401 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_append_string()
402 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_string()
408 connection->env, in php_oci_collection_append_string()
409 connection->err, in php_oci_collection_append_string()
417 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_append_string()
418 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_append_string()
422 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_append_string()
472 php_oci_connection *connection = collection->connection; in php_oci_collection_element_get() local
482 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_element_get()
486 connection->env, in php_oci_collection_element_get()
487 connection->err, in php_oci_collection_element_get()
497 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_get()
498 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_get()
514 …PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, element, 0, 0, 0, 0, &buff_len, bu… in php_oci_collection_element_get()
517 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_get()
518 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_get()
533 PHP_OCI_CALL_RETURN(str, OCIStringPtr, (connection->env, oci_string)); in php_oci_collection_element_get()
556 …PHP_OCI_CALL_RETURN(errstatus, OCINumberToReal, (connection->err, (CONST OCINumber *) element, (uw… in php_oci_collection_element_get()
559 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_get()
560 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_get()
584 php_oci_connection *connection = collection->connection; in php_oci_collection_element_set_null() local
588 …PHP_OCI_CALL_RETURN(errstatus, OCICollAssignElem, (connection->env, connection->err, (ub4) index, … in php_oci_collection_element_set_null()
591 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_set_null()
592 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_set_null()
595 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_element_set_null()
606 php_oci_connection *connection = collection->connection; in php_oci_collection_element_set_date() local
610 …PHP_OCI_CALL_RETURN(errstatus, OCIDateFromText, (connection->err, (CONST text *)date, date_len, NU… in php_oci_collection_element_set_date()
614 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_set_date()
615 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_set_date()
621 connection->env, in php_oci_collection_element_set_date()
622 connection->err, in php_oci_collection_element_set_date()
631 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_set_date()
632 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_set_date()
636 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_element_set_date()
648 php_oci_connection *connection = collection->connection; in php_oci_collection_element_set_number() local
653 …PHP_OCI_CALL_RETURN(errstatus, OCINumberFromReal, (connection->err, &element_double, sizeof(double… in php_oci_collection_element_set_number()
656 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_set_number()
657 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_set_number()
663 connection->env, in php_oci_collection_element_set_number()
664 connection->err, in php_oci_collection_element_set_number()
673 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_set_number()
674 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_set_number()
678 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_element_set_number()
689 php_oci_connection *connection = collection->connection; in php_oci_collection_element_set_string() local
692 …PHP_OCI_CALL_RETURN(errstatus, OCIStringAssignText, (connection->env, connection->err, (CONST orat… in php_oci_collection_element_set_string()
695 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_set_string()
696 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_set_string()
702 connection->env, in php_oci_collection_element_set_string()
703 connection->err, in php_oci_collection_element_set_string()
712 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_element_set_string()
713 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_element_set_string()
717 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_element_set_string()
767 php_oci_connection *connection = collection_dest->connection; in php_oci_collection_assign() local
770 …PHP_OCI_CALL_RETURN(errstatus, OCICollAssign, (connection->env, connection->err, collection_from->… in php_oci_collection_assign()
773 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_assign()
774 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_assign()
777 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_assign()
786 php_oci_connection *connection = collection->connection; in php_oci_collection_close() local
790 …PHP_OCI_CALL_RETURN(errstatus, OCIObjectFree, (connection->env, connection->err, (dvoid *)collecti… in php_oci_collection_close()
793 connection->errcode = php_oci_error(connection->err, errstatus); in php_oci_collection_close()
794 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_collection_close()
796 connection->errcode = 0; /* retain backwards compat with OCI8 1.4 */ in php_oci_collection_close()
800 zend_list_delete(collection->connection->id); in php_oci_collection_close()