- Fixed bug #48038 (odbc_execute changes variables used to form params array)

This commit is contained in:
Felipe Pena 2009-05-01 03:02:32 +00:00
parent 0382e8ff36
commit ae8c593769

View File

@ -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);