diff options
author | Wez Furlong <wez@php.net> | 2005-02-07 01:21:58 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-02-07 01:21:58 +0000 |
commit | ae5958570b6ed7c9957cb31887c6f85910e89b07 (patch) | |
tree | cfd151df8ade4c723f6ce0ef05f865a87b55e234 /ext | |
parent | 29380a8e5401942ca3af854ccd7730f78f80f2a6 (diff) | |
download | php-git-ae5958570b6ed7c9957cb31887c6f85910e89b07.tar.gz |
update
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pdo_firebird/firebird_statement.c | 2 | ||||
-rw-r--r-- | ext/pdo_sqlite/sqlite_statement.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; |