Patch fix-mysql_statement.c-5.3-201101041530.patch for PDO related Bug #44454
Patch version 2011-01-04 16:20 UTC
Return to Bug #44454 |
Download this patch
Patch Revisions:
Developer: rgagnon24@gmail.com
--- ext/pdo_mysql/mysql_statement-201101041530.c 2011-01-04 16:17:16.000000000 +0000
+++ ext/pdo_mysql/mysql_statement.c 2011-01-04 16:17:49.000000000 +0000
@@ -657,7 +657,7 @@ static int pdo_mysql_stmt_fetch(pdo_stmt
#endif /* PDO_USE_MYSQLND */
if ((S->current_data = mysql_fetch_row(S->result)) == NULL) {
- if (mysql_errno(S->H->server)) {
+ if (!S->H->buffered && mysql_errno(S->H->server)) {
pdo_mysql_error_stmt(stmt);
}
PDO_DBG_RETURN(0);
|