def teardown_databases109(old_config, verbosity, parallel=0, keepdb=False):
    """
    Destroy all the non-mirror databases.
    """
    for connection, old_name, destroy in old_config:
        if destroy:
            if parallel > 1:
                for index in range(parallel):
                    connection.creation.destroy_test_db(number=index + 1,
                        verbosity=verbosity, keepdb=keepdb)
            connection.creation.destroy_test_db(old_name, verbosity, keepdb)
