{
pdo_oci_db_handle *H = (pdo_oci_db_handle *)dbh->driver_data;
sb4 error_code = 0;
+#if (!((OCI_MAJOR_VERSION > 10) || ((OCI_MAJOR_VERSION == 10) && (OCI_MINOR_VERSION >= 2))))
char version[256];
+#endif
/* TODO move attached check to PDO level */
if (H->attached == 0) {
P = (pdo_oci_bound_param*)param->driver_data;
switch (event_type) {
+ case PDO_PARAM_EVT_FETCH_PRE:
+ case PDO_PARAM_EVT_FETCH_POST:
+ case PDO_PARAM_EVT_NORMALIZE:
+ /* Do nothing */
+ break;
+
case PDO_PARAM_EVT_FREE:
P = param->driver_data;
if (P) {
static int odbc_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_type param_type TSRMLS_DC)
{
- pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data;
+ /* pdo_odbc_db_handle *H = (pdo_odbc_db_handle *)dbh->driver_data; */
/* TODO: figure it out */
return 0;
}
if (param->is_param) {
switch (event_type) {
+ case PDO_PARAM_EVT_FETCH_PRE:
+ case PDO_PARAM_EVT_FETCH_POST:
+ case PDO_PARAM_EVT_NORMALIZE:
+ /* Do nothing */
+ break;
+
case PDO_PARAM_EVT_FREE:
P = param->driver_data;
if (P) {
{
pdo_odbc_stmt *S = (pdo_odbc_stmt*)stmt->driver_data;
struct pdo_column_data *col = &stmt->columns[colno];
- zend_bool dyn = FALSE;
RETCODE rc;
SWORD colnamelen;
SDWORD colsize, displaysize;
/* if it is a column containing "long" data, perform late binding now */
if (C->is_long) {
- unsigned long alloced = 4096;
unsigned long used = 0;
char *buf;
RETCODE rc;