Skip to content

Commit

Permalink
Fixed MsSql autocommit bug
Browse files Browse the repository at this point in the history
  • Loading branch information
biellls committed May 2, 2016
1 parent 03aa500 commit e7e655f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion airflow/hooks/mssql_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ def get_conn(self):
conn.login,
conn.password,
conn.schema)
return conn
return conn

def set_autocommit(self, conn, autocommit):
conn.autocommit(autocommit)

0 comments on commit e7e655f

Please sign in to comment.