Skip to content

Commit c274fa6

Browse files
authored
Update ibm_db_adapter.rb
Let server DB2 version 13 work when initializing connection with IBM_DB2_ZOS instance. In my (limited) testing, this works fine. In fact, I've monkey-patched previous versions this way too. But, I don't know if there are any other DB2 server version 13 issues that need to be addressed.
1 parent 1813ed7 commit c274fa6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

IBM_DB_Adapter/ibm_db/lib/active_record/connection_adapters/ibm_db_adapter.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -852,6 +852,8 @@ def initialize(args)
852852
@servertype = IBM_DB2_ZOS.new(self, @isAr3)
853853
when /12/
854854
@servertype = IBM_DB2_ZOS.new(self, @isAr3)
855+
when /13/
856+
@servertype = IBM_DB2_ZOS.new(self, @isAr3)
855857
when /08/ # DB2 for zOS version 8
856858
@servertype = IBM_DB2_ZOS_8.new(self, @isAr3)
857859
else # DB2 for zOS version 7

0 commit comments

Comments
 (0)