ruby-oci8 1.0.2-i386-mswin32
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/ChangeLog +569 -0
- data/Makefile +51 -0
- data/NEWS +322 -0
- data/README +415 -0
- data/VERSION +1 -0
- data/dist-files +70 -0
- data/doc/api.en.html +527 -0
- data/doc/api.en.rd +554 -0
- data/doc/api.ja.html +525 -0
- data/doc/api.ja.rd +557 -0
- data/doc/manual.css +35 -0
- data/ext/oci8/oci8lib.so +0 -0
- data/lib/DBD/OCI8/OCI8.rb +549 -0
- data/lib/oci8.rb +1605 -0
- data/lib/oci8.rb.in +1605 -0
- data/metaconfig +142 -0
- data/pre-distclean.rb +7 -0
- data/ruby-oci8.gemspec +54 -0
- data/ruby-oci8.spec +62 -0
- data/setup.rb +1331 -0
- data/support/README +4 -0
- data/support/runit/assert.rb +281 -0
- data/support/runit/cui/testrunner.rb +101 -0
- data/support/runit/error.rb +4 -0
- data/support/runit/method_mappable.rb +20 -0
- data/support/runit/robserver.rb +25 -0
- data/support/runit/setuppable.rb +15 -0
- data/support/runit/teardownable.rb +16 -0
- data/support/runit/testcase.rb +113 -0
- data/support/runit/testfailure.rb +25 -0
- data/support/runit/testresult.rb +121 -0
- data/support/runit/testsuite.rb +43 -0
- data/support/runit/version.rb +3 -0
- data/test/README +4 -0
- data/test/config.rb +129 -0
- data/test/test_all.rb +43 -0
- data/test/test_bind_raw.rb +53 -0
- data/test/test_bind_time.rb +191 -0
- data/test/test_break.rb +81 -0
- data/test/test_clob.rb +101 -0
- data/test/test_connstr.rb +80 -0
- data/test/test_dbi.rb +317 -0
- data/test/test_dbi_clob.rb +56 -0
- data/test/test_describe.rb +137 -0
- data/test/test_metadata.rb +243 -0
- data/test/test_oci8.rb +273 -0
- data/test/test_oradate.rb +263 -0
- data/test/test_oranumber.rb +149 -0
- metadata +97 -0
data/ChangeLog
ADDED
@@ -0,0 +1,569 @@
|
|
1
|
+
2008-06-26 KUBO Takehiro <kubo@jiubao.org>
|
2
|
+
* NEWS: add changes between 1.0.1 and 1.0.2.
|
3
|
+
* VERSION: change version to 1.0.2.
|
4
|
+
* Makefile: add targets 'gem' and 'binary_gem' to make pure ruby
|
5
|
+
and binary gems.
|
6
|
+
* ruby-oci8.spec: rename to ruby-oci8.spec.in.
|
7
|
+
* ruby-oci8.spec.in: rename from ruby-oci8.spec and set version
|
8
|
+
string from 'VERSION' file.
|
9
|
+
* ruby-oci8.gemspec: added.
|
10
|
+
* dist-files: add files to ruby-oci8 source packages for gemspec.
|
11
|
+
* test/test_clob.rb: fix to pass tests in a deep directory.
|
12
|
+
|
13
|
+
2008-06-24 KUBO Takehiro <kubo@jiubao.org>
|
14
|
+
* ext/oci8/handle.c: fix a segv bug in gc mark. (Thanks to authorNari)
|
15
|
+
* ext/oci8/oraconf.rb: fix for windows Oracle 11g instant client.
|
16
|
+
* test/config.rb, test/test_bind_raw.rb, test/test_bind_time.rb,
|
17
|
+
test/test_break.rb, test/test_clob.rb, test/test_connstr.rb,
|
18
|
+
test/test_dbi.rb, test/test_dbi_clob.rb, test/test_describe.rb,
|
19
|
+
test/test_metadata.rb, test/test_oci8.rb, test/test_oradate.rb,
|
20
|
+
test/test_oranumber.rb:
|
21
|
+
fix to run tests in directories outside of 'test' directory.
|
22
|
+
|
23
|
+
2008-04-27 KUBO Takehiro <kubo@jiubao.org>
|
24
|
+
* NEWS: add changes between 1.0.0 and 1.0.1.
|
25
|
+
* VERSION: update to 1.0.1.
|
26
|
+
* ext/oci8/extconf.rb: raise error if the ruby is 1.9.
|
27
|
+
* ext/oci8/oraconf.rb: fix for intel mac instant client.
|
28
|
+
|
29
|
+
2008-04-08 KUBO Takehiro <kubo@jiubao.org>
|
30
|
+
* ext/oci8/oraconf.rb: add error messages for the beta
|
31
|
+
version of intel mac oracle instant client. But the production
|
32
|
+
version may not need this.
|
33
|
+
* lib/oci8.rb.in: change the spec of OCI8#exec and OCI8::Cursor#exec.
|
34
|
+
Before this change, the number of rows had been returned
|
35
|
+
only when the SQL statement is update, delete or insert
|
36
|
+
statement. After this, it is returned when the SQL statement
|
37
|
+
is not select statement. For example OCI8#exec had returned
|
38
|
+
true for MERGE statement (pointed by Jim Cain). But now it is
|
39
|
+
the number of rows processed.
|
40
|
+
* ext/oci8/oradate.c, ext/oci8/oranumber.c: fix some (not all) warnings
|
41
|
+
in compilation by HP-UX C compiler.
|
42
|
+
* ext/oci8/stmt.c: fix a compilation warning. iter's type is ub4. It
|
43
|
+
cannot be minus value.
|
44
|
+
|
45
|
+
2008-03-04 KUBO Takehiro <kubo@jiubao.org>
|
46
|
+
* ext/oci8/extconf.rb: output a message to say 'install
|
47
|
+
a ruby development package' when 'mkmf.rb' is not
|
48
|
+
found and the platform is Linux. Both ruby and its
|
49
|
+
development package are required to compile extension
|
50
|
+
libraries on Linux.
|
51
|
+
|
52
|
+
2008-02-17 KUBO Takehiro <kubo@jiubao.org>
|
53
|
+
* test/config.rb, test/test_break.rb, test/test_dbi.rb,
|
54
|
+
test/test_dbi_clob.rb, test/test_metadata.rb, test/test_oci8.rb
|
55
|
+
sleep a few seconds and retry if an attempt to connect to
|
56
|
+
a database server fails and its error code is ORA-12516
|
57
|
+
or ORA-12520 in test cases.
|
58
|
+
|
59
|
+
2008-01-12 KUBO Takehiro <kubo@jiubao.org>
|
60
|
+
* lib/oci8.rb.in: fix OCI8#non_blocking = false problem.
|
61
|
+
Once the connection became non-bocking mode, it could
|
62
|
+
not be reset to blocking mode.
|
63
|
+
(This problem is reported by Cagdas Gerede.)
|
64
|
+
* test/test_break.rb: add a testcase to test the above problem.
|
65
|
+
|
66
|
+
2008-01-12 KUBO Takehiro <kubo@jiubao.org>
|
67
|
+
* ext/oci8/oradate.c, ext/oci8/oranumber.c: fix SEGV bugs.
|
68
|
+
OraDate.new made a core dump on x86_64 linux.
|
69
|
+
(This problem is reported by Alun Eyre.)
|
70
|
+
|
71
|
+
2008-01-04 KUBO Takehiro <kubo@jiubao.org>
|
72
|
+
* ext/oci8/define.c, lib/oci8.rb.in: support cursors in a result
|
73
|
+
set without re-defining the define handle.
|
74
|
+
* test/test_oci8.rb: delete re-defining in a test case for cursors
|
75
|
+
in a result set.
|
76
|
+
|
77
|
+
2007-12-29 KUBO Takehiro <kubo@jiubao.org>
|
78
|
+
* lib/oci8.rb.in: support cursors in a result set. For example:
|
79
|
+
SELECT column1 A, column2 B, CURSOR(SELECT * FROM table2) C
|
80
|
+
FROM table1
|
81
|
+
(contributed by Randy Gordon)
|
82
|
+
* test/test_oci8.rb: add a testcase for cursors in a result set.
|
83
|
+
|
84
|
+
2007-12-23 KUBO Takehiro <kubo@jiubao.org>
|
85
|
+
* ext/oci8/oraconf.rb: fix for official x86_64 rpms.
|
86
|
+
(contributed by Pat.)
|
87
|
+
|
88
|
+
2007-11-25 KUBO Takehiro <kubo@jiubao.org>
|
89
|
+
release as 1.0.0 again.
|
90
|
+
* ext/oci8/stmt.c, test/test_dbi.rb: fix a problem when binding
|
91
|
+
''(empty string) via dbi.
|
92
|
+
|
93
|
+
2007-11-25 KUBO Takehiro <kubo@jiubao.org>
|
94
|
+
* NEWS: add changes between 1.0.0-rc3 and 1.0.0.
|
95
|
+
* VERSION: change version to 1.0.0.
|
96
|
+
* dist-files: add test/test_metadata.rb.
|
97
|
+
* lib/DBD/OCI8/OCI8.rb, lib/oci8.rb.in, test/test_metadata.rb:
|
98
|
+
rename OCI8::Metadata::Column#is_null? to
|
99
|
+
OCI8::Metadata::Column#nullable?.
|
100
|
+
* test/test_oci8.rb: add asserts binding Nan, +Infinity and
|
101
|
+
-Inifinty.
|
102
|
+
|
103
|
+
2007-11-18 KUBO Takehiro <kubo@jiubao.org>
|
104
|
+
* lib/DBD/OCI8/OCI8.rb: add StatementHandle#column_info.
|
105
|
+
refine DatabaseHandle#columns.
|
106
|
+
* test/test_dbi.rb: add a testcase for StatementHandle#column_info
|
107
|
+
and DatabaseHandle#columns.
|
108
|
+
|
109
|
+
2007-11-17 KUBO Takehiro <kubo@jiubao.org>
|
110
|
+
* ext/oci8/error.c: add OCIError#initialize(msg, code = nil).
|
111
|
+
* lib/oci8.rb.in: add OCI8#describe_table(table_name),
|
112
|
+
OCI8::Metadata::Table and OCI8::Metadata::View.
|
113
|
+
* test/test_metadata.rb: fix test_metadata for OCI8#describe_table.
|
114
|
+
add test_error_describe_table.
|
115
|
+
|
116
|
+
2007-11-17 KUBO Takehiro <kubo@jiubao.org>
|
117
|
+
* lib/oci8.rb.in: OCI8::Cursor#fetch_hash accepts a block now.
|
118
|
+
OCI8#commit and OCI8#rollback return self now. They had returned
|
119
|
+
an OCISvcCtx which is internally used.
|
120
|
+
* test/test_oci8.rb: add a test for fetch_hash with a block.
|
121
|
+
* ext/oci8/oci8.h: fix a potential bug.
|
122
|
+
http://rubyforge.org/forum/forum.php?thread_id=19213&forum_id=1078
|
123
|
+
* ext/oci8/attr.c: fix signedness. Logically this won't be related with
|
124
|
+
the following URL's problem. But there is a few possibility.
|
125
|
+
http://rubyforge.org/forum/forum.php?thread_id=15158&forum_id=1078
|
126
|
+
|
127
|
+
2007-11-16 KUBO Takehiro <kubo@jiubao.org>
|
128
|
+
* lib/oci8.rb.in: add OCI8::Cursor#column_metadata and a new class
|
129
|
+
OCI8::Metadata::Column.
|
130
|
+
* test/test_all.rb, test/test_metadata.rb: add testcases for
|
131
|
+
OCI8::Metadata::Column.
|
132
|
+
|
133
|
+
2007-11-16 KUBO Takehiro <kubo@jiubao.org>
|
134
|
+
* ext/oci8/ocinumber.c, test/test_oci8.rb: fix a BUG to bind
|
135
|
+
Bignum. This bug was added in ruby-oci8 1.0.0-rc2.
|
136
|
+
|
137
|
+
2007-11-11 KUBO Takehiro <kubo@jiubao.org>
|
138
|
+
* test/config.rb, test/test_dbi.rb, test/test_describe.rb,
|
139
|
+
test/test_oci8.rb: add 'purge' option to 'drop table' statement
|
140
|
+
when Oracle 10g or upper.
|
141
|
+
* ext/oci8/bind.c, ext/oci8/const.c, ext/oci8/oci8.h, ext/oci8/stmt.c,
|
142
|
+
lib/oci8.rb.in, test/test_oci8.rb: add OCI8::BindType::BinaryDouble
|
143
|
+
when SQLT_BDOUBLE is defined.
|
144
|
+
|
145
|
+
2007-10-14 KUBO Takehiro <kubo@jiubao.org>
|
146
|
+
* ext/oci8/oraconf.rb: fix for FreeBSD oracle8-client port.
|
147
|
+
Not all tests are passed on FreeBSD yet.
|
148
|
+
|
149
|
+
2007-10-11 KUBO Takehiro <kubo@jiubao.org>
|
150
|
+
* lib/DBD/OCI8/OCI8.rb: add DatabaseHandle#columns for DBI.
|
151
|
+
(suggested by Venkat Pa)
|
152
|
+
|
153
|
+
2007-10-11 KUBO Takehiro <kubo@jiubao.org>
|
154
|
+
* lib/DBD/OCI8/OCI8.rb: fix external OS authentication.
|
155
|
+
I applied Dan Fitch's patch to improper location.
|
156
|
+
|
157
|
+
2007-07-03 KUBO Takehiro <kubo@jiubao.org>
|
158
|
+
* lib/DBD/OCI8/OCI8.rb: fix for external OS authentication.
|
159
|
+
(contributed by Dan Fitch)
|
160
|
+
|
161
|
+
2007-07-01 KUBO Takehiro <kubo@jiubao.org>
|
162
|
+
* NEWS: add changes between 1.0.0-rc2 and 1.0.0-rc3.
|
163
|
+
* VERSION: change version to 1.0.0-rc3.
|
164
|
+
* ext/oci8/oraconf.rb: fix a problem to compile with a
|
165
|
+
third-party x86_64 rpm package. '--with-instant-client'
|
166
|
+
option become obsolete and is ignored.
|
167
|
+
* test/test_oci8.rb: skip test_binary_float test when the testing
|
168
|
+
server version is 9i or earlier.
|
169
|
+
|
170
|
+
2007-06-26 KUBO Takehiro <kubo@jiubao.org>
|
171
|
+
* lib/oci8.rb.in: add external OS authentication. (suggested by Dan Fitch)
|
172
|
+
conn = OCI8.new('/')
|
173
|
+
or
|
174
|
+
conn = OCI8.new(nil, nil)
|
175
|
+
* test/test_connstr.rb: fix a testcase for external OS authentication.
|
176
|
+
|
177
|
+
2007-06-23 KUBO Takehiro <kubo@jiubao.org>
|
178
|
+
* ext/oci8/oraconf.rb: read a shared library's ELF header to
|
179
|
+
check what cpu is it for. (linux x86, x86_64 and ia64 only)
|
180
|
+
|
181
|
+
2007-06-05 KUBO Takehiro <kubo@jiubao.org>
|
182
|
+
* ext/oci8/oraconf.rb: use 'File.exist?' instead of deprecated
|
183
|
+
method 'File.exists?'.
|
184
|
+
* lib/oci8.rb.in: fix to bind an OCI8::NCLOB value on Oralce 9i.
|
185
|
+
add a mapping to fetch a timestamp column value as an OraDate.
|
186
|
+
|
187
|
+
2007-05-18 KUBO Takehiro <kubo@jiubao.org>
|
188
|
+
* ext/oci8/oraconf.rb: fix for Oracle 11g.
|
189
|
+
|
190
|
+
2007-05-17 KUBO Takehiro <kubo@jiubao.org>
|
191
|
+
* ext/oci8/oraconf.rb: add the output of sqlplus to mkmf.log
|
192
|
+
|
193
|
+
2007-04-22 KUBO Takehiro <kubo@jiubao.org>
|
194
|
+
* ext/oci8/error.c: fix errors when compiled by gcc-4.1.
|
195
|
+
* NEWS: fix typo.
|
196
|
+
|
197
|
+
2007-04-22 KUBO Takehiro <kubo@jiubao.org>
|
198
|
+
* NEWS: add changes between 1.0.0-rc2 and 0.1.16
|
199
|
+
* ruby-oci8.spec: fix hardcoded sitearch dir.
|
200
|
+
* VERSION: change version to 1.0.0-rc2
|
201
|
+
* ext/oci8/extconf.rb, ext/oci8/lob.c: check whether
|
202
|
+
OCILobCreateTemporary is available.
|
203
|
+
* dist-files: add test/test_connstr.rb.
|
204
|
+
|
205
|
+
2007-04-21 KUBO Takehiro <kubo@jiubao.org>
|
206
|
+
* ext/oci8/error.c, ext/oci8/oci8.h: add the error line number
|
207
|
+
in C code to OCIException's backtrace.
|
208
|
+
|
209
|
+
2007-04-19 KUBO Takehiro <kubo@jiubao.org>
|
210
|
+
* lib/oci8.rb.in: add OCI8::NCLOB and add new method to bind
|
211
|
+
CLOB/NCLOB/BLOB.
|
212
|
+
* ext/oci8/lob.c: add OCILobLocator#create_temporary.
|
213
|
+
* test/test_oci8.rb: add two testcases for BINARY_FLOAT and
|
214
|
+
CLOB/NCLOB/BLOB.
|
215
|
+
|
216
|
+
2007-04-18 KUBO Takehiro <kubo@jiubao.org>
|
217
|
+
* ext/oci8/bind.c, ext/oci8/handle.c, ext/oci8/oci8.h, ext/oci8/stmt.c
|
218
|
+
lib/oci8.rb.in: change the internal structure to enable
|
219
|
+
OCIBind#set(anOCIHandle).
|
220
|
+
|
221
|
+
2007-04-17 KUBO Takehiro <kubo@jiubao.org>
|
222
|
+
* ext/oci8/attr.c, ext/oci8/lob.c, lib/oci8.rb.in: fix a problem
|
223
|
+
when reading NCLOB.
|
224
|
+
(This problem is reported by Dmitry Zadvornykh.)
|
225
|
+
* lib/oci8.rb.in: fix a probmen when fetching BINARY_FLOAT.
|
226
|
+
(This problem is reported by Duncan McCaffery.)
|
227
|
+
|
228
|
+
2007-04-16 KUBO Takehiro <kubo@jiubao.org>
|
229
|
+
* ruby-oci8.spec: add a rpm spec file. (contributed by Brian Candler)
|
230
|
+
* dist-files: add ruby-oci8.spec.
|
231
|
+
* ext/oci8/oraconf.rb: fix for oracle 8.x and gcc on AIX.
|
232
|
+
|
233
|
+
2007-02-14 Oracle Corporation (commited by KUBO Takehiro <kubo@jiubao.org>)
|
234
|
+
* lib/oci8.rb.in: add a private method parse_connect_string to support
|
235
|
+
"username/password[@(tns_name|//host[:port]/service_name)][ as (sysdba|sysoper)]".
|
236
|
+
* test/test_connstr.rb: add test cases for parse_connect_string.
|
237
|
+
* test/test_all.rb: call test cases for parse_connect_string.
|
238
|
+
|
239
|
+
2007-01-28 KUBO Takehiro <kubo@jiubao.org>
|
240
|
+
* ext/oci8/oci8.h: add TO_ORATEXT, TO_CHARPTR and RSTRING_ORATEXT
|
241
|
+
macros to suppress 'differ in signedness' warinings.
|
242
|
+
* ext/oci8/attr.c, ext/oci8/bind.c, ext/oci8/error.c, ext/oci8/lob.c,
|
243
|
+
ext/oci8/ocinumber.c, ext/oci8/oranumber.c, ext/oci8/server.c,
|
244
|
+
ext/oci8/stmt.c: use TO_ORATEXT, TO_CHARPTR and RSTRING_ORATEXT
|
245
|
+
macros to suppress 'differ in signedness' warinings.
|
246
|
+
|
247
|
+
2007-01-20 KUBO Takehiro <kubo@jiubao.org>
|
248
|
+
* lib/oci8.rb.in: don't call OCIEnv.create when initializing.
|
249
|
+
* release as 1.0.0-rc1.
|
250
|
+
|
251
|
+
2007-01-19 KUBO Takehiro <kubo@jiubao.org>
|
252
|
+
* ext/oci8/oraconf.rb: fix bugs on windows created by the previous commit.
|
253
|
+
|
254
|
+
2007-01-08 KUBO Takehiro <kubo@jiubao.org>
|
255
|
+
* ext/oci8/oraconf.rb: check whether Full Client or Instant Client by checking
|
256
|
+
load library path.
|
257
|
+
|
258
|
+
2007-01-03 KUBO Takehiro <kubo@jiubao.org>
|
259
|
+
* ext/oci8/env.c: raise "OCI Library Initialization Error" message
|
260
|
+
if no message can not be retrieved while OCIEnv.create.
|
261
|
+
* ext/oci8/oraconf.rb, ext/oci8/extconf.rb: refactor oraconf.rb.
|
262
|
+
* lib/oci8.rb.in: don't raise OCIError on requireing oci8. raise
|
263
|
+
the error when connecting to the Oracle. (for active record)
|
264
|
+
|
265
|
+
2006-12-09 KUBO Takehiro <kubo@jiubao.org>
|
266
|
+
* ext/oci8/env.c, ext/oci8/handle.c, ext/oci8/oci8.c, ext/oci8/oci8.h,
|
267
|
+
ext/oci8/stmt.c: add OCIFileLocator.
|
268
|
+
* ext/oci8/lob.c: fix OCILobLocator#open to accept a second argument.
|
269
|
+
add OCIFileLocator#name, OCIFileLocator#set_name and
|
270
|
+
OCIFileLocator#exists?
|
271
|
+
* ext/oci8/svcctx.c: add OCISvcCtx#close_all_files.
|
272
|
+
* lib/oci8.rb.in: add OCI8::BFILE and OCI8::BindType::BFILE.
|
273
|
+
|
274
|
+
2006-12-05 KUBO Takehiro <kubo@jiubao.org>
|
275
|
+
* ext/oci8/attr.c, ext/oci8/bind.c, ext/oci8/error.c, ext/oci8/oci8.h,
|
276
|
+
ext/oci8/ocinumber.c, ext/oci8/oradate.c, ext/oci8/oranumber.c,
|
277
|
+
ext/oci8/stmt.c: use RSTRING_LEN, RSTRING_PTR, RARRAY_LEN and RARRAY_PTR
|
278
|
+
macros.
|
279
|
+
|
280
|
+
2006-11-18 KUBO Takehiro <kubo@jiubao.org>
|
281
|
+
* ext/oci8/oraconf.rb: add check code whether oci.h exists.
|
282
|
+
|
283
|
+
2006-08-20 KUBO Takehiro <kubo@jiubao.org>
|
284
|
+
* ext/oci8/oraconf.rb: add error code for intel mac.
|
285
|
+
* NEWS: add a new file.
|
286
|
+
|
287
|
+
2006-08-18 KUBO Takehiro <kubo@jiubao.org>
|
288
|
+
* ext/oci8/oradate.c: add OraDate.hash().
|
289
|
+
* ext/oci8/oranumber.c: OraNumber.new() now accepts a String.
|
290
|
+
* lib/oci8.rb.in: add YAML support for OraDate and OraNumber.
|
291
|
+
* test/test_oranumber.rb: add testcases for OraNumber.new(aString).
|
292
|
+
|
293
|
+
2006-08-17 KUBO Takehiro <kubo@jiubao.org>
|
294
|
+
* ext/oci8/oci8.h, ext/oci8/bind.c, ext/oci8/stmt.c:
|
295
|
+
Use long instead of int to bind Fixnum.
|
296
|
+
http://rubyforge.org/forum/forum.php?thread_id=7955&forum_id=1078
|
297
|
+
|
298
|
+
2006-08-03 KUBO Takehiro <kubo@jiubao.org>
|
299
|
+
* lib/oci8.rb.in: add a workaround code on cygwin version.
|
300
|
+
Cygwin manages environment variables by itself. They don't
|
301
|
+
synchroize with Win32's ones. set some Oracle's environment
|
302
|
+
variables to win32.
|
303
|
+
|
304
|
+
2006-07-29 KUBO Takehiro <kubo@jiubao.org>
|
305
|
+
* ext/oci8/oradate.c: add OraDate#dup, OraDate#clone, OraDate#_dump
|
306
|
+
and OraDate._load.
|
307
|
+
* ext/oci8/oranumber.c: add OraNumber#dup, OraNumber#clone,
|
308
|
+
OraNumber#_dump and OraNumber._load.
|
309
|
+
* test/test_oradate.rb: add tests for OraDate#dup, OraDate#clone,
|
310
|
+
OraDate#_dump and OraDate._load.
|
311
|
+
* test/test_oranumber.rb: add tests for OraNumber#dup,
|
312
|
+
OraNumber#clone, OraNumber#_dump and OraNumber._load.
|
313
|
+
* test/test_dbi.rb, test/test_oci8.rb, ext/oci8/oraconf.rb,
|
314
|
+
ext/oci8/extconf.rb, lib/oci8.rb.in, ext/oci8/ocinumber.c:
|
315
|
+
fix for ruby 1.6.
|
316
|
+
|
317
|
+
2006-07-21 KUBO Takehiro <kubo@jiubao.org>
|
318
|
+
* ext/oci8/oci8.h, ext/oci8/bind.c, ext/oci8/stmt.c, lib/oci8.rb.in:
|
319
|
+
Support LONG and LONG RAW longer than 65535 bytes.
|
320
|
+
Add OCI8#long_read_len and OCI8#long_read_len= to set max long
|
321
|
+
length.
|
322
|
+
* ext/oci8/oraconf.rb: fix typo.
|
323
|
+
|
324
|
+
2006-07-20 KUBO Takehiro <kubo@jiubao.org>
|
325
|
+
* ext/oci8/oci8.c, ext/oci8/env.c: move workaround code for
|
326
|
+
instant client environment variable problem from
|
327
|
+
ext/oci8/oci8.c to ext/oci8/env.c.
|
328
|
+
* ext/oci8/oraconf.rb: check a c develop file when linux.
|
329
|
+
* VERSION, Makefile, ext/oci8/extconf.rb: read version string from
|
330
|
+
the VERSION file.
|
331
|
+
* lib/oci8.rb.in: use OCIEnv.create when it exists.
|
332
|
+
|
333
|
+
2006-04-23 KUBO Takehiro <kubo@jiubao.org>
|
334
|
+
* ext/oci8/extconf.rb: disable OCIServerRelease checking.
|
335
|
+
That's because mswin32 binary is for 8.1 or later, but 8.1.5
|
336
|
+
doesn't have OCIServerRelease.
|
337
|
+
* ext/oci8/oci8.c: call ruby_setenv on loading oci8lib.so. This is
|
338
|
+
a workaround for the following problem: OCIInitialize()
|
339
|
+
implicitly set environment variables. But is make environment
|
340
|
+
variables invalid when setting $0.
|
341
|
+
* ext/oci8/oraconf.rb: fix for OracleXE windows version. OracleXE's
|
342
|
+
registry path is \\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_XE.
|
343
|
+
|
344
|
+
2006-04-23 KUBO Takehiro <kubo@jiubao.org>
|
345
|
+
* Makefile: change version to 0.1.15.
|
346
|
+
* README: add note for Intel Mac.
|
347
|
+
* ext/oci8/extconf.rb: change version to 0.1.15.
|
348
|
+
|
349
|
+
2006-04-05 KUBO Takehiro <kubo@jiubao.org>
|
350
|
+
* ext/oci8/attr.c: Fix segmentation fault while GC runs at exit.
|
351
|
+
It was caused by freeing OCIEnv before freeing OCIRowid.
|
352
|
+
Now when freeing OCIEnv, OCIRowid is freed in advance.
|
353
|
+
* ext/oci8/const.c, ext/oci8/handle.c, ext/oci8/oci8.h, ext/oci8/stmt.c:
|
354
|
+
Fix a memory leak when binding a placeholder which is already
|
355
|
+
bound. In C layer, bind handles were registered to an Array.
|
356
|
+
There is no chance to unregister it except closing Cursor.
|
357
|
+
Now bind handles are registered to a Hash. When already bound
|
358
|
+
placeholder is bound, the old bind handle is unregistered.
|
359
|
+
* lib/oci8.rb.in: initialize @prefetch_rows.
|
360
|
+
|
361
|
+
2006-03-05 KUBO Takehiro <kubo@jiubao.org>
|
362
|
+
* ext/oci8/oraconf.rb: add check_ruby_header to warn when
|
363
|
+
broken darwin ruby.
|
364
|
+
add export #{ld_path} in check_instant_client().
|
365
|
+
|
366
|
+
2006-02-26 KUBO Takehiro <kubo@jiubao.org>
|
367
|
+
release as 0.1.14.
|
368
|
+
* ext/oci8/const.c: add OCI_PTYPE_UNK.
|
369
|
+
|
370
|
+
2006-02-25 KUBO Takehiro <kubo@jiubao.org>
|
371
|
+
* Makefile: change version to 0.1.14.
|
372
|
+
* ext/oci8/bind.c: fix to accept OCIBind#set(aNumeric).
|
373
|
+
* ext/oci8/extconf.rb: change version to 0.1.14.
|
374
|
+
fix to compile ocinumber.c also.
|
375
|
+
* ext/oci8/oci8.h: add set_oci_vnumber() prototype.
|
376
|
+
* ext/oci8/ocinumber.c: add a new file for set_oci_vnumber().
|
377
|
+
* lib/oci8.rb.in: setup OCI environment as an object mode.
|
378
|
+
|
379
|
+
2006-02-17 KUBO Takehiro <kubo@jiubao.org>
|
380
|
+
* README: fix documentation bug.
|
381
|
+
* ext/oci8/attr.c: add attrGet(OCI_ATTR_SERVER) and attrSet(OCI_ATTR_DESC_PUBLIC, -1).
|
382
|
+
* ext/oci8/env.c: delete code to register malloc/realloc/free callbacks.
|
383
|
+
* ext/oci8/handle.c: free memory by calling xfree(), not by free()
|
384
|
+
in oci8_handle_cleanup().
|
385
|
+
* lib/oci8.rb.in: use OCIEnv#logon for non-privilege login.
|
386
|
+
add OCI8#prefetch_rows= and OCI8::Cursor#prefetch_rows=.
|
387
|
+
use @srv instead of @svc in OCI8#non_blocking= for
|
388
|
+
non-privilege login.
|
389
|
+
* lib/DBD/OCI8/OCI8.rb: fix to work with ruby-oci8 0.1 and ruby-oci8 0.2 either.
|
390
|
+
|
391
|
+
2005-10-15 KUBO Takehiro <kubo@jiubao.org>
|
392
|
+
* ext/oci8/handle.c: fix memory leaks. 700k per 10000 queries.
|
393
|
+
fixed by Nathaniel Talbott. Thank you!
|
394
|
+
* ext/oci8/oraconf.rb: add -R to linker on Solaris and Linux.
|
395
|
+
http://rubyforge.org/tracker/index.php?func=detail&aid=2148&group_id=256&atid=1051
|
396
|
+
* lib/oci8.rb.in: add DateTime suppport. suggested by Daniel Berger.
|
397
|
+
* test/test_dbi.rb, test/test_oci8.rb: testcases for DateTime.
|
398
|
+
* test/test_oradate.rb: delete an unsuccessfull testcase, which depends on libc implementation.
|
399
|
+
* README: add bind-types.
|
400
|
+
* Makefile, ext/oci8/extconf.rb: change version to 0.1.13.
|
401
|
+
|
402
|
+
2005-07-20 KUBO Takehiro <kubo@jiubao.org>
|
403
|
+
* README: rewrite.
|
404
|
+
* ext/oci8/oraconf.rb: 1. try $libs which works on many cases then
|
405
|
+
get from demo_rdbms.mk. 2. don't read sysliblist when instant client.
|
406
|
+
3. rewrie OraConf#check_lp64().
|
407
|
+
* Makefile, ext/oci8/extconf.rb: change version to 0.1.12.
|
408
|
+
|
409
|
+
2005-07-16 KUBO Takehiro <kubo@jiubao.org>
|
410
|
+
* metaconfig: move "require 'base64'" and "require 'zlib'" to the
|
411
|
+
next line of "def get_zcontent(file)" for a ruby which doesn't
|
412
|
+
have 'zlib'.
|
413
|
+
|
414
|
+
2005-05-31 KUBO Takehiro <kubo@jiubao.org>
|
415
|
+
* ext/oci8/oraconf.rb: fix for cygwin. fix for oracle instant client.
|
416
|
+
* metaconfig: add distbin task.
|
417
|
+
|
418
|
+
2005-05-29 KUBO Takehiro <kubo@jiubao.org>
|
419
|
+
* lib/oci8.rb.in: add OCI8::BindType::Mapping[:number_unknown_prec]
|
420
|
+
and OCI8::BindType::Mapping[:number_no_prec_setting].
|
421
|
+
* ext/oci8/oraconf.rb: copy from oraconf.rb of ruby-oci8 0.2.
|
422
|
+
* ext/oci8/lob.c: delete OCILobLocator#getChunkSize on Oracle 8.0.
|
423
|
+
use OCILobAssign() instead of OCILobLocatorAssign() on Oracle 8.0.
|
424
|
+
* ext/oci8/extconf.rb: add have_func("OCILobGetChunkSize") and
|
425
|
+
have_func("OCILobLocatorAssign") for Oracle 8.0.
|
426
|
+
* Makefile, ext/oci8/extconf.rb: change version to 0.1.11
|
427
|
+
* README: add '5. How to customize fetched datatypes.'
|
428
|
+
|
429
|
+
2005-03-24 KUBO Takehiro <kubo@jiubao.org>
|
430
|
+
* branch as oci8-0-1.
|
431
|
+
* oci8.rb.in: fix bug on binding Time or Date.
|
432
|
+
* Makefile, ext/oci8/extconf.rb: change version to 0.1.10.1
|
433
|
+
|
434
|
+
2005-03-23 KUBO Takehiro <kubo@jiubao.org>
|
435
|
+
* oci8.rb.in, OCI8.rb:
|
436
|
+
delete OCI8.register_type_fixer, OCI8::TypeFixer.
|
437
|
+
add OCI8::BindType::* instead.
|
438
|
+
|
439
|
+
2005-03-21 KUBO Takehiro <kubo@jiubao.org>
|
440
|
+
* oci8.rb.in, OCI8.rb: refactoring OCI8::Cursor#define_a_column
|
441
|
+
* Makefile, ext/oci8/extconf.rb: change version to 0.1.10
|
442
|
+
|
443
|
+
2005-03-20 KUBO Takehiro <kubo@jiubao.org>
|
444
|
+
* ext/oci8/stmt.c, lib/oci8.rb.in, lib/DBD/OCI8/OCI8.rb, test/test_dbi.rb:
|
445
|
+
enable DATE to be bound as a DBI::Date or a DBI::Timestamp.
|
446
|
+
|
447
|
+
2005-03-20 KUBO Takehiro <kubo@jiubao.org>
|
448
|
+
* ext/oci8/stmt.c, lib/oci8.rb.in, test/test_oci8.rb:
|
449
|
+
bind a ref cursor as an OCI8::Cursor.
|
450
|
+
apply a patch at <URL:http://rubyforge.org/tracker/index.php?func=detail&aid=1409&group_id=256&atid=1053>.
|
451
|
+
|
452
|
+
2005-01-16 KUBO Takehiro <kubo@jiubao.org>
|
453
|
+
|
454
|
+
* lib/oci8.rb.in: change default bindtype for NUMBER with
|
455
|
+
unspecified scale.
|
456
|
+
(This problem is reported by William Lawson, Dmitry Maksyoma and Andreas Habel)
|
457
|
+
* lib/oci8.rb.in: add OCI8::Cursor.select_number_as=
|
458
|
+
(for someone who want old bindtype)
|
459
|
+
* lib/oci8.rb.in: add OCI8::Cursor#fetch_hash
|
460
|
+
(contributed by Jason Sweat)
|
461
|
+
* ext/oci8/oci8.h, ext/oci8/stmt.c: don't raise an error when OCI_SUCCESS_WITH_INFO.
|
462
|
+
(suggested by Kenji Nishishiro)
|
463
|
+
* ext/ooi8/oraconf.rb: support Oracle Instant Installer.
|
464
|
+
(suggested by Eustaquio Rangel de Oliveira Jr.)
|
465
|
+
* Makefile, ext/oci8/extconf.rb: change version to 0.1.9
|
466
|
+
|
467
|
+
2004-10-30 KUBO Takehiro <kubo@jiubao.org>
|
468
|
+
|
469
|
+
* pre-distclean.rb: delete a temporary file made by ext/oci8/oraconf.rb.
|
470
|
+
* ext/oci8/oraconf.rb: 1. change object files to an archive file
|
471
|
+
to work around on Oracle 8.1.7. 2. raise error when OCI.H can't
|
472
|
+
be found on Windows.
|
473
|
+
|
474
|
+
2004-06-21 KUBO Takehiro <kubo@jiubao.org>
|
475
|
+
|
476
|
+
* Makefile, ext/oci8/extconf.rb: change version to 0.1.8-pre1
|
477
|
+
* lib/DBD/OCI8/OCI8.rb: add DBI::DatabaseHandle#tables. add DBI::StatementHandle#func(:bind_value, ...).
|
478
|
+
|
479
|
+
2004-03-07 KUBO Takehiro <kubo@jiubao.org>
|
480
|
+
|
481
|
+
* ext/oci8/extconf.rb: fix to use setup.rb.
|
482
|
+
* ext/oci8/oraconf.rb: add support Borland C++ Builder.
|
483
|
+
* lib/oci8.rb.in: support OCI8::CLOB.
|
484
|
+
* test/config.rb: CLOB test file depends on NLS_LANG.
|
485
|
+
* test/test_oci8.rb: fix a test method.
|
486
|
+
* test/test_break.rb: break time depends on OS?...
|
487
|
+
* test/test_dbi_clob.rb: add a new file to test CLOB via DBI.
|
488
|
+
|
489
|
+
2003-09-20 KUBO Takehiro <kubo@jiubao.org>
|
490
|
+
|
491
|
+
* src/handle.c: fix bug of OCI8::BLOB at running GC.
|
492
|
+
* src/stmt.c: accept Bignum as (({type})) of OCI8::Cursor#define.
|
493
|
+
* src/lib/oci8.rb.in: accept OCI8::BLOB as (({type})) of OCI8::Cursor#define.
|
494
|
+
* src/lib/DBD/OCI8/OCI8.rb: add (({define})) function to DBD::OCI8.
|
495
|
+
* src/oranumber.c, src/oci8.h: use rb_cstr_to_dbl instead of strtod for ruby 1.8.
|
496
|
+
* support/runit/cui/testrunner.rb, support/runit/testcase.rb: fix for ruby 1.8.
|
497
|
+
* test/test_dbi.rb: add a test method.
|
498
|
+
* test/test_oci8.rb: fix a test method.
|
499
|
+
|
500
|
+
2003-08-03 KUBO Takehiro <kubo@jiubao.org>
|
501
|
+
|
502
|
+
* Makefile: update version to 0.1.5
|
503
|
+
* MANIFEST: add test/test_oci8.rb
|
504
|
+
* src/lib/oci8.rb.in: implement OCI8::Cursor#define, OraDate#to_time and OraDate#to_date.
|
505
|
+
* test/test_oci8.rb: add new tests of OCI8::Cursor#define.
|
506
|
+
* test/test_oradate.rb: add new tests of OraDate#to_time and OraDate#to_date.
|
507
|
+
* test/test_all.rb: call test_oci8.rb.
|
508
|
+
|
509
|
+
2003-07-20 KUBO Takehiro <kubo@jiubao.org>
|
510
|
+
|
511
|
+
* src/stmt.c: When the error "ORA-01000: maximum open cursors
|
512
|
+
exceeded" happens, run garbage collect to close unused cursors
|
513
|
+
and retry automatically.
|
514
|
+
|
515
|
+
2003-06-07 KUBO Takehiro <kubo@jiubao.org>
|
516
|
+
|
517
|
+
* Makefile: update version to 0.1.4
|
518
|
+
* src/lob.c: add OCILobLocator#clone()
|
519
|
+
* src/bind.c, src/stmt.c, src/lib/oci8.rb.in: fix BLOB support.
|
520
|
+
* src/lib/DBD/OCI8/OCI8.rb: set the backtrace of an original exception
|
521
|
+
to newly created DBI exception.
|
522
|
+
* src/oraconf.rb: retry get_libs with postfix '32' when compilation
|
523
|
+
failed with Oracle 9i on Solaris.
|
524
|
+
* src/oradate.c: add OraDate#<=> and include 'Comparable'.
|
525
|
+
(contributed by Brian Candler)
|
526
|
+
* test/test_oradate.rb: add test cases of OraDate#<=>.
|
527
|
+
|
528
|
+
2003-04-27 KUBO Takehiro <kubo@jiubao.org>
|
529
|
+
|
530
|
+
* Makefile: update version to 0.1.3
|
531
|
+
* doc/api.*.rd, doc/api.*.html: update document.
|
532
|
+
* src/lob.c: add new LOB APIs.
|
533
|
+
* src/lib/oci8.rb.in: add BLOB support.
|
534
|
+
* src/lib/DBD/OCI8/OCI8.rb: add 'NonBlocking' support(suggested by Brian Candler).
|
535
|
+
raise subclass of DBI::DatabaseError, which depends on its error code.
|
536
|
+
|
537
|
+
2003-03-08 KUBO Takehiro <kubo@jiubao.org>
|
538
|
+
|
539
|
+
* Makefile: update version to 0.1.2
|
540
|
+
* src/extconf.rb: use Oraconf#cc_is_gcc.
|
541
|
+
* src/oraconf.rb: support Solaris with gcc.
|
542
|
+
* src/handle.c: suppress warning about uninitialized instance variables.
|
543
|
+
* src/oranumber.c, test/test_oranumber.rb: fix serious bug of
|
544
|
+
conversion routine from Oracle internal number format to string.
|
545
|
+
|
546
|
+
2003-02-01 KUBO Takehiro <kubo@jiubao.org>
|
547
|
+
|
548
|
+
* Makefile: update version to 0.1.1.
|
549
|
+
* src/oraconf.rb: added. Oracle specific features were moved from
|
550
|
+
src/extconf.rb, src/extunix.rb and src/extwin32.rb
|
551
|
+
* src/extunix.rb, src/extwin32.rb: deleted.
|
552
|
+
* src/extconf.rb: use oraconf.rb.
|
553
|
+
* src/error.c, src/oci8.h: use macro RBOCI_NORETURN not NORETURN.
|
554
|
+
* MANIFEST, Makefile: fix for added and deleted files.
|
555
|
+
|
556
|
+
2002-09-12 KUBO Takehiro <kubo@jiubao.org>
|
557
|
+
|
558
|
+
* Makefile: update version to 0.1.0.
|
559
|
+
* README: support cygwin and mingw32.
|
560
|
+
* test/test_oradate.rb: delete test_now().
|
561
|
+
* src/extconf.rb: support mingw32.
|
562
|
+
|
563
|
+
2002-09-12 Hitoshi Endoh <h-endoh@mbf.nifty.com>
|
564
|
+
|
565
|
+
* src/extwin32.rb: support cygwin.
|
566
|
+
|
567
|
+
2002-09-12 KUBO Takehiro <kubo@jiubao.org>
|
568
|
+
|
569
|
+
* ChangeLog: Added.
|