ZF-11506: Zend_Db_Adapter_Mysqli should mysql_ping before assuming connected

Description

There are a couple of places that Zend_Db_Adapter_Mysqli checks for a connection. Why do these checks not utilize mysqli_ping?

I am running into instances where I am getting a "MySQL Server has gone away" error, and I believe if we used mysqli_ping in the two places I've pointed out in the patch file, you would have a better chance of not getting that error message.

Comments

No comments to display