Skip to content

Commit

Permalink
also did not need this
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerderits authored and Jacob Beck committed Jul 24, 2018
1 parent ffc90c3 commit 2dbb803
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
9 changes: 0 additions & 9 deletions dbt/adapters/default/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,15 +660,6 @@ def clear_transaction(cls, profile, conn_name='master'):
cls.commit(profile, conn)
return conn_name

@classmethod
def clear_all_transactions(cls, profile):
for conn_name, transaction in connections_in_use.items():
if transaction.get('transaction_open'):
print('found open transaction {}, rolling it back'.format(conn_name))
cls.rollback(transaction)
print('clearing transaction')
cls.clear_transaction(profile, conn_name)

@classmethod
def execute_one(cls, profile, sql, model_name=None, auto_begin=False):
cls.get_connection(profile, model_name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ def test__bigquery__nested_models(self):
},
}
self.verify_manifest(expected_manifest)

@use_profile('redshift')
def test__redshift__run_and_generate(self):
self.run_and_generate()
Expand Down

0 comments on commit 2dbb803

Please sign in to comment.