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 committed Jul 18, 2018
1 parent 5ee10c4 commit 75eb4d5
Showing 1 changed file with 0 additions 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

0 comments on commit 75eb4d5

Please sign in to comment.