Fixed for DBs that support DDL transactions (last commit broke it)