'Confirm support for transactions'

def _supports_transactions(self):

    cursor = self.connection.cursor()
    cursor.execute('CREATE    TABLE    ROLLBACK_TEST    (X    INT)')
    self.connection._commit()
    cursor.execute('INSERT    INTO    ROLLBACK_TEST    (X)    VALUES    (8)')
    self.connection._rollback()
    cursor.execute('SELECT    COUNT(X)    FROM    ROLLBACK_TEST')
    (count,) = cursor.fetchone()
    cursor.execute('DROP    TABLE    ROLLBACK_TEST')
    self.connection._commit()
    return (count == 0)
