mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
update
This commit is contained in:
parent
29380a8e54
commit
ae5958570b
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue