Patch fix-mysql_statement.c-5.2.13.patch for PDO related Bug #44454
Patch version 2010-06-03 18:51 UTC
Return to Bug #44454 |
Download this patch
Patch Revisions:
Developer: rgagnon24@gmail.com
--- ext/pdo_mysql/mysql_statement.c.5.2.13 2010-06-03 13:52:20.000000000 -0500
+++ ext/pdo_mysql/mysql_statement.c 2010-06-03 13:52:34.000000000 -0500
@@ -417,7 +417,7 @@
return 0;
}
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);
}
return 0;
|