#50300 [Opn->Bgs]: PHP Warning: Error while sending QUERY packet
| From: | jani@php.net | Date: | Fri, 11 Dec 2009 22:36:18 +0000 |
| Subject: | #50300 [Opn->Bgs]: PHP Warning: Error while sending QUERY packet | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-145652@lists.php.net to get a copy of this message | ||
ID: 50300
Updated by: jani@php.net
Reported By: tejas dot net+php at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: MySQL related
Operating System: CentOS v5
PHP Version: 5.3.1
New Comment:
Yep.
Previous Comments:
------------------------------------------------------------------------
[2009-12-11 14:41:59] tejas dot net+php at gmail dot com
I guess this is a legitimate warning thrown by PHP.
After some debugging, I found that this happens if the connection is
lost (my DB layer class normally does a mysql_ping to restore it, which
is why I dont see any side-effects)
------------------------------------------------------------------------
[2009-11-26 10:08:53] kalle@php.net
Any chance you can log a possible query that might generate this
warning? Along with the MySQL server version.
When replying, then change the status back to Open
------------------------------------------------------------------------
[2009-11-25 21:17:56] tejas dot net+php at gmail dot com
Description:
------------
When using the mysql_* functions (mysqlnd), I sometimes get a warning
like:
PHP Warning: Error while sending QUERY packet. PID=16717 in [FILE] on
line [LINE]
The query seems to work just fine however.
Probably related to this bug here:
http://bugs.php.net/bug.php?id=49761
but I'm not using Mysqli or persistent connections.
FILE:LINE contains: return mysql_query( $sql, $this->_connection );
Is this a bug?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50300&edit=1