Skip to content

Commit e7e655f

Browse files
committed
Fixed MsSql autocommit bug
1 parent 03aa500 commit e7e655f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

airflow/hooks/mssql_hook.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ def get_conn(self):
2222
conn.login,
2323
conn.password,
2424
conn.schema)
25-
return conn
25+
return conn
26+
27+
def set_autocommit(self, conn, autocommit):
28+
conn.autocommit(autocommit)

0 commit comments

Comments
 (0)