mirror of
https://github.com/php/php-src.git
synced 2025-01-01 16:35:00 +08:00
- Fixed bug #48038 (odbc_execute changes variables used to form params array)
This commit is contained in:
parent
0382e8ff36
commit
ae8c593769
@ -1274,7 +1274,7 @@ PHP_FUNCTION(odbc_execute)
|
||||
}
|
||||
|
||||
otype = (*tmp)->type;
|
||||
convert_to_string(*tmp);
|
||||
convert_to_string_ex(tmp);
|
||||
if (Z_TYPE_PP(tmp) != IS_STRING) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING,"Error converting parameter");
|
||||
SQLFreeStmt(result->stmt, SQL_RESET_PARAMS);
|
||||
|
Loading…
Reference in New Issue
Block a user