mysql driver needs work with the error message stuff.
Other drivers need a bit more auditing...
NULL, /* last_id not supported */
pdo_firebird_fetch_error_func,
firebird_handle_get_attribute,
+ NULL /* check_liveness */
};
/* }}} */
efree(H->einfo.errmsg);
H->einfo.errmsg = NULL;
}
- efree(H);
+ pefree(H, dbh->is_persistent);
dbh->driver_data = NULL;
}
return 0;
oci_handle_set_attribute,
NULL,
pdo_oci_fetch_error_func,
+ NULL, /* get_attr */
+ NULL /* check_liveness */
};
static int pdo_oci_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC) /* {{{ */
NULL, /* last id */
pdo_odbc_fetch_error_func,
NULL, /* get attr */
+ NULL, /* check_liveness */
};
static int pdo_odbc_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC) /* {{{ */
NULL,
pdo_pgsql_last_insert_id,
pdo_pgsql_fetch_error_func,
- pdo_pgsql_get_attribute
+ pdo_pgsql_get_attribute,
+ NULL /* check_liveness */
};
static int pdo_pgsql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC) /* {{{ */