Skip to content

Commit

Permalink
None check for server type (#110)
Browse files Browse the repository at this point in the history
Signed-off-by: amukherjee <[email protected]>
  • Loading branch information
amukherjee28 authored Apr 28, 2022
1 parent 1a811a8 commit f4cd33e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibm_db_sa/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,8 @@ def initialize(self, connection):
_reflector_cls = ibm_reflection.AS400Reflector
elif self.dbms_name == "DB2":
_reflector_cls = ibm_reflection.OS390Reflector
elif(self.dbms_name is None):
_reflector_cls = ibm_reflection.DB2Reflector
elif "DB2/" in self.dbms_name:
_reflector_cls = ibm_reflection.DB2Reflector
elif "IDS/" in self.dbms_name:
Expand Down

0 comments on commit f4cd33e

Please sign in to comment.