If COM_PING failed, check if reconnect option was set before calling mysql_ping again.
If COM_PING failed, check if reconnect option was set before calling
mysql_ping again.

MariaDB/mariadb-connector-c,ottok/mariadb-connector-c,MariaDB/mariadb-connector-c,MariaDB/mariadb-connector-c,ottok/mariadb-connector-c,ottok/mariadb-connector-c