mirror of
https://github.com/php/php-src.git
synced 2026-03-30 20:22:36 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Properly initialize out parameter
This commit is contained in:
@@ -956,6 +956,7 @@ int odbc_bindcols(odbc_result *result)
|
||||
|
||||
rc = PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(i+1), PHP_ODBC_SQL_DESC_NAME,
|
||||
result->values[i].name, sizeof(result->values[i].name), &colnamelen, 0);
|
||||
result->values[i].coltype = 0;
|
||||
rc = PHP_ODBC_SQLCOLATTRIBUTE(result->stmt, (SQLUSMALLINT)(i+1), SQL_COLUMN_TYPE,
|
||||
NULL, 0, NULL, &result->values[i].coltype);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user