hongqn/umysqldb — pull request #2 by V-E-O (2013-06-27 14:39:40+00:00)
Title: temprorarily fix for ping method

Compatible with the behavior of official MySQLdb, except that MySQLdb would raise ProgrammingError when autocommit == False.
query("select 1;") may change to query("show status;") whatever, just ugly test for the connection (is_connected() not works when kicked out by MySQL)