ruby-oci8 2.2.5.1-x64-mingw32 → 2.2.9-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/ChangeLog +240 -0
- data/NEWS +190 -50
- data/README.md +1 -1
- data/dist-files +2 -1
- data/docs/install-instant-client.md +2 -1
- data/docs/install-on-osx.md +1 -1
- data/lib/oci8.rb +10 -3
- data/lib/oci8/bindtype.rb +0 -14
- data/lib/oci8/check_load_error.rb +51 -16
- data/lib/oci8/cursor.rb +46 -13
- data/lib/oci8/metadata.rb +9 -1
- data/lib/oci8/object.rb +10 -0
- data/lib/oci8/oci8.rb +7 -1
- data/lib/oci8/oracle_version.rb +11 -1
- data/lib/oci8/version.rb +1 -1
- data/lib/oci8lib_250.so +0 -0
- data/lib/oci8lib_260.so +0 -0
- data/lib/oci8lib_270.so +0 -0
- data/lib/oci8lib_300.so +0 -0
- data/lib/ruby-oci8.rb +0 -3
- data/ruby-oci8.gemspec +1 -2
- data/setup.rb +11 -2
- data/test/README.md +37 -0
- data/test/config.rb +1 -1
- data/test/setup_test_object.sql +21 -13
- data/test/test_all.rb +1 -0
- data/test/test_break.rb +3 -4
- data/test/test_clob.rb +3 -16
- data/test/test_datetime.rb +8 -3
- data/test/test_object.rb +33 -9
- data/test/test_oci8.rb +169 -44
- data/test/test_package_type.rb +15 -3
- data/test/test_properties.rb +17 -0
- metadata +24 -24
- data/lib/oci8lib_200.so +0 -0
- data/lib/oci8lib_210.so +0 -0
- data/lib/oci8lib_220.so +0 -0
- data/lib/oci8lib_230.so +0 -0
- data/lib/oci8lib_240.so +0 -0
- data/test/README +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: eb6707d7ba8417adae005295d0a3b2b47908d2d0a06a065034797ae37a94308d
|
4
|
+
data.tar.gz: 93601a2f486a2cc4c49ffe2e794cc637b1366679a1077ae6fbdaf3b03cb250ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73663e7381ac9a45afbce47f5dab35bb49ca971a2911524a7fb1ff693503b20a3cf9446c54a08eb1a173738c057866d7dd0a80e9f8e590a78cede8c3b7e90f42
|
7
|
+
data.tar.gz: 89434cc79e5184702d4696c253bad2a34be5a561bdb210610ecaf6cf655b6caf9c4f438cb993cc3ca166033dd8f60d555ffe344911d87dd4dd32897af4a06590
|
data/ChangeLog
CHANGED
@@ -1,3 +1,243 @@
|
|
1
|
+
2020-12-30 Kubo Takehiro <kubo@jiubao.org>
|
2
|
+
* NEWS: Add changes between 2.2.8 and 2.2.9.
|
3
|
+
* lib/oci8/version.rb: Update to 2.2.9.
|
4
|
+
* mkpkg-win32.rb: remove unmaintained ruby versions from binary gems.
|
5
|
+
|
6
|
+
2020-12-29 Kubo Takehiro <kubo@jiubao.org>
|
7
|
+
* ext/oci8/oraconf.rb: Support --with-instant-client-dir along with --with-instant-client-lib/include.
|
8
|
+
(GH-223)
|
9
|
+
|
10
|
+
2020-12-29 Kubo Takehiro <kubo@jiubao.org>
|
11
|
+
* ext/oci8/hook_funcs.c: Fix hooking failure with truffleruby.
|
12
|
+
* test/test_break.rb: Fix to pass tests with truffleruby.
|
13
|
+
|
14
|
+
2020-12-28 Kubo Takehiro <kubo@jiubao.org>
|
15
|
+
* mkpkg-win32.rb: Build binary gems for ruby 3.0 on Windows.
|
16
|
+
|
17
|
+
2020-12-28 Kubo Takehiro <kubo@jiubao.org>
|
18
|
+
* ext/oci8/ocinumber.c: Suppress C compiler warning: enumeration value ‘RUBY_T_NONE’ not handled in switch
|
19
|
+
|
20
|
+
2020-09-10 Kubo Takehiro <kubo@jiubao.org>
|
21
|
+
* ext/oci8/extconf.rb: Fix for TruffleRuby 20.2 or before.
|
22
|
+
|
23
|
+
2020-09-08 Brandon Fish <brandon.j.fish@oracle.com>
|
24
|
+
* ext/oci8/extconf.rb, lib/oci8.rb: Handle truffleruby RUBY_ENGINE in case statements
|
25
|
+
|
26
|
+
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
|
27
|
+
* NEWS: Add changes between 2.2.7 and 2.2.8.
|
28
|
+
* lib/oci8/version.rb: Update to 2.2.8.
|
29
|
+
|
30
|
+
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
|
31
|
+
* ext/oci8/bind.c: Fix warning: comparison between signed and
|
32
|
+
unsigned integer expressions
|
33
|
+
|
34
|
+
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
|
35
|
+
* test/README.md: Update preparation SQL statements for running tests.
|
36
|
+
|
37
|
+
2020-01-11 Kubo Takehiro <kubo@jiubao.org>
|
38
|
+
* test/test_break.rb: Check Oracle server OS where tests run
|
39
|
+
using dbms_utility.port_string. Tests in test_break.rb
|
40
|
+
failed on Windows.
|
41
|
+
|
42
|
+
2020-01-07 Kubo Takehiro <kubo@jiubao.org>
|
43
|
+
* mkpkg-win32.rb: Workarounds for compilation using ruby 2.4 and 2.6 with
|
44
|
+
latest msys2 to avoid 'undefined reference to __chk_fail'
|
45
|
+
|
46
|
+
2020-01-06 Kubo Takehiro <kubo@jiubao.org>
|
47
|
+
* ext/oci8/win32.c: Fix warnings caused by the change of rb_ensure()'s
|
48
|
+
arguments in ruby 2.7.
|
49
|
+
|
50
|
+
2019-12-16 Kubo Takehiro <kubo@jiubao.org>
|
51
|
+
* test/test_datetime.rb: Remove "require 'scanf'" to run tests with Ruby 2.7.
|
52
|
+
The 'scanf' library was removed. https://bugs.ruby-lang.org/issues/16170
|
53
|
+
|
54
|
+
2019-12-15 Kubo Takehiro <kubo@jiubao.org>
|
55
|
+
* ext/oci8/oradate.c: Fix bug of OraDate.now introduced 15 years ago.
|
56
|
+
|
57
|
+
2019-12-15 Kubo Takehiro <kubo@jiubao.org>
|
58
|
+
* ext/oci8/attr.c, ext/oci8/oci8lib.c: Fix warnings caused by the
|
59
|
+
change of rb_ensure()'s arguments in ruby 2.7.
|
60
|
+
|
61
|
+
2019-06-19 Kubo Takehiro <kubo@jiubao.org>
|
62
|
+
* Merge pull request #217 from nathanbwright/patch-1
|
63
|
+
Fix spelling in install-instant-client.md
|
64
|
+
(GH-217)
|
65
|
+
|
66
|
+
2019-06-18 Nathan Wright <nathanbwright@users.noreply.github.com>
|
67
|
+
* docs/install-instant-client.md: Fix spelling in install-instant-client.md
|
68
|
+
(GH-217)
|
69
|
+
|
70
|
+
2019-04-24 Kubo Takehiro <kubo@jiubao.org>
|
71
|
+
* Merge pull request #212 from tomasjura/master
|
72
|
+
Compilation fix for Windows ( and some small cleanups )
|
73
|
+
(GH-212)
|
74
|
+
|
75
|
+
2019-04-23 Tomas Jura <tomas.jura1@gmail.com>
|
76
|
+
* ext/oci8/oci8.h: eliminate compiler warning
|
77
|
+
(GH-212)
|
78
|
+
|
79
|
+
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
|
80
|
+
* ext/oci8/bind.c: compiler warning eliminated
|
81
|
+
(GH-212)
|
82
|
+
|
83
|
+
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
|
84
|
+
* setup.rb: use splat operator instead dummy variables
|
85
|
+
(GH-212)
|
86
|
+
|
87
|
+
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
|
88
|
+
* lib/oci8.rb: use fiddler instead obsolete Win32API
|
89
|
+
(GH-212)
|
90
|
+
|
91
|
+
2019-04-20 Tomas Jura <tomas.jura1@gmail.com>
|
92
|
+
* ext/oci8/oraconf.rb: fix typo in windows compilation
|
93
|
+
(GH-212)
|
94
|
+
|
95
|
+
2019-03-23 Kubo Takehiro <kubo@jiubao.org>
|
96
|
+
* Merge pull request #210 from dminuoso/allow-custom
|
97
|
+
(Nix) Allow for specifying include/library paths
|
98
|
+
(GH-210)
|
99
|
+
|
100
|
+
2019-03-23 Victor Nawothnig <Victor.Nawothnig@gmail.com>
|
101
|
+
* ext/oci8/oraconf.rb: Fix missing support for full client
|
102
|
+
(GH-210)
|
103
|
+
|
104
|
+
2019-03-22 Victor Nawothnig <Victor.Nawothnig@gmail.com>
|
105
|
+
* ext/oci8/oraconf.rb: fixup! Allow overriding library/include paths
|
106
|
+
(GH-210)
|
107
|
+
|
108
|
+
2019-03-21 Victor Nawothnig <Victor.Nawothnig@gmail.com>
|
109
|
+
* setup.rb: Add documentation for new flags
|
110
|
+
(GH-210)
|
111
|
+
|
112
|
+
2019-03-21 Victor Nawothnig <Victor.Nawothnig@gmail.com>
|
113
|
+
* ext/oci8/oraconf.rb: Allow overriding library/include paths
|
114
|
+
(GH-210)
|
115
|
+
|
116
|
+
2019-01-06 Kubo Takehiro <kubo@jiubao.org>
|
117
|
+
* NEWS: Add changes between 2.2.6.1 and 2.2.7.
|
118
|
+
* lib/oci8/version.rb: Update to 2.2.7
|
119
|
+
|
120
|
+
2019-01-06 Kubo Takehiro <kubo@jiubao.org>
|
121
|
+
* mkpkg-win32.rb, ruby-oci8.gemspec: Build binary gems for ruby 2.6
|
122
|
+
on Windows.
|
123
|
+
|
124
|
+
2019-01-06 Kubo Takehiro <kubo@jiubao.org>
|
125
|
+
* ext/oci8/oci8.c: Updata doc comments for OCI8#long_read_len
|
126
|
+
and OCI8#long_read_len=. These are deprecated.
|
127
|
+
|
128
|
+
2019-01-03 Kubo Takehiro <kubo@jiubao.org>
|
129
|
+
* lib/oci8/check_load_error.rb: Use fiddle instead of Win32API
|
130
|
+
to call WIN32 functions.
|
131
|
+
|
132
|
+
2019-01-03 Kubo Takehiro <kubo@jiubao.org>
|
133
|
+
* lib/oci8/check_load_error.rb: Add more error diagnostics
|
134
|
+
when 'require "oci8"' fails with "OCI.DLL: 126(The specified
|
135
|
+
module could not be found.)".
|
136
|
+
|
137
|
+
2019-01-03 Kubo Takehiro <kubo@jiubao.org>
|
138
|
+
* lib/oci8.rb, lib/oci8/check_load_error.rb: Exclude empty
|
139
|
+
parts of PATH on Windows.
|
140
|
+
|
141
|
+
2018-12-23 Kubo Takehiro <kubo@jiubao.org>
|
142
|
+
* lib/oci8/check_load_error.rb: Check OCI.DLL archtecture
|
143
|
+
when load error. It worked for ruby installer but not
|
144
|
+
for ruby installer2.
|
145
|
+
|
146
|
+
2018-12-23 Kubo Takehiro <kubo@jiubao.org>
|
147
|
+
* docs/install-instant-client.md: Add information about
|
148
|
+
the MSVC redistributable package required by Oracle 18.3 client.
|
149
|
+
|
150
|
+
2018-09-16 Kubo Takehiro <kubo@jiubao.org>
|
151
|
+
* ext/oci8/hook_funcs.c: Fix "No shared library is found to hook." on macOS.
|
152
|
+
(oracle-enhanced issue #1768)
|
153
|
+
|
154
|
+
2018-09-11 Kubo Takehiro <kubo@jiubao.org>
|
155
|
+
* ext/oci8/object.c, lib/oci8/cursor.rb: Change the internal structure
|
156
|
+
about object type binding to use array fetching for object types.
|
157
|
+
|
158
|
+
2018-09-09 Kubo Takehiro <kubo@jiubao.org>
|
159
|
+
* ext/oci8/lob.c: Read lob data without checking readable size to
|
160
|
+
reduce number of network round trips from two to one.
|
161
|
+
|
162
|
+
2018-09-05 Kubo Takehiro <kubo@jiubao.org>
|
163
|
+
* ext/oci8/bind.c, ext/oci8/stmt.c, lib/oci8/cursor.rb,
|
164
|
+
lib/oci8/oci8.rb, test/test_oci8.rb: Use array fetching when
|
165
|
+
LOB colums are in a query and no object types are in the query.
|
166
|
+
|
167
|
+
2018-09-02 Kubo Takehiro <kubo@jiubao.org>
|
168
|
+
* ext/oci8/apiwrap.yml, ext/oci8/bind.c, ext/oci8/stmt.c,
|
169
|
+
lib/oci8/bindtype.rb, test/test_oci8.rb: Rewrite OCI8::BindType::Long
|
170
|
+
and OCI8::BindType::LongRaw to handle up to 2 gigabyte data using
|
171
|
+
dynamically allocated buffers.
|
172
|
+
|
173
|
+
2018-08-22 Kubo Takehiro <kubo@jiubao.org>
|
174
|
+
* NEWS: Add changes between 2.2.5.1 and 2.2.6
|
175
|
+
* lib/oci8/version.rb: Update to 2.2.6
|
176
|
+
* mkpkg-win32.rb: Don't test with self-build ruby 2.4.
|
177
|
+
|
178
|
+
2018-08-22 Kubo Takehiro <kubo@jiubao.org>
|
179
|
+
* ext/oci8/oci8lib.c: Load a Oracle client library which doesn't have
|
180
|
+
version number suffix also on Unix when runtime-check is enabled.
|
181
|
+
Oracle version numbers are incremented yearly sice Oracle 18c.
|
182
|
+
|
183
|
+
2018-08-22 Kubo Takehiro <kubo@jiubao.org>
|
184
|
+
* ext/oci8/hook_funcs.c, ext/oci8/win32.c: Suppress warnings:
|
185
|
+
"'raise_error' defined but not used" and "'strncpy' specified
|
186
|
+
bound 512 equals destination size".
|
187
|
+
|
188
|
+
2018-08-19 Kubo Takehiro <kubo@jiubao.org>
|
189
|
+
* ext/oci8/hook_funcs.c: Not depend on Oracle version number
|
190
|
+
of Oracle client file name suffix when hooking functions.
|
191
|
+
(rsim/oracle-enhanced#1754)
|
192
|
+
* test/test_all.rb, test/test_properties.rb, dist-files:
|
193
|
+
Add tests for hooking.
|
194
|
+
|
195
|
+
2018-08-18 Kubo Takehiro <kubo@jiubao.org>
|
196
|
+
* test/test_oci8.rb: Fix to pass a test when the client is 11g
|
197
|
+
and the server is 18c. client_driver in v$session_connect_info
|
198
|
+
has an extra space at the end.
|
199
|
+
|
200
|
+
2018-08-18 Kubo Takehiro <kubo@jiubao.org>
|
201
|
+
* ext/oci8/apiwrap.rb, ext/oci8/apiwrap.yml, ext/oci8/oci8.c,
|
202
|
+
ext/oci8/oci8.h, lib/oci8/oci8.rb, lib/oci8/oracle_version.rb,
|
203
|
+
test/test_oci8.rb: Fix OCI8#oracle_server_version to get
|
204
|
+
full version of Oracle 18c.
|
205
|
+
|
206
|
+
2018-08-18 Kubo Takehiro <kubo@jiubao.org>
|
207
|
+
* lib/oci8/metadata.rb: Update doc comments of OCI8::Metadata::ArgBase#level
|
208
|
+
and OCI8::Metadata::ArgBase#arguments.
|
209
|
+
* test/test_package_type.rb, lib/oci8.rb: Fix to pass tests on Oracle 18c.
|
210
|
+
Detailed user-defined type information used in arguments isn't available
|
211
|
+
on Oracle 18c.
|
212
|
+
|
213
|
+
2018-08-12 Kubo Takehiro <kubo@jiubao.org>
|
214
|
+
* test/test_clob.rb: Skip TestCLob#test_github_issue_20 because it
|
215
|
+
takes 4 minutes to test it in my Linux box.
|
216
|
+
|
217
|
+
2018-08-12 Kubo Takehiro <kubo@jiubao.org>
|
218
|
+
* ext/oci8/lob.c, test/test_clob.rb: LOB#sync, LOB#sync= and LOB#flush
|
219
|
+
do nothing now. They have not worked by mistake from the beginning
|
220
|
+
because incorrect arguments has been passed to OCILobOpen().
|
221
|
+
Moreover it crashed Oracle 18c server-side processes and caused
|
222
|
+
"ORA-03113: end-of-file on communication channel."
|
223
|
+
(github issue #198)
|
224
|
+
|
225
|
+
2018-01-28 Kubo Takehiro <kubo@jiubao.org>
|
226
|
+
* ext/oci8/object.c, lib/oci8/object.rb: Add timestamp with time zone
|
227
|
+
data type support in object type attributes.
|
228
|
+
(github issue #185)
|
229
|
+
* test/setup_test_object.sql, test/test_object.rb: Add tests for
|
230
|
+
timestamp and timestamp with time zone.
|
231
|
+
|
232
|
+
2018-01-23 Kubo Takehiro <kubo@jiubao.org>
|
233
|
+
* ext/oci8/object.c, ext/oci8/oci8.h, lib/oci8/object.rb:
|
234
|
+
Add timestamp data type support in object type attributes.
|
235
|
+
(github issue #185)
|
236
|
+
|
237
|
+
2017-12-27 Kubo Takehiro <kubo@jiubao.org>
|
238
|
+
* mkpkg-win32.rb: Remove '-rubygems' in the command line to run tests.
|
239
|
+
`ubygems.rb` was removed in ruby 2.5.
|
240
|
+
|
1
241
|
2017-12-27 Kubo Takehiro <kubo@jiubao.org>
|
2
242
|
* NEWS: Add changes between 2.2.5 and 2.2.5.1
|
3
243
|
* lib/oci8/version.rb: Update to 2.2.5.1
|
data/NEWS
CHANGED
@@ -1,7 +1,147 @@
|
|
1
1
|
# @markup markdown
|
2
2
|
|
3
|
-
2.2.
|
4
|
-
|
3
|
+
2.2.9 (2020-12-30)
|
4
|
+
==================
|
5
|
+
|
6
|
+
- Support [TruffleRuby](https://github.com/oracle/truffleruby). (GH-225)
|
7
|
+
|
8
|
+
(contributed by Brandon Fish)
|
9
|
+
|
10
|
+
- Remove extension libraries for unmaintained ruby versions from binary gems.
|
11
|
+
|
12
|
+
Fixed issue
|
13
|
+
-----------
|
14
|
+
|
15
|
+
- Allow --with-instant-client-dir along with --with-instant-client-lib/include. (GH-223)
|
16
|
+
|
17
|
+
(reported by Victor Nawothnig)
|
18
|
+
|
19
|
+
2.2.8 (2020-01-11)
|
20
|
+
==================
|
21
|
+
|
22
|
+
New features
|
23
|
+
------------
|
24
|
+
|
25
|
+
* Add support to specify include and lib directories of Oracle library on installation. (GH-210)
|
26
|
+
|
27
|
+
The following three flags are added.
|
28
|
+
|
29
|
+
* --with-instant-client-dir
|
30
|
+
* --with-instant-client-include
|
31
|
+
* --with-instant-client-lib
|
32
|
+
|
33
|
+
Fixed issue
|
34
|
+
-----------
|
35
|
+
|
36
|
+
- Suppress warnings compiling oci8lib.so (GH-212 and others)
|
37
|
+
|
38
|
+
- Fix compilation and tests on Windows.
|
39
|
+
|
40
|
+
- Fix spelling in install-instant-client.md (GH-217)
|
41
|
+
|
42
|
+
- Use fiddler instead obsolete Win32API on Windows (GH-212)
|
43
|
+
|
44
|
+
2.2.7 (2019-01-06)
|
45
|
+
==================
|
46
|
+
|
47
|
+
Incompatible Changes
|
48
|
+
--------------------
|
49
|
+
|
50
|
+
### `OCI8#long_read_len` and `OCI8#long_read_len=` do nothing.
|
51
|
+
|
52
|
+
When `LONG`, `LONG RAW` or `XMLTYPE` data were fetched, the data were
|
53
|
+
truncated at `OCI8#long_read_len`. The maximum size of data had
|
54
|
+
been 4 gigabytes since this release.
|
55
|
+
|
56
|
+
`OCI8#long_read_len` and `OCI8#long_read_len=` remain for code-compatibility
|
57
|
+
but do nothing.
|
58
|
+
|
59
|
+
Improvement
|
60
|
+
-----------
|
61
|
+
|
62
|
+
### The number of network round trips was reduced when LOB data are read.
|
63
|
+
|
64
|
+
When LOB data are read, ruby-oci8 before 2.2.7 does the followings:
|
65
|
+
|
66
|
+
1. Gets the size of the LOB.
|
67
|
+
2. Allocate buffer to hold the data.
|
68
|
+
3. Read the LOB contents.
|
69
|
+
|
70
|
+
This requires two round trips.
|
71
|
+
|
72
|
+
It now does the followings:
|
73
|
+
|
74
|
+
1. Request the server to get LOB contents up to 4 gigabytes.
|
75
|
+
2. Read the LOB contents and allocate buffer when the size is insufficient.
|
76
|
+
3. If the total length of received data is less than 4 gigabytes, all data
|
77
|
+
are read. If not, go to the first step to read next 4 gigabytes.
|
78
|
+
|
79
|
+
This requires only one round trip if the size is less than 4 gigabytes.
|
80
|
+
|
81
|
+
### Use array fetching instead of prefetching when LOB columns are in queries
|
82
|
+
|
83
|
+
When LOB columns are in queries, prefetching doesn't seem to work. Rows
|
84
|
+
are fetched one by one according to data captured by network packet sniffer.
|
85
|
+
So array fetching is used instead of prefetching to reduce the number of
|
86
|
+
network round trips.
|
87
|
+
|
88
|
+
### Add error diagnostics when `'require "oci8"'` fails on Windows.
|
89
|
+
|
90
|
+
When `'require "oci8"'` fails with "OCI.DLL: 126(The specified module could not be found.)"
|
91
|
+
on Windows, the cause is not always that OCI.DLL is not found. It may
|
92
|
+
be incorrect architecture, missing dependent DLLs and so on.
|
93
|
+
Ruby-oci8 checks PATH and DLL files when the error is raised and change
|
94
|
+
the error message to reasonable one as possible.
|
95
|
+
|
96
|
+
2.2.6.1 (2018-09-16)
|
97
|
+
====================
|
98
|
+
|
99
|
+
Fixed issue
|
100
|
+
-----------
|
101
|
+
Fix "No shared library is found to hook." on macOS.
|
102
|
+
(rsim/oracle-enhanced#1768)
|
103
|
+
|
104
|
+
2.2.6 (2018-08-22)
|
105
|
+
==================
|
106
|
+
|
107
|
+
This release fixed issues about Oracle 18c except one.
|
108
|
+
|
109
|
+
Fixed issue
|
110
|
+
-----------
|
111
|
+
|
112
|
+
### Setting some properties failed with Oracle 18c client
|
113
|
+
|
114
|
+
Setting `OCI8::properties[:tcp_keepalive_time]` or `OCI8::properties[:cancel_read_at_exit]`
|
115
|
+
failed with the error message "No shared library is found to hook" when Oracle
|
116
|
+
client version is 18c.
|
117
|
+
(rsim/oracle-enhanced#1754)
|
118
|
+
|
119
|
+
### Fix `OCI8#oracle_server_version` to get full version of Oracle 18c
|
120
|
+
|
121
|
+
`OCI8#oracle_server_version` returned Oracle version number whose
|
122
|
+
number components after the first dot are zeros such as '18.0.0.0.0'
|
123
|
+
even when the server version is `18.3.0.0.0`. This issue was fixed by
|
124
|
+
using a new OCI function. However the function is available since
|
125
|
+
Oracle 18c client. So when the Oracle client version is 12c or earlier
|
126
|
+
and the Oracle server version is 18c or later, it cannot get the *full*
|
127
|
+
Oracle version number.
|
128
|
+
|
129
|
+
### Fix tests when the Oracle server version is 18c.
|
130
|
+
|
131
|
+
### LOB#sync, LOB#sync= and LOB#flush do nothing now.
|
132
|
+
|
133
|
+
They have not worked by mistake from the beginning because incorrect
|
134
|
+
arguments has been passed to OCILobOpen(). Moreover it crashed Oracle
|
135
|
+
18c server-side processes and caused "ORA-03113: end-of-file on
|
136
|
+
communication channel."
|
137
|
+
(github issue #198)
|
138
|
+
|
139
|
+
### `unsupported typecode timestamp` when timestamp with time zone is in object type attributes.
|
140
|
+
|
141
|
+
(github issue #185)
|
142
|
+
|
143
|
+
2.2.5.1 (2017-12-27)
|
144
|
+
====================
|
5
145
|
|
6
146
|
No updates except tests. The version number was changed just to release
|
7
147
|
binary gems for ruby 2.5 on Windows.
|
@@ -10,8 +150,8 @@ binary gems for ruby 2.5 on Windows.
|
|
10
150
|
|
11
151
|
(github issue #180, #181)
|
12
152
|
|
13
|
-
2.2.5
|
14
|
-
|
153
|
+
2.2.5 (2017-10-21)
|
154
|
+
==================
|
15
155
|
|
16
156
|
New Features
|
17
157
|
------------
|
@@ -68,8 +208,8 @@ Other Changes
|
|
68
208
|
See {file:docs/number-type-mapping.md Number Type Mapping between Oracle and Ruby}.
|
69
209
|
(github issue #173)
|
70
210
|
|
71
|
-
2.2.4.1
|
72
|
-
|
211
|
+
2.2.4.1 (2017-06-17)
|
212
|
+
====================
|
73
213
|
|
74
214
|
Fixed issue
|
75
215
|
-----------
|
@@ -83,8 +223,8 @@ differently, it may cause unexpected behavior.
|
|
83
223
|
|
84
224
|
### Fix compilation errors in 2.2.4 on cygwin
|
85
225
|
|
86
|
-
2.2.4
|
87
|
-
|
226
|
+
2.2.4 (2017-06-11)
|
227
|
+
==================
|
88
228
|
|
89
229
|
New Features
|
90
230
|
------------
|
@@ -122,8 +262,8 @@ Use Win32::Registry instead of Win32API to compile ruby-oci8 on the latest cygwi
|
|
122
262
|
|
123
263
|
(contributed by davidbrs. [github issue #156](https://github.com/kubo/ruby-oci8/issues/156))
|
124
264
|
|
125
|
-
2.2.3
|
126
|
-
|
265
|
+
2.2.3 (2016-12-27)
|
266
|
+
==================
|
127
267
|
|
128
268
|
New Features
|
129
269
|
------------
|
@@ -136,8 +276,8 @@ New Features
|
|
136
276
|
- Suppress warnings outputted by Minitest in ruby 2.4.0
|
137
277
|
- Suppress warnings when compiling with ruby 2.4.0
|
138
278
|
|
139
|
-
2.2.2
|
140
|
-
|
279
|
+
2.2.2 (2016-04-24)
|
280
|
+
==================
|
141
281
|
|
142
282
|
New Features
|
143
283
|
------------
|
@@ -183,8 +323,8 @@ Other Changes
|
|
183
323
|
- Check the default value of DYLD_FALLBACK_LIBRARY_PATH after checking OCI_DIR on installation. (OS X only)
|
184
324
|
|
185
325
|
|
186
|
-
2.2.1
|
187
|
-
|
326
|
+
2.2.1 (2015-11-01)
|
327
|
+
==================
|
188
328
|
|
189
329
|
New Features
|
190
330
|
------------
|
@@ -212,16 +352,16 @@ Other Changes
|
|
212
352
|
|
213
353
|
- Delete unused code which was added to support old Oracle and ruby 1.8.
|
214
354
|
|
215
|
-
2.2.0.2
|
216
|
-
|
355
|
+
2.2.0.2 (2015-10-12)
|
356
|
+
====================
|
217
357
|
|
218
358
|
Nothing was changed except the version.
|
219
359
|
|
220
360
|
The forth version was incremented to release binary gems for mingw32.
|
221
361
|
The binary gems for 2.2.0.1 didn't work by faultily packaging.
|
222
362
|
|
223
|
-
2.2.0.1
|
224
|
-
|
363
|
+
2.2.0.1 (2015-10-11)
|
364
|
+
====================
|
225
365
|
|
226
366
|
If ruby-oci8 2.2.0 is installed, you have no need to update it to
|
227
367
|
2.2.0.1. Source code itself was not changed between 2.2.0 and 2.2.0.1.
|
@@ -237,8 +377,8 @@ Ruby-oci8 2.2.0 documents had not been generated in rubydoc.info
|
|
237
377
|
though the URLs are displayed on installation failure. They were
|
238
378
|
changed to documents generated by the latest github repository.
|
239
379
|
|
240
|
-
2.2.0
|
241
|
-
|
380
|
+
2.2.0 (2015-10-04)
|
381
|
+
==================
|
242
382
|
|
243
383
|
### Drop ruby 1.8 support
|
244
384
|
|
@@ -279,8 +419,8 @@ Other Changes
|
|
279
419
|
- Add OCI8.charset_name2id and OCI8.charset_id2name.
|
280
420
|
Mark OCI8#charset_name2id and OCI8#charset_id2name as deprecated.
|
281
421
|
|
282
|
-
2.1.8
|
283
|
-
|
422
|
+
2.1.8 (2015-04-04)
|
423
|
+
==================
|
284
424
|
|
285
425
|
New Features
|
286
426
|
------------
|
@@ -340,8 +480,8 @@ Fixed Issues
|
|
340
480
|
- Don't use SYM2ID on ruby 2.2.0 or later not to make symbols unGCable
|
341
481
|
by [Symbol GC](http://www.infoq.com/news/2014/12/ruby-2.2.0-released).
|
342
482
|
|
343
|
-
2.1.7
|
344
|
-
|
483
|
+
2.1.7 (2014-02-02)
|
484
|
+
==================
|
345
485
|
|
346
486
|
New Features
|
347
487
|
------------
|
@@ -353,8 +493,8 @@ Fixed Issues
|
|
353
493
|
|
354
494
|
- Fix OCI8#describe_table to follow synonyms in a remote database.
|
355
495
|
|
356
|
-
2.1.6
|
357
|
-
|
496
|
+
2.1.6 (2013-12-29)
|
497
|
+
==================
|
358
498
|
|
359
499
|
New Features
|
360
500
|
------------
|
@@ -394,8 +534,8 @@ Fixed Issues
|
|
394
534
|
- fix SEGV when one connection is used by more than two threads and temporary
|
395
535
|
lobs are freed by GC.
|
396
536
|
|
397
|
-
2.1.5
|
398
|
-
|
537
|
+
2.1.5 (2013-03-09)
|
538
|
+
==================
|
399
539
|
|
400
540
|
New Features
|
401
541
|
------------
|
@@ -415,8 +555,8 @@ Fixed Issues
|
|
415
555
|
instant client is 11.2.0.3 for Solaris x86 32-bit, the ruby
|
416
556
|
version is 1.9.3 or upper and the ruby is compiled by gcc.
|
417
557
|
|
418
|
-
2.1.4
|
419
|
-
|
558
|
+
2.1.4 (2013-01-06)
|
559
|
+
==================
|
420
560
|
|
421
561
|
New Features
|
422
562
|
------------
|
@@ -456,8 +596,8 @@ Fixed Issues
|
|
456
596
|
|
457
597
|
(reported by Brian Henderson)
|
458
598
|
|
459
|
-
2.1.3
|
460
|
-
|
599
|
+
2.1.3 (2012-11-11)
|
600
|
+
==================
|
461
601
|
|
462
602
|
New Features
|
463
603
|
------------
|
@@ -514,8 +654,8 @@ Fixed Issues
|
|
514
654
|
- Fix #<NoMethodError: undefined method `timezone' for Time:Class>
|
515
655
|
when ruby is less than 1.9.2 and an object type's time attribute is accessed.
|
516
656
|
|
517
|
-
2.1.2
|
518
|
-
|
657
|
+
2.1.2 (2012-04-28)
|
658
|
+
==================
|
519
659
|
|
520
660
|
Specification changes
|
521
661
|
---------------------
|
@@ -536,8 +676,8 @@ Fixed Issues
|
|
536
676
|
|
537
677
|
(reported by Yasuo Honda)
|
538
678
|
|
539
|
-
2.1.1
|
540
|
-
|
679
|
+
2.1.1 (2012-04-22)
|
680
|
+
==================
|
541
681
|
|
542
682
|
New Features
|
543
683
|
------------
|
@@ -584,8 +724,8 @@ Fixed Issues
|
|
584
724
|
|
585
725
|
(repored by Leoš Bitto)
|
586
726
|
|
587
|
-
2.1.0
|
588
|
-
|
727
|
+
2.1.0 (2011-12-13)
|
728
|
+
==================
|
589
729
|
|
590
730
|
New Features
|
591
731
|
------------
|
@@ -700,8 +840,8 @@ Fixed Issues
|
|
700
840
|
|
701
841
|
(reported by jbirdjavi)
|
702
842
|
|
703
|
-
2.0.6
|
704
|
-
|
843
|
+
2.0.6 (2011-06-14)
|
844
|
+
==================
|
705
845
|
|
706
846
|
Fixed issues
|
707
847
|
------------
|
@@ -712,8 +852,8 @@ Fixed issues
|
|
712
852
|
a closed OCI handle's method is called. It was chaned in 2.0.5
|
713
853
|
by mistake.
|
714
854
|
|
715
|
-
2.0.5
|
716
|
-
|
855
|
+
2.0.5 (2011-06-12)
|
856
|
+
==================
|
717
857
|
|
718
858
|
New Features
|
719
859
|
------------
|
@@ -801,8 +941,8 @@ Fixed issues
|
|
801
941
|
|
802
942
|
(reported by Sebastian YEPES)
|
803
943
|
|
804
|
-
2.0.4
|
805
|
-
|
944
|
+
2.0.4 (2010-02-28)
|
945
|
+
==================
|
806
946
|
|
807
947
|
New Features
|
808
948
|
------------
|
@@ -863,8 +1003,8 @@ Fixed issues
|
|
863
1003
|
|
864
1004
|
(reported by Raimonds Simanovskis)
|
865
1005
|
|
866
|
-
2.0.3
|
867
|
-
|
1006
|
+
2.0.3 (2009-10-21)
|
1007
|
+
==================
|
868
1008
|
|
869
1009
|
Incompatible Changes
|
870
1010
|
--------------------
|
@@ -1004,8 +1144,8 @@ Fixed installation issues
|
|
1004
1144
|
|
1005
1145
|
(reported by Kazuya Teramoto)
|
1006
1146
|
|
1007
|
-
2.0.2
|
1008
|
-
|
1147
|
+
2.0.2 (2009-05-17)
|
1148
|
+
==================
|
1009
1149
|
|
1010
1150
|
* add new methods
|
1011
1151
|
- {OCI8#select_one}
|
@@ -1045,8 +1185,8 @@ Fixed installation issues
|
|
1045
1185
|
* [ruby 1.9] fix to bind string data by the length got from String#bytesize
|
1046
1186
|
converted to {OCI8.encoding}, not by String#size.
|
1047
1187
|
|
1048
|
-
2.0.1
|
1049
|
-
|
1188
|
+
2.0.1 (2009-03-17)
|
1189
|
+
==================
|
1050
1190
|
|
1051
1191
|
* release a binary gem for Windows, which contains libraries for both
|
1052
1192
|
ruby 1.8 and ruby 1.9.1.
|