This commit is contained in:
Wez Furlong 2005-02-07 01:21:58 +00:00
parent 29380a8e54
commit ae5958570b
2 changed files with 2 additions and 2 deletions

View file

@ -605,7 +605,7 @@ static int firebird_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_dat
caller_frees = 0;
if (firebird_stmt_get_col(stmt, param->paramno, &value, &value_len, &caller_frees TSRMLS_CC)) {
switch (param->param_type) {
switch (PDO_PARAM_TYPE(param->param_type)) {
case PDO_PARAM_STR:
if (value) {
ZVAL_STRINGL(param->parameter, value, value_len, 1);

View file

@ -94,7 +94,7 @@ static int pdo_sqlite_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_d
}
if (param->is_param) {
switch (param->param_type) {
switch (PDO_PARAM_TYPE(param->param_type)) {
case PDO_PARAM_LOB:
case PDO_PARAM_STMT:
return 0;