Skip to content

Commit

Permalink
Merge pull request #168 from junpataleta/master
Browse files Browse the repository at this point in the history
Missing assignment for the sqlsrv cursor
  • Loading branch information
FMCorz authored Jan 19, 2018
2 parents 820806c + 6c97de6 commit d6ff4db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Changelog
=========

v1.7.1
- Fix missing assignment of the sqlsrv cursor - Jun Pataleta

v1.7.0
------

Expand Down
1 change: 1 addition & 0 deletions mdk/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def __init__(self, engine, options):
% (host, port, user, password)
self.conn = pyodbc.connect(connectionstr)
self.conn.autocommit = True
self.cur = self.conn.cursor()

else:
raise Exception('DB engine %s not supported' % engine)
Expand Down
2 changes: 1 addition & 1 deletion mdk/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@
http://github.com/FMCorz/mdk
"""

__version__ = "1.7.0"
__version__ = "1.7.1"

0 comments on commit d6ff4db

Please sign in to comment.