]> git.pld-linux.org Git - packages/php.git/blame - php-5.3.7-bug-53782.patch
move php.1 manual to -program (link to actual php-cli)
[packages/php.git] / php-5.3.7-bug-53782.patch
CommitLineData
fb98beff
ER
1--- PHP_5_3/ext/pdo_mysql/mysql_statement.c 2011/05/16 15:36:12 311087
2+++ PHP_5_3/ext/pdo_mysql/mysql_statement.c 2011/05/16 15:37:39 311088
3@@ -656,7 +656,11 @@
4 #endif /* PDO_USE_MYSQLND */
5
6 if ((S->current_data = mysql_fetch_row(S->result)) == NULL) {
7- if (mysql_errno(S->H->server)) {
8+#if PDO_USE_MYSQLND
9+ if (S->result->unbuf && !S->result->unbuf->eof_reached && mysql_errno(S->H->server)) {
10+#else
11+ if (!S->result->eof && mysql_errno(S->H->server)) {
12+#endif
13 pdo_mysql_error_stmt(stmt);
14 }
15 PDO_DBG_RETURN(0);
This page took 0.030829 seconds and 4 git commands to generate.