mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
Separate parm zval.
This commit is contained in:
parent
843d0d58a0
commit
1e0f6fe5bb
@ -306,6 +306,7 @@ static int pgsql_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_data *
|
||||
S->param_lengths[param->paramno] = 1;
|
||||
S->param_formats[param->paramno] = 0;
|
||||
} else {
|
||||
SEPARATE_ZVAL_IF_NOT_REF(¶m->parameter);
|
||||
convert_to_string(param->parameter);
|
||||
S->param_values[param->paramno] = Z_STRVAL_P(param->parameter);
|
||||
S->param_lengths[param->paramno] = Z_STRLEN_P(param->parameter);
|
||||
|
Loading…
Reference in New Issue
Block a user