CDbCommand warning/exception generation fix

The problem is with MySQL. When PDO gets mysql "server has gone away" error, it issues a warning and then the exception. With full error reporting the script stops on warning with no way to catch an exception.