1
0
mirror of https://github.com/php/php-src.git synced 2026-04-19 22:11:12 +02:00

ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt fails in trunk as well while building with libmysql

This commit is contained in:
Xinchen Hui
2014-05-08 18:34:56 +08:00
parent 28e6a2b452
commit 7541f93f97

View File

@@ -404,8 +404,7 @@ static int pdo_mysql_stmt_next_rowset(pdo_stmt_t *stmt TSRMLS_DC) /* {{{ */
/* ensure that we free any previous unfetched results */
#ifndef PDO_USE_MYSQLND
if (S->stmt) {
//???? This line is very suspicious
//stmt->column_count = (int)mysql_num_fields(S->result);
stmt->column_count = (int)mysql_num_fields(S->result);
mysql_stmt_free_result(S->stmt);
}
#endif