Lines Matching refs:err
58 ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, sword status, int isini… in _oci_error() argument
96 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error()
101 OCIErrorGet(err, (ub4)1, NULL, &einfo->errcode, errbuf, (ub4)sizeof(errbuf), OCI_HTYPE_ERROR); in _oci_error()
196 OCITransRollback(H->svc, H->err, 0); in oci_handle_closer()
210 H->last_err = OCIServerDetach(H->server, H->err, OCI_DEFAULT); in oci_handle_closer()
222 if (H->err) { in oci_handle_closer()
223 OCIHandleFree(H->err, OCI_HTYPE_ERROR); in oci_handle_closer()
224 H->err = NULL; in oci_handle_closer()
279 OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL); in oci_handle_preparer()
282 …H->last_err = OCIStmtPrepare(S->stmt, H->err, (text*)sql, (ub4) sql_len, OCI_NTV_SYNTAX, OCI_DEFAU… in oci_handle_preparer()
290 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_handle_preparer()
299 OCI_ATTR_PREFETCH_ROWS, H->err); in oci_handle_preparer()
303 OCI_ATTR_PREFETCH_MEMORY, H->err); in oci_handle_preparer()
327 H->last_err = OCIStmtPrepare(stmt, H->err, (text*)sql, (ub4) sql_len, OCI_NTV_SYNTAX, OCI_DEFAULT); in oci_handle_doer()
334 H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &stmt_type, 0, OCI_ATTR_STMT_TYPE, H->err); in oci_handle_doer()
344 H->last_err = OCIStmtExecute(H->svc, stmt, H->err, 1, 0, NULL, NULL, in oci_handle_doer()
351 H->last_err = OCIAttrGet(stmt, OCI_HTYPE_STMT, &rowcount, 0, OCI_ATTR_ROW_COUNT, H->err); in oci_handle_doer()
409 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_commit()
423 H->last_err = OCITransRollback(H->svc, H->err, 0); in oci_handle_rollback()
443 H->last_err = OCITransCommit(H->svc, H->err, 0); in oci_handle_set_attribute()
470 OCI_ATTR_ACTION, H->err); in oci_handle_set_attribute()
491 OCI_ATTR_CLIENT_INFO, H->err); in oci_handle_set_attribute()
512 OCI_ATTR_CLIENT_IDENTIFIER, H->err); in oci_handle_set_attribute()
533 OCI_ATTR_MODULE, H->err); in oci_handle_set_attribute()
563 …if (OCIServerRelease(H->svc, H->err, infostr, (ub4)sizeof(infostr), (ub1)OCI_HTYPE_SVCCTX, &vernum… in oci_handle_get_attribute()
641 H->last_err = OCIPing (H->svc, H->err, OCI_DEFAULT); in pdo_oci_check_liveness()
644 …H->last_err = OCIServerVersion (H->svc, H->err, (text *)version, sizeof(version), OCI_HTYPE_SVCCTX… in pdo_oci_check_liveness()
650 OCIErrorGet (H->err, (ub4)1, NULL, &error_code, NULL, 0, OCI_HTYPE_ERROR); in pdo_oci_check_liveness()
719 OCIHandleAlloc(H->env, (dvoid **)&H->err, OCI_HTYPE_ERROR, 0, NULL); in pdo_oci_handle_factory()
724 H->last_err = OCIServerAttach(H->server, H->err, (text*)vars[1].optval, in pdo_oci_handle_factory()
748 H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->server, 0, OCI_ATTR_SERVER, H->err); in pdo_oci_handle_factory()
762 OCI_ATTR_USERNAME, H->err); in pdo_oci_handle_factory()
777 OCI_ATTR_PASSWORD, H->err); in pdo_oci_handle_factory()
785 H->last_err = OCISessionBegin(H->svc, H->err, H->session, OCI_CRED_RDBMS, OCI_DEFAULT); in pdo_oci_handle_factory()
792 H->last_err = OCIAttrSet(H->svc, OCI_HTYPE_SVCCTX, H->session, 0, OCI_ATTR_SESSION, H->err); in pdo_oci_handle_factory()
799 H->last_err = OCINlsNumericInfoGet(H->env, H->err, &H->max_char_width, OCI_NLS_CHARSET_MAXBYTESZ); in pdo_oci_handle_factory()