ibm_db 2.5.10-x86-mingw32 → 2.5.11-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES CHANGED
@@ -1,5 +1,10 @@
1
1
  Change Log
2
2
  ==============
3
+ 2012/12/07 (IBM_DB adapter 2.5.11, driver 2.5.11) :
4
+ - Fixed bug #29633 - Deletes cause too many handles to be consumed and not freed
5
+ - Support for Mac OS CLI library loading to check create and drop db functionality - #29625
6
+ - Fixed #29657 - @servertype of IBM_DBAdapter could end up being nil on DB2 for Z/OS version 9
7
+
3
8
  2012/05/01 (IBM_DB adapter 2.5.10, driver 2.5.10) :
4
9
  - Support for Rails-3.2
5
10
  - Changes in installation process. Now user should set only one environment variable IBM_DB_HOME to DB2/IBM_Data_Server_Driver installation directory
data/README CHANGED
@@ -1,5 +1,5 @@
1
1
  =====================================================================
2
- README for the IBM_DB Adapter (2.5.10) and Driver (2.5.10) (2012/04/30)
2
+ README for the IBM_DB Adapter (2.5.11) and Driver (2.5.11) (2012/12/07)
3
3
  For ActiveRecord Version >= 1.15.5 (and Rails >= 1.2.5)
4
4
  =====================================================================
5
5
 
@@ -12,7 +12,7 @@
12
12
  +----------------------------------------------------------------------+
13
13
  */
14
14
 
15
- #define MODULE_RELEASE "2.5.10"
15
+ #define MODULE_RELEASE "2.5.11"
16
16
 
17
17
  #ifdef HAVE_CONFIG_H
18
18
  #include "config.h"
@@ -2761,8 +2761,8 @@ static void _ruby_ibm_db_clear_conn_err_cache()
2761
2761
  * only by IBM DB2 Universal Database.
2762
2762
  * ====<em>set_replace_quoted_literal</em>
2763
2763
  * This variable indicates if the CLI Connection attribute SQL_ATTR_REPLACE_QUOTED_LITERAL is to be set or not
2764
- * To turn it ON pass IBM_DB::SET_QUOTED_LITERAL_REPLACEMENT_ON
2765
- * To turn it OFF pass IBM_DB::SET_QUOTED_LITERAL_REPLACEMENT_OFF
2764
+ * To turn it ON pass IBM_DB::QUOTED_LITERAL_REPLACEMENT_ON
2765
+ * To turn it OFF pass IBM_DB::QUOTED_LITERAL_REPLACEMENT_OFF
2766
2766
  *
2767
2767
  * Default Setting: - IBM_DB::SET_QUOTED_LITERAL_REPLACEMENT_ON
2768
2768
  *
@@ -33,6 +33,11 @@
33
33
  /*32-bit library in the archive libdb2.a*/
34
34
  #define LIBDB2 "libdb2.a(shr.o)"
35
35
  #endif
36
+ #elif __APPLE__
37
+ #define DLOPEN dlopen
38
+ #define DLSYM dlsym
39
+ #define DLCLOSE dlclose
40
+ #define LIBDB2 "libdb2.dylib"
36
41
  #else
37
42
  #define DLOPEN dlopen
38
43
  #define DLSYM dlsym
@@ -532,6 +532,7 @@ module ActiveRecord
532
532
  when /DB2/i # DB2 for zOS
533
533
  case server_info.DBMS_VER
534
534
  when /09/ # DB2 for zOS version 9 and version 10
535
+ @servertype = IBM_DB2_ZOS.new(self)
535
536
  when /10/
536
537
  @servertype = IBM_DB2_ZOS.new(self)
537
538
  when /08/ # DB2 for zOS version 8
@@ -1182,8 +1183,12 @@ module ActiveRecord
1182
1183
  if binds.nil? || binds.empty?
1183
1184
  update_direct(sql, name)
1184
1185
  else
1185
- if stmt = exec_query(sql,name,binds)
1186
- IBM_DB.num_rows(stmt)
1186
+ begin
1187
+ if stmt = exec_query(sql,name,binds)
1188
+ IBM_DB.num_rows(stmt)
1189
+ end
1190
+ ensure
1191
+ IBM_DB.free_stmt(stmt) if(stmt)
1187
1192
  end
1188
1193
  end
1189
1194
  end
Binary file
Binary file
metadata CHANGED
@@ -1,41 +1,50 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ibm_db
3
- version: !ruby/object:Gem::Version
4
- version: 2.5.10
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ hash: 13
5
+ prerelease: false
6
+ segments:
7
+ - 2
8
+ - 5
9
+ - 11
10
+ version: 2.5.11
6
11
  platform: x86-mingw32
7
- authors:
12
+ authors:
8
13
  - IBM
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-05-01 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-12-07 00:00:00 +05:30
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: activerecord
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: 1.15.1
22
- type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 41
30
+ segments:
31
+ - 1
32
+ - 15
33
+ - 1
29
34
  version: 1.15.1
35
+ type: :runtime
36
+ version_requirements: *id001
30
37
  description:
31
38
  email: rubyibm-developers@rubyforge.org
32
39
  executables: []
40
+
33
41
  extensions: []
34
- extra_rdoc_files:
42
+
43
+ extra_rdoc_files:
35
44
  - CHANGES
36
45
  - README
37
46
  - MANIFEST
38
- files:
47
+ files:
39
48
  - CHANGES
40
49
  - ext/extconf.rb
41
50
  - ext/ibm_db.c
@@ -81,31 +90,41 @@ files:
81
90
  - test/schema/luw/ibm_db_specific_schema.rb
82
91
  - test/schema/schema.rb
83
92
  - test/schema/zOS/ibm_db_specific_schema.rb
93
+ has_rdoc: true
84
94
  homepage: http://rubyforge.org/projects/rubyibm/
85
95
  licenses: []
96
+
86
97
  post_install_message:
87
98
  rdoc_options: []
88
- require_paths:
99
+
100
+ require_paths:
89
101
  - lib
90
- required_ruby_version: !ruby/object:Gem::Requirement
102
+ required_ruby_version: !ruby/object:Gem::Requirement
91
103
  none: false
92
- requirements:
93
- - - ! '>='
94
- - !ruby/object:Gem::Version
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ hash: 59
108
+ segments:
109
+ - 1
110
+ - 8
111
+ - 6
95
112
  version: 1.8.6
96
- required_rubygems_version: !ruby/object:Gem::Requirement
113
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
114
  none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
102
- requirements:
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ hash: 3
119
+ segments:
120
+ - 0
121
+ version: "0"
122
+ requirements:
103
123
  - ActiveRecord, at least 1.15.1
104
124
  rubyforge_project: rubyibm
105
- rubygems_version: 1.8.23
125
+ rubygems_version: 1.3.7
106
126
  signing_key:
107
127
  specification_version: 3
108
- summary: ! 'Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows,
109
- DB2 on zOS, DB2 on i5/OS, Informix (IDS)}'
110
- test_files:
128
+ summary: "Rails Driver and Adapter for IBM Data Servers: {DB2 on Linux/Unix/Windows, DB2 on zOS, DB2 on i5/OS, Informix (IDS)}"
129
+ test_files:
111
130
  - test/ibm_db_test.rb