pdo_oci_fetch_error_func,
oci_handle_get_attribute,
pdo_oci_check_liveness, /* check_liveness */
- NULL /* get_driver_methods */
+ NULL, /* get_driver_methods */
+ NULL,
+ NULL
};
static int pdo_oci_handle_factory(pdo_dbh_t *dbh, zval *driver_options) /* {{{ */
static int oci_stmt_fetch(pdo_stmt_t *stmt, enum pdo_fetch_orientation ori, zend_long offset) /* {{{ */
{
#ifdef HAVE_OCISTMTFETCH2
- ub4 ociori;
+ ub4 ociori = OCI_FETCH_NEXT;
#endif
pdo_oci_stmt *S = (pdo_oci_stmt*)stmt->driver_data;
return amt;
}
-static size_t oci_blob_read(php_stream *stream, char *buf, size_t count)
+static ssize_t oci_blob_read(php_stream *stream, char *buf, size_t count)
{
struct oci_lob_self *self = (struct oci_lob_self*)stream->abstract;
ub4 amt;
oci_stmt_param_hook,
NULL, /* set_attr */
NULL, /* get_attr */
- oci_stmt_col_meta
+ oci_stmt_col_meta,
+ NULL,
+ NULL
};