Skip to content

Commit

Permalink
fix SQLSERVER_MAJOR_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zhengda committed Oct 22, 2024
1 parent fb7eb92 commit ced3c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlserver/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_local_driver():
'sqlserver.server.virtual_memory',
]

SQLSERVER_MAJOR_VERSION = int(os.environ.get('SQLSERVER_MAJOR_VERSION'))
SQLSERVER_MAJOR_VERSION = int(os.environ.get('SQLSERVER_MAJOR_VERSION').split('_')[0])
SQLSERVER_ENGINE_EDITION = int(os.environ.get('SQLSERVER_ENGINE_EDITION'))


Expand Down

0 comments on commit ced3c43

Please sign in to comment.