ID:               50300
 User updated by:  tejas dot net+php at gmail dot com
 Reported By:      tejas dot net+php at gmail dot com
-Status:           No Feedback
+Status:           Open
 Bug Type:         MySQL related
 Operating System: CentOS v5
 PHP Version:      5.3.1
 New Comment:

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)


Previous Comments:
------------------------------------------------------------------------

[2009-12-04 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-11-26 10:08:53] [email protected]

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

Reply via email to