Lines Matching refs:err
54 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini… in _oci_error() argument
92 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error()
97 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error()
192 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer()
206 H->last_err = OCIServerDetach(H->server, H->err, OCI_DEFAULT); in oci_handle_closer()
218 if (H->err) { in oci_handle_closer()
219 OCIHandleFree(H->err, OCI_HTYPE_ERROR); in oci_handle_closer()
220 H->err = NULL; in oci_handle_closer()
271 OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL); in oci_handle_preparer()
274 …H->last_err = OCIStmtPrepare(S->stmt, H->err, (text*) ZSTR_VAL(sql), (ub4) ZSTR_LEN(sql), OCI_NTV_… in oci_handle_preparer()
282 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_handle_preparer()
291 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
295 OCI_ATTR_PREFETCH_MEMORY, H->err); in oci_handle_preparer()
319 …H->last_err = OCIStmtPrepare(stmt, H->err, (text*)ZSTR_VAL(sql), (ub4) ZSTR_LEN(sql), OCI_NTV_SYNT… in oci_handle_doer()
326 H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &stmt_type, 0, OCI_ATTR_STMT_TYPE, H->err); in oci_handle_doer()
336 H->last_err = OCIStmtExecute(H->svc, stmt, H->err, 1, 0, NULL, NULL, in oci_handle_doer()
347 H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &rowcount, 0, OCI_ATTR_ROW_COUNT, H->err); in oci_handle_doer()
406 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_commit()
420 H->last_err = OCITransRollback(H->svc, H->err, 0); in oci_handle_rollback()
445 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_set_attribute()
476 OCI_ATTR_ACTION, H->err); in oci_handle_set_attribute()
497 OCI_ATTR_CLIENT_INFO, H->err); in oci_handle_set_attribute()
518 OCI_ATTR_CLIENT_IDENTIFIER, H->err); in oci_handle_set_attribute()
539 OCI_ATTR_MODULE, H->err); in oci_handle_set_attribute()
560 OCI_ATTR_CALL_TIMEOUT, H->err); in oci_handle_set_attribute()
590 …if (OCIServerRelease(H->svc, H->err, infostr, (ub4)sizeof(infostr), (ub1)OCI_HTYPE_SVCCTX, &vernum… in oci_handle_get_attribute()
645 OCI_ATTR_CALL_TIMEOUT, H->err); in oci_handle_get_attribute()
688 H->last_err = OCIPing (H->svc, H->err, OCI_DEFAULT); in pdo_oci_check_liveness()
691 …H->last_err = OCIServerVersion (H->svc, H->err, (text *)version, sizeof(version), OCI_HTYPE_SVCCTX… in pdo_oci_check_liveness()
697 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness()
769 OCIHandleAlloc(H->env, (dvoid **)&H->err, OCI_HTYPE_ERROR, 0, NULL); in pdo_oci_handle_factory()
774 H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval, in pdo_oci_handle_factory()
798 H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->server, 0, OCI_ATTR_SERVER, H->err); in pdo_oci_handle_factory()
812 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
827 OCI_ATTR_PASSWORD, H->err); in pdo_oci_handle_factory()
835 H->last_err = OCISessionBegin(H->svc, H->err, H->session, OCI_CRED_RDBMS, OCI_DEFAULT); in pdo_oci_handle_factory()
847 H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->session, 0, OCI_ATTR_SESSION, H->err); in pdo_oci_handle_factory()
854 H->last_err = OCINlsNumericInfoGet(H->env, H->err, &H->max_char_width, OCI_NLS_CHARSET_MAXBYTESZ); in pdo_oci_handle_factory()