version 1.1.1.3, 2013/07/22 01:31:59
|
version 1.1.1.4, 2013/10/14 08:02:28
|
Line 286 static int odbc_stmt_param_hook(pdo_stmt_t *stmt, stru
|
Line 286 static int odbc_stmt_param_hook(pdo_stmt_t *stmt, stru
|
if (param->is_param) { |
if (param->is_param) { |
|
|
switch (event_type) { |
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: |
case PDO_PARAM_EVT_FREE: |
P = param->driver_data; |
P = param->driver_data; |
if (P) { |
if (P) { |
Line 543 static int odbc_stmt_describe(pdo_stmt_t *stmt, int co
|
Line 549 static int odbc_stmt_describe(pdo_stmt_t *stmt, int co
|
{ |
{ |
pdo_odbc_stmt *S = (pdo_odbc_stmt*)stmt->driver_data; |
pdo_odbc_stmt *S = (pdo_odbc_stmt*)stmt->driver_data; |
struct pdo_column_data *col = &stmt->columns[colno]; |
struct pdo_column_data *col = &stmt->columns[colno]; |
zend_bool dyn = FALSE; |
|
RETCODE rc; |
RETCODE rc; |
SWORD colnamelen; |
SWORD colnamelen; |
SDWORD colsize, displaysize; |
SDWORD colsize, displaysize; |
Line 614 static int odbc_stmt_get_col(pdo_stmt_t *stmt, int col
|
Line 619 static int odbc_stmt_get_col(pdo_stmt_t *stmt, int col
|
|
|
/* if it is a column containing "long" data, perform late binding now */ |
/* if it is a column containing "long" data, perform late binding now */ |
if (C->is_long) { |
if (C->is_long) { |
unsigned long alloced = 4096; |
|
unsigned long used = 0; |
unsigned long used = 0; |
char *buf; |
char *buf; |
RETCODE rc; |
RETCODE rc; |