[Sqlalchemy-tickets] Issue #3868: Bug in _get_server_version_info() @dialects/mssql/pymssql.py (zzz
Brought to you by:
zzzeek
From: Miroslav S. <iss...@bi...> - 2016-12-03 21:32:46
|
New issue 3868: Bug in _get_server_version_info() @dialects/mssql/pymssql.py https://bitbucket.org/zzzeek/sqlalchemy/issues/3868/bug-in-_get_server_version_info-dialects Miroslav Stampar: These two issues [1] and [2] seem to be the result of a bug inside the pymssql's banner parsing routine _get_server_version_info() which expects banner to start explicitly with "Microsoft", while in some cases there are whitespaces at the beginning. Would it be possible to adapt that routine as described in [2] - just to put that starting r"\s*..." at the beginning of the used regular expression? [1] https://github.com/sqlmapproject/sqlmap/issues/2297 [2] http://thread.gmane.org/gmane.comp.python.sqlalchemy.user/32762 |