Lines Matching refs:err
39 …S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name, S->last_err, FALSE, __FILE__, __LINE__ TS…
48 …S->last_err = _oci_error(S->err, stmt->dbh, stmt, #name ": " #msg, S->last_err, FALSE, __FILE__, _…
67 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_dtor()
73 if (S->err) { in oci_stmt_dtor()
74 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_stmt_dtor()
75 S->err = NULL; in oci_stmt_dtor()
127 (S->stmt, OCI_HTYPE_STMT, &S->stmt_type, 0, OCI_ATTR_STMT_TYPE, S->err)); in oci_stmt_execute()
132 OCIStmtFetch(S->stmt, S->err, 0, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_execute()
146 STMT_CALL(OCIStmtExecute, (S->H->svc, S->stmt, S->err, in oci_stmt_execute()
156 (S->stmt, OCI_HTYPE_STMT, &colcount, 0, OCI_ATTR_PARAM_COUNT, S->err)); in oci_stmt_execute()
181 (S->stmt, OCI_HTYPE_STMT, &rowcount, 0, OCI_ATTR_ROW_COUNT, S->err)); in oci_stmt_execute()
307 &P->bind, S->err, (text*)param->name, in oci_stmt_param_hook()
313 &P->bind, S->err, param->paramno+1, in oci_stmt_param_hook()
320 S->err, in oci_stmt_param_hook()
332 STMT_CALL(OCIAttrSet, (P->thing, OCI_DTYPE_LOB, &empty, 0, OCI_ATTR_LOBEMPTY, S->err)); in oci_stmt_param_hook()
371 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
383 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
393 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
402 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
403 OCILobFlushBuffer(S->H->svc, S->err, (OCILobLocator*)P->thing, 0); in oci_stmt_param_hook()
409 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)P->thing, OCI_LOB_READWRITE); in oci_stmt_param_hook()
412 OCILobWrite(S->H->svc, S->err, (OCILobLocator*)P->thing, in oci_stmt_param_hook()
419 OCILobClose(S->H->svc, S->err, (OCILobLocator*)P->thing); in oci_stmt_param_hook()
450 S->last_err = OCIStmtFetch2(S->stmt, S->err, 1, ociori, offset, OCI_DEFAULT); in oci_stmt_fetch()
452 S->last_err = OCIStmtFetch(S->stmt, S->err, 1, OCI_FETCH_NEXT, OCI_DEFAULT); in oci_stmt_fetch()
509 STMT_CALL(OCIParamGet, (S->stmt, OCI_HTYPE_STMT, S->err, (dvoid*)¶m, colno+1)); in oci_stmt_describe()
513 (param, OCI_DTYPE_PARAM, &dtype, 0, OCI_ATTR_DATA_TYPE, S->err)); in oci_stmt_describe()
517 (param, OCI_DTYPE_PARAM, &data_size, 0, OCI_ATTR_DATA_SIZE, S->err)); in oci_stmt_describe()
521 (param, OCI_DTYPE_PARAM, &scale, 0, OCI_ATTR_SCALE, S->err)); in oci_stmt_describe()
525 (param, OCI_DTYPE_PARAM, &precis, 0, OCI_ATTR_PRECISION, S->err)); in oci_stmt_describe()
529 (param, OCI_DTYPE_PARAM, &colname, &namelen, OCI_ATTR_NAME, S->err)); in oci_stmt_describe()
589 STMT_CALL(OCIDefineByPos, (S->stmt, &S->cols[colno].def, S->err, colno+1, in oci_stmt_describe()
594 STMT_CALL(OCIDefineDynamic, (S->cols[colno].def, S->err, &S->cols[colno], in oci_stmt_describe()
615 r = OCILobWrite(self->S->H->svc, self->S->err, self->lob, in oci_blob_write()
635 r = OCILobRead(self->S->H->svc, self->S->err, self->lob, in oci_blob_read()
656 OCILobClose(self->S->H->svc, self->S->err, self->lob); in oci_blob_close()
668 OCILobFlushBuffer(self->S->H->svc, self->S->err, self->lob, 0); in oci_blob_flush()
733 OCILobOpen(S->H->svc, S->err, (OCILobLocator*)C->data, OCI_LOB_READONLY); in oci_stmt_get_col()