com php-src: ext/pdo_mysql/tests/pdo_mysql_attr_oracle _nulls.phpt fails in trunk as well while buil ding with libmysql: ext/pdo_mysql/mysql_statement
.c
| From: | Xinchen Hui | Date: | Thu, 08 May 2014 10:34:56 +0000 |
| Subject: | com php-src: ext/pdo_mysql/tests/pdo_mysql_attr_oracle _nulls.phpt fails in trunk as well while buil ding with libmysql: ext/pdo_mysql/mysql_statement .c |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78208@lists.php.net to get a copy of this message | ||
Commit: 7541f93f97b8deeb02ce0dada7a6f2e77e6124b0
Author: Xinchen Hui <laruence@php.net> Thu, 8 May 2014 18:34:56 +0800
Parents: 28e6a2b45211adda1fc793ff668ed477e9dad149
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7541f93f97b8deeb02ce0dada7a6f2e77e6124b0
Log:
ext/pdo_mysql/tests/pdo_mysql_attr_oracle_nulls.phpt fails in trunk as well while building with
libmysql
Changed paths:
M ext/pdo_mysql/mysql_statement.c
Diff:
diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c
index ac01102..df3a395 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