php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #44454
Patch fix-mysql_statement.c-5.3-201101041530.patch revision 2011-01-04 16:20 UTC by rgagnon24 at gmail dot com
Patch fix-mysql_statement.c-5.2.13.patch revision 2010-06-03 18:51 UTC by rgagnon24 at gmail dot com

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;

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC