From: Wez Furlong Date: Mon, 7 Feb 2005 01:21:58 +0000 (+0000) Subject: update X-Git-Tag: RELEASE_0_2~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ae5958570b6ed7c9957cb31887c6f85910e89b07;p=php update --- diff --git a/ext/pdo_firebird/firebird_statement.c b/ext/pdo_firebird/firebird_statement.c index 144dc94580..69a7b2e5dd 100644 --- a/ext/pdo_firebird/firebird_statement.c +++ b/ext/pdo_firebird/firebird_statement.c @@ -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); diff --git a/ext/pdo_sqlite/sqlite_statement.c b/ext/pdo_sqlite/sqlite_statement.c index 8b9ceb3bd1..1bd47b518b 100644 --- a/ext/pdo_sqlite/sqlite_statement.c +++ b/ext/pdo_sqlite/sqlite_statement.c @@ -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;