Lines Matching refs:S
44 pdo_oci_stmt *S = (pdo_oci_stmt*)stmt->driver_data; in pdo_oci_fetch_error_func() local
46 if (S->einfo.errmsg) { in pdo_oci_fetch_error_func()
47 einfo = &S->einfo; in pdo_oci_fetch_error_func()
66 pdo_oci_stmt *S = NULL; in _oci_error() local
70 S = (pdo_oci_stmt*)stmt->driver_data; in _oci_error()
71 einfo = &S->einfo; in _oci_error()
248 pdo_oci_stmt *S = ecalloc(1, sizeof(*S)); in oci_handle_preparer() local
255 S->exec_type = pdo_attr_lval(driver_options, PDO_ATTR_CURSOR, in oci_handle_preparer()
259 S->exec_type = OCI_DEFAULT; in oci_handle_preparer()
262 S->H = H; in oci_handle_preparer()
273 efree(S); in oci_handle_preparer()
278 OCIHandleAlloc(H->env, (dvoid*)&S->stmt, OCI_HTYPE_STMT, 0, NULL); in oci_handle_preparer()
281 OCIHandleAlloc(H->env, (dvoid*)&S->err, OCI_HTYPE_ERROR, 0, NULL); in oci_handle_preparer()
284 …H->last_err = OCIStmtPrepare(S->stmt, H->err, (text*)sql, (ub4) sql_len, OCI_NTV_SYNTAX, OCI_DEFAU… in oci_handle_preparer()
291 OCIHandleFree(S->stmt, OCI_HTYPE_STMT); in oci_handle_preparer()
292 OCIHandleFree(S->err, OCI_HTYPE_ERROR); in oci_handle_preparer()
293 efree(S); in oci_handle_preparer()
300 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, in oci_handle_preparer()
304 H->last_err = OCIAttrSet(S->stmt, OCI_HTYPE_STMT, &prefetch, 0, in oci_handle_preparer()
308 stmt->driver_data = S; in oci_handle_preparer()