Lines Matching refs:err
39 …S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name, S->last_err, FALSE, __FILE__, __LINE__); \
48 …S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name ": " #msg, S->last_err, FALSE, __FILE__, _…
76 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_dtor()
82 if (S->err) { in oci_stmt_dtor()
83 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_stmt_dtor()
84 S->err = NULL; in oci_stmt_dtor()
111 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, in oci_stmt_dtor()
138 (S->stmt, OCI_HTYPE_STMT, &S->stmt_type, 0, OCI_ATTR_STMT_TYPE, S->err)); in oci_stmt_execute()
143 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_execute()
157 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, in oci_stmt_execute()
167 (S->stmt, OCI_HTYPE_STMT, &colcount, 0, OCI_ATTR_PARAM_COUNT, S->err)); in oci_stmt_execute()
192 (S->stmt, OCI_HTYPE_STMT, &rowcount, 0, OCI_ATTR_ROW_COUNT, S->err)); in oci_stmt_execute()
308 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, P->thing); in oci_stmt_param_hook()
345 &P->bind, S->err, (text*)param->name->val, in oci_stmt_param_hook()
351 &P->bind, S->err, ((ub4)param->paramno)+1, in oci_stmt_param_hook()
358 S->err, in oci_stmt_param_hook()
370 STMT_CALL(OCIAttrSet, (P->thing, OCI_DTYPE_LOB, &empty, 0, OCI_ATTR_LOBEMPTY, S->err)); in oci_stmt_param_hook()
399 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
410 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
420 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
429 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
430 OCILobFlushBuffer(S->H->svc, S->err, (OCILobLocator*)P->thing, 0); in oci_stmt_param_hook()
436 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
439 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
446 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
449 OCI_TEMPLOB_CLOSE(S->H->env, S->H->svc, S->H->err, P->thing); in oci_stmt_param_hook()
478 S->last_err = OCIStmtFetch2(S->stmt, S->err, 1, ociori, (sb4) offset, OCI_DEFAULT); in oci_stmt_fetch()
480 S->last_err = OCIStmtFetch(S->stmt, S->err, 1, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_fetch()
536 STMT_CALL(OCIParamGet, (S->stmt, OCI_HTYPE_STMT, S->err, (dvoid*)¶m, colno+1)); in oci_stmt_describe()
540 (param, OCI_DTYPE_PARAM, &dtype, 0, OCI_ATTR_DATA_TYPE, S->err)); in oci_stmt_describe()
544 (param, OCI_DTYPE_PARAM, &data_size, 0, OCI_ATTR_DATA_SIZE, S->err)); in oci_stmt_describe()
548 (param, OCI_DTYPE_PARAM, &scale, 0, OCI_ATTR_SCALE, S->err)); in oci_stmt_describe()
552 (param, OCI_DTYPE_PARAM, &precis, 0, OCI_ATTR_PRECISION, S->err)); in oci_stmt_describe()
556 (param, OCI_DTYPE_PARAM, &colname, &namelen, OCI_ATTR_NAME, S->err)); in oci_stmt_describe()
615 STMT_CALL(OCIDefineByPos, (S->stmt, &S->cols[colno].def, S->err, colno+1, in oci_stmt_describe()
620 STMT_CALL(OCIDefineDynamic, (S->cols[colno].def, S->err, &S->cols[colno], in oci_stmt_describe()
629 OCIError *err; member
649 r = OCILobWrite(self->E->svc, self->E->err, self->lob, in oci_blob_write()
669 r = OCILobRead(self->E->svc, self->E->err, self->lob, in oci_blob_read()
692 OCILobClose(self->E->svc, self->E->err, self->lob); in oci_blob_close()
706 OCILobFlushBuffer(self->E->svc, self->E->err, self->lob, 0); in oci_blob_flush()
746 self->E->err = self->S->err; in oci_create_lob_stream()
779 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)C->data, OCI_LOB_READONLY); in oci_stmt_get_col()