From 7541f93f97b8deeb02ce0dada7a6f2e77e6124b0 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 8 May 2014 18:34:56 +0800 Subject: [PATCH] ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt fails in trunk as well while building with libmysql --- ext/pdo_mysql/mysql_statement.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c index ac01102bba..df3a3955c8 100644 --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@ -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 -- 2.50.1