ruby-oci8 2.0.4 → 2.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,6 +1,163 @@
1
+ 2011-06-12 KUBO Takehiro <kubo@jiubao.org>
2
+ * NEWS: add changes between 2.0.4 and 2.0.5.
3
+ * VERSION: change the version to 2.0.5.
4
+
5
+ 2011-06-12 KUBO Takehiro <kubo@jiubao.org>
6
+ * ext/oci8/oci8lib.c: add __declspec(dllexport) to Init_oci8lib(). The mingw32
7
+ gcc compiler doesn't export functions without it if more than one function
8
+ is declared with it.
9
+ * ext/oci8/oraconf.rb: work around for rubinius 1.2.3, which doesn't support
10
+ Array#pack('P').
11
+ * lib/oci8/oci8.rb: fix a bug introduced by the previous commit.
12
+ * ext/oci8/env.c, ext/oci8/extconf.rb, ext/oci8/oci8.c, ext/oci8/oci8.h,
13
+ ext/oci8/oci8lib.c: Use HAVE_RB_THREAD_BLOCKING_REGION instead of
14
+ HAVE_TYPE_RB_BLOCKING_FUNCTION_T. have_type("rb_blocking_function_t", "ruby.h")
15
+ unexpectedly doesn't work on Visual Studio 2010.
16
+
17
+ 2011-06-10 KUBO Takehiro <kubo@jiubao.org>
18
+ * ext/oci8/apiwrap.yml, lib/oci8/oci8.rb: fix for Psych YAML library.
19
+ * ext/oci8/extconf.rb, ext/oci8/oci8.h, ext/oci8/ocihandle.c: fix to
20
+ work with ruby 1.9.3dev.
21
+
22
+ 2011-06-10 KUBO Takehiro <kubo@jiubao.org>
23
+ * ext/oci8/oci8.c: prevent GC on failed-logon connections from freeing
24
+ alive connections when the service context handle addresses are
25
+ accidentally same.
26
+ * ext/oci8/ocidatetime.c: raise "OCIError: ORA-01805: possible error in
27
+ date/time operation" when Oracle 11gR2's client and server timezone versions
28
+ are not same instead of raising a exception "undefined method `*' for
29
+ nil:NilClass." This is a temporary fix.
30
+ See: http://rubyforge.org/forum/forum.php?thread_id=49102&forum_id=1078
31
+
32
+ 2011-06-10 KUBO Takehiro <kubo@jiubao.org>
33
+ * ext/oci8/env.c, ext/oci8/oci8.h: Free OCI error handles on the
34
+ native thread termination, not on the ruby thread termination.
35
+ (reported by Jordan Curzon and Aaron Qian)
36
+ See: http://rubyforge.org/forum/forum.php?thread_id=49751&forum_id=1078
37
+
38
+ 2011-02-21 KUBO Takehiro <kubo@jiubao.org>
39
+ * ext/oci8/lob.c, ext/oci8/metadata.c, ext/oci8/oci8.c,
40
+ ext/oci8/oci8.h, ext/oci8/oci8lib.c, ext/oci8/stmt.c:
41
+ fix segmentation fault when calling OCI8::Cursor#[] for
42
+ closed statement object's (reported by Hugo L. Borges)
43
+
44
+ 2011-02-01 KUBO Takehiro <kubo@jiubao.org>
45
+ * ext/oci8/ocidatetime.c, lib/oci8/datetime.rb: rename
46
+ the name of the class to binding timestamp with time zone
47
+ from OCITimestamp to OCITimestampTZ. OCITimestamp will be
48
+ used for timestamp without time zone.
49
+
50
+ 2011-01-30 KUBO Takehiro <kubo@jiubao.org>
51
+ * ext/oci8/oraconf.rb: check Oracle client's cpu type on Solaris as
52
+ on Linux and Mac OS X. change error messages on Mac OS X to suggest
53
+ to set RC_ARCHS=x86_64 when mkmf.log contains messages such as
54
+ 'missing required architecture i386 in file.'
55
+
56
+ 2010-12-26 KUBO Takehiro <kubo@jiubao.org>
57
+ * ext/oci8/ocinumber.c, lib/oci8/bindtype.rb, test/test_oranumber.rb:
58
+ add OraNumber#has_decimal_part? and OCI8::BindType::BasicNumberType.
59
+
60
+ 2010-12-14 KUBO Takehiro <kubo@jiubao.org>
61
+ * dist-files, lib/oci8.rb.in, lib/oci8/.document, lib/oci8/properties.rb:
62
+ add OCI8.properties to get and set ruby-oci8 global setting.
63
+ * ext/oci8/bind.c, lib/oci8/bindtype.rb: fix NCHAR support and add
64
+ OCI8.properties[:bind_string_as_nchar] to control charset form (CHAR or NCHAR)
65
+ when binding string values.
66
+ See: http://rubyforge.org/forum/forum.php?thread_id=48838&forum_id=1078
67
+
68
+ 2010-12-04 KUBO Takehiro <kubo@jiubao.org>
69
+ * ext/oci8/object.c, ext/oci8/bind.c, lib/oci8/object.rb,
70
+ test/test_object.rb: fix a problem to assign NULL bind value
71
+ to object type bind variables.
72
+ (reported by Raimonds Simanovskis)
73
+ * ext/oci8/oraconf.rb: fix for 32-bit ruby compiled on
74
+ x86_64 linux. (reported by Jason Renschler)
75
+ * ext/oci8/oranumber_util.c, test/test_oranumber.rb:
76
+ suppress warning: unknown conversion type character 'h' in format
77
+
78
+ 2010-09-18 KUBO Takehiro <kubo@jiubao.org>
79
+ * ext/oci8/win32.c: undefine boolean to pass compilation on
80
+ Cygwin. (reported by Don Hill).
81
+ * lib/oci8/encoding-init.rb, lib/oci8/encoding.yml: add a
82
+ mapping from ZHT16HKSCS to Big5-HKSCS when the latter
83
+ is available in ruby.
84
+
85
+ 2010-09-12 KUBO Takehiro <kubo@jiubao.org>
86
+ * ext/oci8/env.c, ext/oci8/extconf.rb: suppress warning
87
+ 'use "ruby/util.h" instead of bare "util.h".'
88
+ * test/test_break.rb: make tests insensitive to execution timing.
89
+
90
+ 2010-09-10 KUBO Takehiro <kubo@jiubao.org>
91
+ * test/test_array_dml.rb: delete workaround code. It now works
92
+ fine on rubinius head.
93
+
94
+ 2010-09-07 KUBO Takehiro <kubo@jiubao.org>
95
+ * ext/oci8/extconf.rb, ext/oci8/oci8lib.c: Don't use
96
+ rb_set_end_proc() when it isn't available.
97
+ * ext/oci8/extconf.rb, lib/oci8.rb.in: add RUBY_ENGINE to
98
+ the C extension library name when RUBY_ENGINE is not "ruby."
99
+ * test/test_array_dml.rb: skip test_array_insert1 on rubinius.
100
+ This will be enabled after the rubinius issue #445 is fixed.
101
+
102
+ 2010-09-05 KUBO Takehiro <kubo@jiubao.org>
103
+ * ext/oci8/extconf.rb, ext/oci8/oci8.h, ext/oci8/oci8lib.c,
104
+ ext/oci8/ocinumber.c: use rb_intern() to retrieve IDs of '+', '-',
105
+ '*' and '/' on rubinus.
106
+ * ext/oci8/oradate.c: use rb_call_super() instead of
107
+ rb_obj_init_copy(), which is not declared in rubinus.
108
+
109
+ 2010-08-28 KUBO Takehiro <kubo@jiubao.org>
110
+ * ext/oci8/env.c: fix for rubinius.
111
+
112
+ 2010-08-28 KUBO Takehiro <kubo@jiubao.org>
113
+ * ext/oci8/env.c, ext/oci8/error.c, ext/oci8/extconf.rb, ext/oci8/oci8.c,
114
+ ext/oci8/oci8.h, oci8/oci8lib.c, ext/oci8/ocinumber.c: fix for rubinius.
115
+ Note that this is not enough to compile ruby-oci8 on it.
116
+
117
+ 2010-08-23 KUBO Takehiro <kubo@jiubao.org>
118
+ * lib/oci8/object.rb: fix an error when SDO_GEOMETRY is used
119
+ and $VERBOSE is set.
120
+ * test/test_oranumber.rb: change a testcase for ruby 1.9.2.
121
+ Math::atan2(0, 0) behaviour was changed in 1.9.2.
122
+
123
+ 2010-08-15 KUBO Takehiro <kubo@jiubao.org>
124
+ * ext/oci8/lob.c, ext/oci8/object.c, ext/oci8/oci8.h,
125
+ lib/oci8/object.rb: support LOB datatypes in Oracle objects.
126
+ (reported by Michael Sexton)
127
+ * ext/oci8/ocihandle.c: fix SEGV in finalizer when temporary LOBs
128
+ are used. This bug was introduced by the previous commit.
129
+
130
+ 2010-08-15 KUBO Takehiro <kubo@jiubao.org>
131
+ * ext/oci8/apiwrap.yml, ext/oci8/lob.c: fix memory leak when temporary
132
+ lobs are used.
133
+
134
+ 2010-08-14 KUBO Takehiro <kubo@jiubao.org>
135
+ * ext/oci8/bind.c: fix a bug that a string is bound to RAW.
136
+ Its encoding had been convertd to OCI.encoding incorrectly.
137
+ (backport from the trunk)
138
+ * ext/oci8/stmt.c: fix SEGV when an exception is raised while
139
+ a bind value is deallocated.
140
+ (backport from the trunk)
141
+
142
+ 2010-04-23 KUBO Takehiro <kubo@jiubao.org>
143
+ * ext/oci8/oranumber_util.c, test/test_oranumber.rb:
144
+ add limitted support for OraNumber's positive and negative
145
+ infinity. They are converted to '~' and '-~' respectively
146
+ as described in <URL:http://www.ixora.com.au/notes/infinity.htm>.
147
+
148
+ 2010-04-23 KUBO Takehiro <kubo@jiubao.org>
149
+ * Makefile: fix wrong dependencies in Makefile when running
150
+ 'make -jNNN (where NNN >= 2)'
151
+ (contributed by Alyano Alyanos. See bug #28129 on rubyforge.)
152
+
153
+ 2010-03-07 KUBO Takehiro <kubo@jiubao.org>
154
+ * ext/oci8/ocinumber.c: fix to compile on HP-UX.
155
+ Duplicate const qualifiers prevented HP-UX cc from compiling.
156
+ (reported by Sebastian YEPES)
157
+
1
158
  2010-02-28 KUBO Takehiro <kubo@jiubao.org>
2
159
  * NEWS: add changes between 2.0.3 and 2.0.4.
3
- * VERSION: change the version to 2.0.3.
160
+ * VERSION: change the version to 2.0.4.
4
161
  * ext/oci8/stmt.c: fix segmentation fault when OCI8::Cursor#fetch
5
162
  is called prior to OCI8::Cursor#exec.
6
163
  * ext/oci8/oci8.c: minor fix in rdoc comment.
data/Makefile CHANGED
@@ -4,12 +4,10 @@ RDOC = rdoc
4
4
 
5
5
  all: build
6
6
 
7
- build: config.save setup
8
-
9
7
  config.save: lib/oci8.rb.in
10
8
  $(RUBY) setup.rb config
11
9
 
12
- setup:
10
+ build: config.save
13
11
  $(RUBY) setup.rb setup
14
12
 
15
13
  check: build
data/NEWS CHANGED
@@ -1,3 +1,73 @@
1
+ 2.0.5:
2
+
3
+ * New Features
4
+
5
+ - Support Rubinius.
6
+
7
+ - OraNumber#has_decimal_part? -> boolean
8
+
9
+ OraNumber(10).has_decimal_part? # => false
10
+ OraNumber(10.1).has_decimal_part? # => true
11
+
12
+ - Limitted support for OraNumber's positive and negative infinity.
13
+
14
+ They are converted to '~' and '-~' respectively as described in
15
+ <URL:http://www.ixora.com.au/notes/infinity.htm>.
16
+
17
+ - OCI8.properties is added to control ruby-oci8 behaviour.
18
+ It supports :bind_string_as_nchar only for now.
19
+
20
+ - OCI8.properties[:bind_string_as_nchar] is added.
21
+
22
+ You need to set "OCI8.properties[:bind_string_as_nchar] = true"
23
+ if the database character set is not UTF-8 and NCHAR/NVARCHAR2 columns
24
+ contain characters which cannot be converted to the database character set.
25
+ See: http://rubyforge.org/forum/forum.php?thread_id=48838&forum_id=1078
26
+
27
+ * Fixed issues
28
+
29
+ - Fix InvalidHandle errors on Rails.
30
+ (reported by Jordan Curzon and Aaron Qian)
31
+ See: http://rubyforge.org/forum/forum.php?thread_id=49751&forum_id=1078
32
+
33
+ - Raise "OCIError: ORA-01805: possible error in date/time operation"
34
+ when Oracle 11gR2's client and server timezone versions are not same
35
+ instead of raising a exception "undefined method `*' for nil:NilClass."
36
+ See: http://rubyforge.org/forum/forum.php?thread_id=49102&forum_id=1078
37
+
38
+ - Fix unexpectedly disconnect when failed-logon connections is GC'ed
39
+ and the connection object's address is accidentally same with
40
+ an alive connection.
41
+
42
+ - Fix segmentation fault when calling OCI8::Cursor#[] for
43
+ closed statement object's (reported by Hugo L. Borges)
44
+
45
+ - Fix a bug that a string is bound to RAW.
46
+ Its encoding had been convertd to OCI.encoding incorrectly.
47
+
48
+ - Fix memory leaks when temporary lobs are used.
49
+
50
+ - Fix a problem to assign NULL bind value to object type bind variables.
51
+ (reported by Raimonds Simanovskis)
52
+
53
+ - Support LOB datatypes in object type.
54
+ (reported by Michael Sexton)
55
+
56
+ - Fix to compile on cygwin. The declaration of 'boolean' in Oracle
57
+ conflicts with that of latest cygwin.
58
+ (reported by Don Hill).
59
+
60
+ - Fix to complie for the 32-bit ruby which was compiled on x86_64 linux
61
+ and configured without '--build', '--host' nor '--target'.
62
+ The RUBY_PLATFORM is 'x86_64-linux' even though the ruby is 32-bit.
63
+ (reported by Jason Renschler)
64
+
65
+ - Fix wrong dependencies in Makefile when running 'make -jNNN (where NNN >= 2)'
66
+ (contributed by Alyano Alyanos. See bug #28129 on rubyforge.)
67
+
68
+ - Fix to compile on HP-UX. Duplicated const qualifiers prevented HP-UX cc
69
+ from compiling. (reported by Sebastian YEPES)
70
+
1
71
  2.0.4:
2
72
 
3
73
  * New Features
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.4
1
+ 2.0.5
data/dist-files CHANGED
@@ -55,6 +55,7 @@ lib/oci8/metadata.rb
55
55
  lib/oci8/object.rb
56
56
  lib/oci8/oci8.rb
57
57
  lib/oci8/oracle_version.rb
58
+ lib/oci8/properties.rb
58
59
  test/README
59
60
  test/config.rb
60
61
  test/test_all.rb
@@ -6,7 +6,8 @@
6
6
  # use thie for 0 round trip
7
7
  OCIAttrGet:
8
8
  :version: 800
9
- :args: - CONST dvoid *trgthndlp
9
+ :args:
10
+ - CONST dvoid *trgthndlp
10
11
  - ub4 trghndltyp
11
12
  - dvoid *attributep
12
13
  - ub4 *sizep
@@ -16,7 +17,8 @@ OCIAttrGet:
16
17
  # use thie for 1 or 2 round trips
17
18
  OCIAttrGet_nb:
18
19
  :version: 800
19
- :args: - CONST dvoid *trgthndlp
20
+ :args:
21
+ - CONST dvoid *trgthndlp
20
22
  - ub4 trghndltyp
21
23
  - dvoid *attributep
22
24
  - ub4 *sizep
@@ -25,7 +27,8 @@ OCIAttrGet_nb:
25
27
 
26
28
  OCIAttrSet:
27
29
  :version: 800
28
- :args: - dvoid *trgthndlp
30
+ :args:
31
+ - dvoid *trgthndlp
29
32
  - ub4 trghndltyp
30
33
  - dvoid *attributep
31
34
  - ub4 size
@@ -35,7 +38,8 @@ OCIAttrSet:
35
38
  # round trip: 0
36
39
  OCIBindArrayOfStruct:
37
40
  :version: 800
38
- :args: - OCIBind *bindp
41
+ :args:
42
+ - OCIBind *bindp
39
43
  - OCIError *errhp
40
44
  - ub4 pvskip
41
45
  - ub4 indskip
@@ -45,7 +49,8 @@ OCIBindArrayOfStruct:
45
49
  # round trip: 0
46
50
  OCIBindByName:
47
51
  :version: 800
48
- :args: - OCIStmt *stmtp
52
+ :args:
53
+ - OCIStmt *stmtp
49
54
  - OCIBind **bindp
50
55
  - OCIError *errhp
51
56
  - CONST text *placeholder
@@ -63,7 +68,8 @@ OCIBindByName:
63
68
  # round trip: 0
64
69
  OCIBindByPos:
65
70
  :version: 800
66
- :args: - OCIStmt *stmtp
71
+ :args:
72
+ - OCIStmt *stmtp
67
73
  - OCIBind **bindp
68
74
  - OCIError *errhp
69
75
  - ub4 position
@@ -80,7 +86,8 @@ OCIBindByPos:
80
86
  # round trip: 0
81
87
  OCIBindObject:
82
88
  :version: 800
83
- :args: - OCIBind *bindp
89
+ :args:
90
+ - OCIBind *bindp
84
91
  - OCIError *errhp
85
92
  - CONST OCIType *type
86
93
  - dvoid **pgvpp
@@ -91,13 +98,15 @@ OCIBindObject:
91
98
  # round trip: 1 but don't add _nb.
92
99
  OCIBreak:
93
100
  :version: 800
94
- :args: - dvoid *hndlp
101
+ :args:
102
+ - dvoid *hndlp
95
103
  - OCIError *errhp
96
104
 
97
105
  # round trip: 0
98
106
  OCICollAppend:
99
107
  :version: 800
100
- :args: - OCIEnv *env
108
+ :args:
109
+ - OCIEnv *env
101
110
  - OCIError *err
102
111
  - CONST dvoid *elem
103
112
  - CONST dvoid *elemind
@@ -106,7 +115,8 @@ OCICollAppend:
106
115
  # round trip: 0
107
116
  OCICollAssignElem:
108
117
  :version: 800
109
- :args: - OCIEnv *env
118
+ :args:
119
+ - OCIEnv *env
110
120
  - OCIError *err
111
121
  - sb4 index
112
122
  - CONST dvoid *elem
@@ -116,7 +126,8 @@ OCICollAssignElem:
116
126
  # round trip: 0
117
127
  OCICollGetElem:
118
128
  :version: 800
119
- :args: - OCIEnv *env
129
+ :args:
130
+ - OCIEnv *env
120
131
  - OCIError *err
121
132
  - CONST OCIColl *coll
122
133
  - sb4 index
@@ -127,7 +138,8 @@ OCICollGetElem:
127
138
  # round trip: 0
128
139
  OCICollSize:
129
140
  :version: 800
130
- :args: - OCIEnv *env
141
+ :args:
142
+ - OCIEnv *env
131
143
  - OCIError *err
132
144
  - CONST OCIColl *coll
133
145
  - sb4 *size
@@ -135,7 +147,8 @@ OCICollSize:
135
147
  # round trip: 0
136
148
  OCICollTrim:
137
149
  :version: 800
138
- :args: - OCIEnv *env
150
+ :args:
151
+ - OCIEnv *env
139
152
  - OCIError *err
140
153
  - sb4 trim_num
141
154
  - OCIColl *coll
@@ -143,7 +156,8 @@ OCICollTrim:
143
156
  # round trip: 0
144
157
  OCIDefineArrayOfStruct:
145
158
  :version: 800
146
- :args: - OCIDefine *defnp
159
+ :args:
160
+ - OCIDefine *defnp
147
161
  - OCIError *errhp
148
162
  - ub4 pvskip
149
163
  - ub4 indskip
@@ -153,7 +167,8 @@ OCIDefineArrayOfStruct:
153
167
  # round trip: 0
154
168
  OCIDefineByPos:
155
169
  :version: 800
156
- :args: - OCIStmt *stmtp
170
+ :args:
171
+ - OCIStmt *stmtp
157
172
  - OCIDefine **defnp
158
173
  - OCIError *errhp
159
174
  - ub4 position
@@ -168,7 +183,8 @@ OCIDefineByPos:
168
183
  # round trip: 0
169
184
  OCIDefineObject:
170
185
  :version: 800
171
- :args: - OCIDefine *defnp
186
+ :args:
187
+ - OCIDefine *defnp
172
188
  - OCIError *errhp
173
189
  - CONST OCIType *type
174
190
  - dvoid **pgvpp
@@ -179,7 +195,8 @@ OCIDefineObject:
179
195
  # round trip: 1
180
196
  OCIDescribeAny_nb:
181
197
  :version: 800
182
- :args: - OCISvcCtx *svchp
198
+ :args:
199
+ - OCISvcCtx *svchp
183
200
  - OCIError *errhp
184
201
  - dvoid *objptr
185
202
  - ub4 objnm_len
@@ -190,7 +207,8 @@ OCIDescribeAny_nb:
190
207
 
191
208
  OCIDescriptorAlloc:
192
209
  :version: 800
193
- :args: - CONST dvoid *parenth
210
+ :args:
211
+ - CONST dvoid *parenth
194
212
  - dvoid **descpp
195
213
  - ub4 type
196
214
  - size_t xtramem_sz
@@ -198,19 +216,22 @@ OCIDescriptorAlloc:
198
216
 
199
217
  OCIDescriptorFree:
200
218
  :version: 800
201
- :args: - dvoid *descp
219
+ :args:
220
+ - dvoid *descp
202
221
  - ub4 type
203
222
 
204
223
  OCIEnvInit:
205
224
  :version: 800
206
- :args: - OCIEnv **envp
225
+ :args:
226
+ - OCIEnv **envp
207
227
  - ub4 mode
208
228
  - size_t xtramem_sz
209
229
  - dvoid **usrmempp
210
230
 
211
231
  OCIErrorGet:
212
232
  :version: 800
213
- :args: - dvoid *hndlp
233
+ :args:
234
+ - dvoid *hndlp
214
235
  - ub4 recordno
215
236
  - text *sqlstate
216
237
  - sb4 *errcodep
@@ -220,7 +241,8 @@ OCIErrorGet:
220
241
 
221
242
  OCIHandleAlloc:
222
243
  :version: 800
223
- :args: - CONST dvoid *parenth
244
+ :args:
245
+ - CONST dvoid *parenth
224
246
  - dvoid **hndlpp
225
247
  - ub4 type
226
248
  - size_t xtramem_sz
@@ -228,13 +250,15 @@ OCIHandleAlloc:
228
250
 
229
251
  OCIHandleFree:
230
252
  :version: 800
231
- :args: - dvoid *hndlp
253
+ :args:
254
+ - dvoid *hndlp
232
255
  - ub4 type
233
256
 
234
257
  # round trip: 0
235
258
  OCIInitialize:
236
259
  :version: 800
237
- :args: - ub4 mode
260
+ :args:
261
+ - ub4 mode
238
262
  - dvoid *ctxp
239
263
  - dvoid *(*malocfp)(dvoid *ctxp, size_t size)
240
264
  - dvoid *(*ralocfp)(dvoid *ctxp, dvoid *memptr, size_t newsize)
@@ -243,7 +267,8 @@ OCIInitialize:
243
267
  # round trip: 0
244
268
  OCILobAssign:
245
269
  :version: 800
246
- :args: - OCIEnv *envhp
270
+ :args:
271
+ - OCIEnv *envhp
247
272
  - OCIError *errhp
248
273
  - CONST OCILobLocator *src_locp
249
274
  - OCILobLocator **dst_locpp
@@ -251,20 +276,23 @@ OCILobAssign:
251
276
  # round trip: 1
252
277
  OCILobFileClose_nb:
253
278
  :version: 800
254
- :args: - OCISvcCtx *svchp
279
+ :args:
280
+ - OCISvcCtx *svchp
255
281
  - OCIError *errhp
256
282
  - OCILobLocator *filep
257
283
 
258
284
  # round trip: 1
259
285
  OCILobFileCloseAll_nb:
260
286
  :version: 800
261
- :args: - OCISvcCtx *svchp
287
+ :args:
288
+ - OCISvcCtx *svchp
262
289
  - OCIError *errhp
263
290
 
264
291
  # round trip: 1
265
292
  OCILobFileExists_nb:
266
293
  :version: 800
267
- :args: - OCISvcCtx *svchp
294
+ :args:
295
+ - OCISvcCtx *svchp
268
296
  - OCIError *errhp
269
297
  - OCILobLocator *filep
270
298
  - boolean *flag
@@ -272,7 +300,8 @@ OCILobFileExists_nb:
272
300
  # round trip: 0
273
301
  OCILobFileGetName:
274
302
  :version: 800
275
- :args: - OCIEnv *envhp
303
+ :args:
304
+ - OCIEnv *envhp
276
305
  - OCIError *errhp
277
306
  - CONST OCILobLocator *filep
278
307
  - text *dir_alias
@@ -283,7 +312,8 @@ OCILobFileGetName:
283
312
  # round trip: 1
284
313
  OCILobFileOpen_nb:
285
314
  :version: 800
286
- :args: - OCISvcCtx *svchp
315
+ :args:
316
+ - OCISvcCtx *svchp
287
317
  - OCIError *errhp
288
318
  - OCILobLocator *filep
289
319
  - ub1 mode
@@ -291,7 +321,8 @@ OCILobFileOpen_nb:
291
321
  # round trip: 0
292
322
  OCILobFileSetName:
293
323
  :version: 800
294
- :args: - OCIEnv *envhp
324
+ :args:
325
+ - OCIEnv *envhp
295
326
  - OCIError *errhp
296
327
  - OCILobLocator **filepp
297
328
  - CONST text *dir_alias
@@ -302,7 +333,8 @@ OCILobFileSetName:
302
333
  # round trip: 1
303
334
  OCILobGetLength_nb:
304
335
  :version: 800
305
- :args: - OCISvcCtx *svchp
336
+ :args:
337
+ - OCISvcCtx *svchp
306
338
  - OCIError *errhp
307
339
  - OCILobLocator *locp
308
340
  - ub4 *lenp
@@ -310,7 +342,8 @@ OCILobGetLength_nb:
310
342
  # round trip: 0
311
343
  OCILobLocatorIsInit:
312
344
  :version: 800
313
- :args: - OCIEnv *envhp
345
+ :args:
346
+ - OCIEnv *envhp
314
347
  - OCIError *errhp
315
348
  - CONST OCILobLocator *locp
316
349
  - boolean *is_initialized
@@ -318,7 +351,8 @@ OCILobLocatorIsInit:
318
351
  # round trip: 0 or 1
319
352
  OCILobRead_nb:
320
353
  :version: 800
321
- :args: - OCISvcCtx *svchp
354
+ :args:
355
+ - OCISvcCtx *svchp
322
356
  - OCIError *errhp
323
357
  - OCILobLocator *locp
324
358
  - ub4 *amtp
@@ -333,7 +367,8 @@ OCILobRead_nb:
333
367
  # round trip: 1
334
368
  OCILobTrim_nb:
335
369
  :version: 800
336
- :args: - OCISvcCtx *svchp
370
+ :args:
371
+ - OCISvcCtx *svchp
337
372
  - OCIError *errhp
338
373
  - OCILobLocator *locp
339
374
  - ub4 newlen
@@ -341,7 +376,8 @@ OCILobTrim_nb:
341
376
  # round trip: 0 or 1
342
377
  OCILobWrite_nb:
343
378
  :version: 800
344
- :args: - OCISvcCtx *svchp
379
+ :args:
380
+ - OCISvcCtx *svchp
345
381
  - OCIError *errhp
346
382
  - OCILobLocator *locp
347
383
  - ub4 *amtp
@@ -357,13 +393,15 @@ OCILobWrite_nb:
357
393
  # round trip: 1
358
394
  OCILogoff_nb:
359
395
  :version: 800
360
- :args: - OCISvcCtx *svchp
396
+ :args:
397
+ - OCISvcCtx *svchp
361
398
  - OCIError *errhp
362
399
 
363
400
  # round trip: 1
364
401
  OCILogon_nb:
365
402
  :version: 800
366
- :args: - OCIEnv *envhp
403
+ :args:
404
+ - OCIEnv *envhp
367
405
  - OCIError *errhp
368
406
  - OCISvcCtx **svchp
369
407
  - CONST text *username
@@ -376,14 +414,16 @@ OCILogon_nb:
376
414
  # round trip: 0
377
415
  OCINumberAbs:
378
416
  :version: 800
379
- :args: - OCIError *err
417
+ :args:
418
+ - OCIError *err
380
419
  - CONST OCINumber *number
381
420
  - OCINumber *result
382
421
 
383
422
  # round trip: 0
384
423
  OCINumberAdd:
385
424
  :version: 800
386
- :args: - OCIError *err
425
+ :args:
426
+ - OCIError *err
387
427
  - CONST OCINumber *number1
388
428
  - CONST OCINumber *number2
389
429
  - OCINumber *result
@@ -391,28 +431,32 @@ OCINumberAdd:
391
431
  # round trip: 0
392
432
  OCINumberArcCos:
393
433
  :version: 800
394
- :args: - OCIError *err
434
+ :args:
435
+ - OCIError *err
395
436
  - CONST OCINumber *number
396
437
  - OCINumber *result
397
438
 
398
439
  # round trip: 0
399
440
  OCINumberArcSin:
400
441
  :version: 800
401
- :args: - OCIError *err
442
+ :args:
443
+ - OCIError *err
402
444
  - CONST OCINumber *number
403
445
  - OCINumber *result
404
446
 
405
447
  # round trip: 0
406
448
  OCINumberArcTan:
407
449
  :version: 800
408
- :args: - OCIError *err
450
+ :args:
451
+ - OCIError *err
409
452
  - CONST OCINumber *number
410
453
  - OCINumber *result
411
454
 
412
455
  # round trip: 0
413
456
  OCINumberArcTan2:
414
457
  :version: 800
415
- :args: - OCIError *err
458
+ :args:
459
+ - OCIError *err
416
460
  - CONST OCINumber *number1
417
461
  - CONST OCINumber *number2
418
462
  - OCINumber *result
@@ -420,21 +464,24 @@ OCINumberArcTan2:
420
464
  # round trip: 0
421
465
  OCINumberAssign:
422
466
  :version: 800
423
- :args: - OCIError *err
467
+ :args:
468
+ - OCIError *err
424
469
  - CONST OCINumber *from
425
470
  - OCINumber *to
426
471
 
427
472
  # round trip: 0
428
473
  OCINumberCeil:
429
474
  :version: 800
430
- :args: - OCIError *err
475
+ :args:
476
+ - OCIError *err
431
477
  - CONST OCINumber *number
432
478
  - OCINumber *result
433
479
 
434
480
  # round trip: 0
435
481
  OCINumberCmp:
436
482
  :version: 800
437
- :args: - OCIError *err
483
+ :args:
484
+ - OCIError *err
438
485
  - CONST OCINumber *number1
439
486
  - CONST OCINumber *number2
440
487
  - sword *result
@@ -442,14 +489,16 @@ OCINumberCmp:
442
489
  # round trip: 0
443
490
  OCINumberCos:
444
491
  :version: 800
445
- :args: - OCIError *err
492
+ :args:
493
+ - OCIError *err
446
494
  - CONST OCINumber *number
447
495
  - OCINumber *result
448
496
 
449
497
  # round trip: 0
450
498
  OCINumberDiv:
451
499
  :version: 800
452
- :args: - OCIError *err
500
+ :args:
501
+ - OCIError *err
453
502
  - CONST OCINumber *number1
454
503
  - CONST OCINumber *number2
455
504
  - OCINumber *result
@@ -457,21 +506,24 @@ OCINumberDiv:
457
506
  # round trip: 0
458
507
  OCINumberExp:
459
508
  :version: 800
460
- :args: - OCIError *err
509
+ :args:
510
+ - OCIError *err
461
511
  - CONST OCINumber *number
462
512
  - OCINumber *result
463
513
 
464
514
  # round trip: 0
465
515
  OCINumberFloor:
466
516
  :version: 800
467
- :args: - OCIError *err
517
+ :args:
518
+ - OCIError *err
468
519
  - CONST OCINumber *number
469
520
  - OCINumber *result
470
521
 
471
522
  # round trip: 0
472
523
  OCINumberFromInt:
473
524
  :version: 800
474
- :args: - OCIError *err
525
+ :args:
526
+ - OCIError *err
475
527
  - CONST dvoid *inum
476
528
  - uword inum_length
477
529
  - uword inum_s_flag
@@ -480,7 +532,8 @@ OCINumberFromInt:
480
532
  # round trip: 0
481
533
  OCINumberFromReal:
482
534
  :version: 800
483
- :args: - OCIError *err
535
+ :args:
536
+ - OCIError *err
484
537
  - CONST dvoid *rnum
485
538
  - uword rnum_length
486
539
  - OCINumber *number
@@ -488,7 +541,8 @@ OCINumberFromReal:
488
541
  # round trip: 0
489
542
  OCINumberFromText:
490
543
  :version: 800
491
- :args: - OCIError *err
544
+ :args:
545
+ - OCIError *err
492
546
  - CONST text *str
493
547
  - ub4 str_length
494
548
  - CONST text *fmt
@@ -500,28 +554,32 @@ OCINumberFromText:
500
554
  # round trip: 0
501
555
  OCINumberHypCos:
502
556
  :version: 800
503
- :args: - OCIError *err
557
+ :args:
558
+ - OCIError *err
504
559
  - CONST OCINumber *number
505
560
  - OCINumber *result
506
561
 
507
562
  # round trip: 0
508
563
  OCINumberHypSin:
509
564
  :version: 800
510
- :args: - OCIError *err
565
+ :args:
566
+ - OCIError *err
511
567
  - CONST OCINumber *number
512
568
  - OCINumber *result
513
569
 
514
570
  # round trip: 0
515
571
  OCINumberHypTan:
516
572
  :version: 800
517
- :args: - OCIError *err
573
+ :args:
574
+ - OCIError *err
518
575
  - CONST OCINumber *number
519
576
  - OCINumber *result
520
577
 
521
578
  # round trip: 0
522
579
  OCINumberIntPower:
523
580
  :version: 800
524
- :args: - OCIError *err
581
+ :args:
582
+ - OCIError *err
525
583
  - CONST OCINumber *base
526
584
  - CONST sword exp
527
585
  - OCINumber *result
@@ -529,21 +587,24 @@ OCINumberIntPower:
529
587
  # round trip: 0
530
588
  OCINumberIsZero:
531
589
  :version: 800
532
- :args: - OCIError *err
590
+ :args:
591
+ - OCIError *err
533
592
  - CONST OCINumber *number
534
593
  - boolean *result
535
594
 
536
595
  # round trip: 0
537
596
  OCINumberLn:
538
597
  :version: 800
539
- :args: - OCIError *err
598
+ :args:
599
+ - OCIError *err
540
600
  - CONST OCINumber *number
541
601
  - OCINumber *result
542
602
 
543
603
  # round trip: 0
544
604
  OCINumberLog:
545
605
  :version: 800
546
- :args: - OCIError *err
606
+ :args:
607
+ - OCIError *err
547
608
  - CONST OCINumber *base
548
609
  - CONST OCINumber *number
549
610
  - OCINumber *result
@@ -551,7 +612,8 @@ OCINumberLog:
551
612
  # round trip: 0
552
613
  OCINumberMod:
553
614
  :version: 800
554
- :args: - OCIError *err
615
+ :args:
616
+ - OCIError *err
555
617
  - CONST OCINumber *number1
556
618
  - CONST OCINumber *number2
557
619
  - OCINumber *result
@@ -559,7 +621,8 @@ OCINumberMod:
559
621
  # round trip: 0
560
622
  OCINumberMul:
561
623
  :version: 800
562
- :args: - OCIError *err
624
+ :args:
625
+ - OCIError *err
563
626
  - CONST OCINumber *number1
564
627
  - CONST OCINumber *number2
565
628
  - OCINumber *result
@@ -567,14 +630,16 @@ OCINumberMul:
567
630
  # round trip: 0
568
631
  OCINumberNeg:
569
632
  :version: 800
570
- :args: - OCIError *err
633
+ :args:
634
+ - OCIError *err
571
635
  - CONST OCINumber *number
572
636
  - OCINumber *result
573
637
 
574
638
  # round trip: 0
575
639
  OCINumberPower:
576
640
  :version: 800
577
- :args: - OCIError *err
641
+ :args:
642
+ - OCIError *err
578
643
  - CONST OCINumber *base
579
644
  - CONST OCINumber *number
580
645
  - OCINumber *result
@@ -582,7 +647,8 @@ OCINumberPower:
582
647
  # round trip: 0
583
648
  OCINumberRound:
584
649
  :version: 800
585
- :args: - OCIError *err
650
+ :args:
651
+ - OCIError *err
586
652
  - CONST OCINumber *number
587
653
  - sword decplace
588
654
  - OCINumber *result
@@ -591,20 +657,23 @@ OCINumberRound:
591
657
  OCINumberSetZero:
592
658
  :version: 800
593
659
  :ret: void
594
- :args: - OCIError *err
660
+ :args:
661
+ - OCIError *err
595
662
  - OCINumber *num
596
663
 
597
664
  # round trip: 0
598
665
  OCINumberSin:
599
666
  :version: 800
600
- :args: - OCIError *err
667
+ :args:
668
+ - OCIError *err
601
669
  - CONST OCINumber *number
602
670
  - OCINumber *result
603
671
 
604
672
  # round trip: 0
605
673
  OCINumberSub:
606
674
  :version: 800
607
- :args: - OCIError *err
675
+ :args:
676
+ - OCIError *err
608
677
  - CONST OCINumber *number1
609
678
  - CONST OCINumber *number2
610
679
  - OCINumber *result
@@ -612,21 +681,24 @@ OCINumberSub:
612
681
  # round trip: 0
613
682
  OCINumberSqrt:
614
683
  :version: 800
615
- :args: - OCIError *err
684
+ :args:
685
+ - OCIError *err
616
686
  - CONST OCINumber *number
617
687
  - OCINumber *result
618
688
 
619
689
  # round trip: 0
620
690
  OCINumberTan:
621
691
  :version: 800
622
- :args: - OCIError *err
692
+ :args:
693
+ - OCIError *err
623
694
  - CONST OCINumber *number
624
695
  - OCINumber *result
625
696
 
626
697
  # round trip: 0
627
698
  OCINumberToInt:
628
699
  :version: 800
629
- :args: - OCIError *err
700
+ :args:
701
+ - OCIError *err
630
702
  - CONST OCINumber *number
631
703
  - uword rsl_length
632
704
  - uword rsl_flag
@@ -635,7 +707,8 @@ OCINumberToInt:
635
707
  # round trip: 0
636
708
  OCINumberToReal:
637
709
  :version: 800
638
- :args: - OCIError *err
710
+ :args:
711
+ - OCIError *err
639
712
  - CONST OCINumber *number
640
713
  - uword rsl_length
641
714
  - dvoid *rsl
@@ -643,7 +716,8 @@ OCINumberToReal:
643
716
  # round trip: 0
644
717
  OCINumberToText:
645
718
  :version: 800
646
- :args: - OCIError *err
719
+ :args:
720
+ - OCIError *err
647
721
  - CONST OCINumber *number
648
722
  - CONST text *fmt
649
723
  - ub4 fmt_length
@@ -655,7 +729,8 @@ OCINumberToText:
655
729
  # round trip: 0
656
730
  OCINumberTrunc:
657
731
  :version: 800
658
- :args: - OCIError *err
732
+ :args:
733
+ - OCIError *err
659
734
  - CONST OCINumber *number
660
735
  - sword decplace
661
736
  - OCINumber *resulty
@@ -663,7 +738,8 @@ OCINumberTrunc:
663
738
  # round trip: 0
664
739
  OCIObjectFree:
665
740
  :version: 800
666
- :args: - OCIEnv *env
741
+ :args:
742
+ - OCIEnv *env
667
743
  - OCIError *err
668
744
  - dvoid *instance
669
745
  - ub2 flags
@@ -671,7 +747,8 @@ OCIObjectFree:
671
747
  # round trip: 0
672
748
  OCIObjectGetInd:
673
749
  :version: 800
674
- :args: - OCIEnv *env
750
+ :args:
751
+ - OCIEnv *env
675
752
  - OCIError *err
676
753
  - dvoid *instance
677
754
  - dvoid **null_struct
@@ -679,7 +756,8 @@ OCIObjectGetInd:
679
756
  # round trip: 0
680
757
  OCIObjectNew:
681
758
  :version: 800
682
- :args: - OCIEnv *env
759
+ :args:
760
+ - OCIEnv *env
683
761
  - OCIError *err
684
762
  - CONST OCISvcCtx *svc
685
763
  - OCITypeCode typecode
@@ -692,7 +770,8 @@ OCIObjectNew:
692
770
  # round trip: 0 or 1
693
771
  OCIObjectPin_nb:
694
772
  :version: 800
695
- :args: - OCIEnv *env
773
+ :args:
774
+ - OCIEnv *env
696
775
  - OCIError *err
697
776
  - OCIRef *object_ref
698
777
  - OCIComplexObject *corhdl
@@ -704,14 +783,16 @@ OCIObjectPin_nb:
704
783
  # round trip: 0
705
784
  OCIObjectUnpin:
706
785
  :version: 800
707
- :args: - OCIEnv *env
786
+ :args:
787
+ - OCIEnv *env
708
788
  - OCIError *err
709
789
  - dvoid *object
710
790
 
711
791
  # round trip: ???
712
792
  OCIParamGet:
713
793
  :version: 800
714
- :args: - CONST dvoid *hndlp
794
+ :args:
795
+ - CONST dvoid *hndlp
715
796
  - ub4 htype
716
797
  - OCIError *errhp
717
798
  - dvoid **parmdpp
@@ -720,7 +801,8 @@ OCIParamGet:
720
801
  # round trip: 1
721
802
  OCISessionBegin_nb:
722
803
  :version: 800
723
- :args: - OCISvcCtx *svchp
804
+ :args:
805
+ - OCISvcCtx *svchp
724
806
  - OCIError *errhp
725
807
  - OCISession *usrhp
726
808
  - ub4 credt
@@ -729,7 +811,8 @@ OCISessionBegin_nb:
729
811
  # round trip: 0
730
812
  OCIRawAssignBytes:
731
813
  :version: 800
732
- :args: - OCIEnv *env
814
+ :args:
815
+ - OCIEnv *env
733
816
  - OCIError *err
734
817
  - CONST ub1 *rhs
735
818
  - ub4 rhs_len
@@ -739,20 +822,23 @@ OCIRawAssignBytes:
739
822
  OCIRawPtr:
740
823
  :version: 800
741
824
  :ret: ub1 *
742
- :args: - OCIEnv *env
825
+ :args:
826
+ - OCIEnv *env
743
827
  - CONST OCIRaw *raw
744
828
 
745
829
  # round trip: 0
746
830
  OCIRawSize:
747
831
  :version: 800
748
832
  :ret: ub4
749
- :args: - OCIEnv *env
833
+ :args:
834
+ - OCIEnv *env
750
835
  - CONST OCIRaw *raw
751
836
 
752
837
  # round trip: 1
753
838
  OCISessionEnd_nb:
754
839
  :version: 800
755
- :args: - OCISvcCtx *svchp
840
+ :args:
841
+ - OCISvcCtx *svchp
756
842
  - OCIError *errhp
757
843
  - OCISession *usrhp
758
844
  - ub4 mode
@@ -760,7 +846,8 @@ OCISessionEnd_nb:
760
846
  # round trip: 1
761
847
  OCIServerAttach_nb:
762
848
  :version: 800
763
- :args: - OCIServer *srvhp
849
+ :args:
850
+ - OCIServer *srvhp
764
851
  - OCIError *errhp
765
852
  - CONST text *dblink
766
853
  - sb4 dblink_len
@@ -769,14 +856,16 @@ OCIServerAttach_nb:
769
856
  # round trip: 1
770
857
  OCIServerDetach_nb:
771
858
  :version: 800
772
- :args: - OCIServer *srvhp
859
+ :args:
860
+ - OCIServer *srvhp
773
861
  - OCIError *errhp
774
862
  - ub4 mode
775
863
 
776
864
  # round trip: ?
777
865
  OCIServerVersion:
778
866
  :version: 800
779
- :args: - dvoid *hndlp
867
+ :args:
868
+ - dvoid *hndlp
780
869
  - OCIError *errhp
781
870
  - OraText *bufp
782
871
  - ub4 bufsz
@@ -785,7 +874,8 @@ OCIServerVersion:
785
874
  # round trip: 1
786
875
  OCIStmtExecute_nb:
787
876
  :version: 800
788
- :args: - OCISvcCtx *svchp
877
+ :args:
878
+ - OCISvcCtx *svchp
789
879
  - OCIStmt *stmtp
790
880
  - OCIError *errhp
791
881
  - ub4 iters
@@ -797,7 +887,8 @@ OCIStmtExecute_nb:
797
887
  # round trip: 0 if a next row is in pre-fetch buffer, otherwise 1
798
888
  OCIStmtFetch_nb:
799
889
  :version: 800
800
- :args: - OCIStmt *stmtp
890
+ :args:
891
+ - OCIStmt *stmtp
801
892
  - OCIError *errhp
802
893
  - ub4 nrows
803
894
  - ub2 orientation
@@ -805,7 +896,8 @@ OCIStmtFetch_nb:
805
896
 
806
897
  OCIStmtGetPieceInfo:
807
898
  :version: 800
808
- :args: - OCIStmt *stmtp
899
+ :args:
900
+ - OCIStmt *stmtp
809
901
  - OCIError *errhp
810
902
  - dvoid **hndlpp
811
903
  - ub4 *typep
@@ -816,7 +908,8 @@ OCIStmtGetPieceInfo:
816
908
 
817
909
  OCIStmtPrepare:
818
910
  :version: 800
819
- :args: - OCIStmt *stmtp
911
+ :args:
912
+ - OCIStmt *stmtp
820
913
  - OCIError *errhp
821
914
  - CONST text *stmt
822
915
  - ub4 stmt_len
@@ -825,7 +918,8 @@ OCIStmtPrepare:
825
918
 
826
919
  OCIStmtSetPieceInfo:
827
920
  :version: 800
828
- :args: - dvoid *hndlp
921
+ :args:
922
+ - dvoid *hndlp
829
923
  - ub4 type
830
924
  - OCIError *errhp
831
925
  - CONST dvoid *bufp
@@ -837,7 +931,8 @@ OCIStmtSetPieceInfo:
837
931
  # round trip: 0
838
932
  OCIStringAssignText:
839
933
  :version: 800
840
- :args: - OCIEnv *env
934
+ :args:
935
+ - OCIEnv *env
841
936
  - OCIError *err
842
937
  - CONST text *rhs
843
938
  - ub4 rhs_len
@@ -847,27 +942,31 @@ OCIStringAssignText:
847
942
  OCIStringPtr:
848
943
  :version: 800
849
944
  :ret: text *
850
- :args: - OCIEnv *env
945
+ :args:
946
+ - OCIEnv *env
851
947
  - CONST OCIString *vs
852
948
 
853
949
  # round trip: 0
854
950
  OCIStringSize:
855
951
  :version: 800
856
952
  :ret: ub4
857
- :args: - OCIEnv *env
953
+ :args:
954
+ - OCIEnv *env
858
955
  - CONST OCIString *vs
859
956
 
860
957
  # round trip: 1
861
958
  OCITransCommit_nb:
862
959
  :version: 800
863
- :args: - OCISvcCtx *svchp
960
+ :args:
961
+ - OCISvcCtx *svchp
864
962
  - OCIError *errhp
865
963
  - ub4 flags
866
964
 
867
965
  # round trip: 1
868
966
  OCITransRollback_nb:
869
967
  :version: 800
870
- :args: - OCISvcCtx *svchp
968
+ :args:
969
+ - OCISvcCtx *svchp
871
970
  - OCIError *errhp
872
971
  - ub4 flags
873
972
 
@@ -875,7 +974,8 @@ OCITransRollback_nb:
875
974
  OCITypeTypeCode:
876
975
  :version: 800
877
976
  :ret: OCITypeCode
878
- :args: - OCIEnv *env
977
+ :args:
978
+ - OCIEnv *env
879
979
  - OCIError *err
880
980
  - CONST OCIType *tdo
881
981
 
@@ -887,7 +987,8 @@ OCITypeTypeCode:
887
987
  # round trip: 0
888
988
  OCIEnvCreate:
889
989
  :version: 810
890
- :args: - OCIEnv **envp
990
+ :args:
991
+ - OCIEnv **envp
891
992
  - ub4 mode
892
993
  - dvoid *ctxp
893
994
  - dvoid *(*malocfp)(dvoid *ctxp, size_t size)
@@ -899,14 +1000,16 @@ OCIEnvCreate:
899
1000
  # round trip: 1
900
1001
  OCILobClose_nb:
901
1002
  :version: 810
902
- :args: - OCISvcCtx *svchp
1003
+ :args:
1004
+ - OCISvcCtx *svchp
903
1005
  - OCIError *errhp
904
1006
  - OCILobLocator *locp
905
1007
 
906
1008
  # round trip: 1
907
1009
  OCILobCreateTemporary_nb:
908
1010
  :version: 810
909
- :args: - OCISvcCtx *svchp
1011
+ :args:
1012
+ - OCISvcCtx *svchp
910
1013
  - OCIError *errhp
911
1014
  - OCILobLocator *locp
912
1015
  - ub2 csid
@@ -915,10 +1018,19 @@ OCILobCreateTemporary_nb:
915
1018
  - boolean cache
916
1019
  - OCIDuration duration
917
1020
 
1021
+ # round trip: 1
1022
+ OCILobFreeTemporary_nb:
1023
+ :version: 810
1024
+ :args:
1025
+ - OCISvcCtx *svchp
1026
+ - OCIError *errhp
1027
+ - OCILobLocator *locp
1028
+
918
1029
  # round trip: 1
919
1030
  OCILobGetChunkSize_nb:
920
1031
  :version: 810
921
- :args: - OCISvcCtx *svchp
1032
+ :args:
1033
+ - OCISvcCtx *svchp
922
1034
  - OCIError *errhp
923
1035
  - OCILobLocator *locp
924
1036
  - ub4 *chunksizep
@@ -926,7 +1038,8 @@ OCILobGetChunkSize_nb:
926
1038
  # round trip: 0
927
1039
  OCILobIsTemporary:
928
1040
  :version: 810
929
- :args: - OCIEnv *envp
1041
+ :args:
1042
+ - OCIEnv *envp
930
1043
  - OCIError *errhp
931
1044
  - OCILobLocator *locp
932
1045
  - boolean *is_temporary
@@ -934,7 +1047,8 @@ OCILobIsTemporary:
934
1047
  # round trip: 1 if either destination or source lob is a temporary, otherwise 0
935
1048
  OCILobLocatorAssign_nb:
936
1049
  :version: 810
937
- :args: - OCISvcCtx *svchp
1050
+ :args:
1051
+ - OCISvcCtx *svchp
938
1052
  - OCIError *errhp
939
1053
  - CONST OCILobLocator *src_locp
940
1054
  - OCILobLocator **dst_locpp
@@ -942,14 +1056,16 @@ OCILobLocatorAssign_nb:
942
1056
  # round trip 1
943
1057
  OCILobOpen_nb:
944
1058
  :version: 810
945
- :args: - OCISvcCtx *svchp
1059
+ :args:
1060
+ - OCISvcCtx *svchp
946
1061
  - OCIError *errhp
947
1062
  - OCILobLocator *locp
948
1063
  - ub1 mode
949
1064
 
950
1065
  OCIMessageOpen:
951
1066
  :version: 810
952
- :args: - dvoid *envhp
1067
+ :args:
1068
+ - dvoid *envhp
953
1069
  - OCIError *errhp
954
1070
  - OCIMsg **msghp
955
1071
  - CONST OraText *product
@@ -959,7 +1075,8 @@ OCIMessageOpen:
959
1075
  OCIMessageGet:
960
1076
  :version: 810
961
1077
  :ret: OraText *
962
- :args: - OCIMsg *msgh
1078
+ :args:
1079
+ - OCIMsg *msgh
963
1080
  - ub4 msgno
964
1081
  - OraText *msgbuf
965
1082
  - size_t buflen
@@ -967,7 +1084,8 @@ OCIMessageGet:
967
1084
  # round trip: 0
968
1085
  OCINumberIsInt:
969
1086
  :version: 810
970
- :args: - OCIError *err
1087
+ :args:
1088
+ - OCIError *err
971
1089
  - CONST OCINumber *number
972
1090
  - boolean *result
973
1091
  :code_if_not_found: |
@@ -994,7 +1112,8 @@ OCINumberIsInt:
994
1112
  # round trip: 0
995
1113
  OCINumberPrec:
996
1114
  :version: 810
997
- :args: - OCIError *err
1115
+ :args:
1116
+ - OCIError *err
998
1117
  - CONST OCINumber *number
999
1118
  - eword nDigs
1000
1119
  - OCINumber *result
@@ -1003,7 +1122,8 @@ OCINumberPrec:
1003
1122
  OCINumberSetPi:
1004
1123
  :version: 810
1005
1124
  :ret: void
1006
- :args: - OCIError *err
1125
+ :args:
1126
+ - OCIError *err
1007
1127
  - OCINumber *num
1008
1128
  :code_if_not_found: |
1009
1129
  static const OCINumber pi = {
@@ -1016,7 +1136,8 @@ OCINumberSetPi:
1016
1136
  # round trip: 0
1017
1137
  OCINumberShift:
1018
1138
  :version: 810
1019
- :args: - OCIError *err
1139
+ :args:
1140
+ - OCIError *err
1020
1141
  - CONST OCINumber *number
1021
1142
  - CONST sword nDig
1022
1143
  - OCINumber *result
@@ -1024,7 +1145,8 @@ OCINumberShift:
1024
1145
  # round trip: 0
1025
1146
  OCINumberSign:
1026
1147
  :version: 810
1027
- :args: - OCIError *err
1148
+ :args:
1149
+ - OCIError *err
1028
1150
  - CONST OCINumber *number
1029
1151
  - sword *result
1030
1152
  :code_if_not_found: |
@@ -1049,7 +1171,8 @@ OCINumberSign:
1049
1171
  # round trip: 0
1050
1172
  OCIReset:
1051
1173
  :version: 810
1052
- :args: - dvoid *hndlp
1174
+ :args:
1175
+ - dvoid *hndlp
1053
1176
  - OCIError *errhp
1054
1177
 
1055
1178
  #
@@ -1059,7 +1182,8 @@ OCIReset:
1059
1182
  # round trip: 0 (not docmented. I guess.)
1060
1183
  OCIDateTimeConstruct:
1061
1184
  :version: 900
1062
- :args: - dvoid *hndl
1185
+ :args:
1186
+ - dvoid *hndl
1063
1187
  - OCIError *err
1064
1188
  - OCIDateTime *datetime
1065
1189
  - sb2 yr
@@ -1075,7 +1199,8 @@ OCIDateTimeConstruct:
1075
1199
  # round trip: 0 (not docmented. I guess.)
1076
1200
  OCIDateTimeGetDate:
1077
1201
  :version: 900
1078
- :args: - dvoid *hndl
1202
+ :args:
1203
+ - dvoid *hndl
1079
1204
  - OCIError *err
1080
1205
  - CONST OCIDateTime *date
1081
1206
  - sb2 *yr
@@ -1085,7 +1210,8 @@ OCIDateTimeGetDate:
1085
1210
  # round trip: 0 (not docmented. I guess.)
1086
1211
  OCIDateTimeGetTime:
1087
1212
  :version: 900
1088
- :args: - dvoid *hndl
1213
+ :args:
1214
+ - dvoid *hndl
1089
1215
  - OCIError *err
1090
1216
  - OCIDateTime *datetime
1091
1217
  - ub1 *hr
@@ -1096,7 +1222,8 @@ OCIDateTimeGetTime:
1096
1222
  # round trip: 0 (not docmented. I guess.)
1097
1223
  OCIIntervalFromText:
1098
1224
  :version: 900
1099
- :args: - dvoid *hndl
1225
+ :args:
1226
+ - dvoid *hndl
1100
1227
  - OCIError *err
1101
1228
  - CONST OraText *inpstr
1102
1229
  - size_t str_len
@@ -1105,7 +1232,8 @@ OCIIntervalFromText:
1105
1232
  # round trip: 0 (not docmented. I guess.)
1106
1233
  OCIDateTimeGetTimeZoneOffset:
1107
1234
  :version: 900
1108
- :args: - dvoid *hndl
1235
+ :args:
1236
+ - dvoid *hndl
1109
1237
  - OCIError *err
1110
1238
  - CONST OCIDateTime *datetime
1111
1239
  - sb1 *hr
@@ -1114,7 +1242,8 @@ OCIDateTimeGetTimeZoneOffset:
1114
1242
  # round trip: 0 (not docmented. I guess.)
1115
1243
  OCIIntervalGetDaySecond:
1116
1244
  :version: 900
1117
- :args: - dvoid *hndl
1245
+ :args:
1246
+ - dvoid *hndl
1118
1247
  - OCIError *err
1119
1248
  - sb4 *dy
1120
1249
  - sb4 *hr
@@ -1126,7 +1255,8 @@ OCIIntervalGetDaySecond:
1126
1255
  # round trip: 0 (not docmented. I guess.)
1127
1256
  OCIIntervalGetYearMonth:
1128
1257
  :version: 900
1129
- :args: - dvoid *hndl
1258
+ :args:
1259
+ - dvoid *hndl
1130
1260
  - OCIError *err
1131
1261
  - sb4 *yr
1132
1262
  - sb4 *mnth
@@ -1135,7 +1265,8 @@ OCIIntervalGetYearMonth:
1135
1265
  # round trip: 0 (not docmented. I guess.)
1136
1266
  OCIIntervalSetDaySecond:
1137
1267
  :version: 900
1138
- :args: - dvoid *hndl
1268
+ :args:
1269
+ - dvoid *hndl
1139
1270
  - OCIError *err
1140
1271
  - sb4 dy
1141
1272
  - sb4 hr
@@ -1147,7 +1278,8 @@ OCIIntervalSetDaySecond:
1147
1278
  # round trip: 0 (not docmented. I guess.)
1148
1279
  OCIIntervalSetYearMonth:
1149
1280
  :version: 900
1150
- :args: - dvoid *hndl
1281
+ :args:
1282
+ - dvoid *hndl
1151
1283
  - OCIError *err
1152
1284
  - sb4 yr
1153
1285
  - sb4 mnth
@@ -1156,7 +1288,8 @@ OCIIntervalSetYearMonth:
1156
1288
  # round trip: 0 (not docmented. I guess.)
1157
1289
  OCIRowidToChar:
1158
1290
  :version: 900
1159
- :args: - OCIRowid *rowidDesc
1291
+ :args:
1292
+ - OCIRowid *rowidDesc
1160
1293
  - OraText *outbfp
1161
1294
  - ub2 *outbflp
1162
1295
  - OCIError *errhp
@@ -1165,7 +1298,8 @@ OCIRowidToChar:
1165
1298
  # This is documented in Oracle 11g.
1166
1299
  OCIServerRelease:
1167
1300
  :version: 900
1168
- :args: - dvoid *hndlp
1301
+ :args:
1302
+ - dvoid *hndlp
1169
1303
  - OCIError *errhp
1170
1304
  - OraText *bufp
1171
1305
  - ub4 bufsz
@@ -1179,7 +1313,8 @@ OCIServerRelease:
1179
1313
  # round trip: 0 (not docmented. I guess.)
1180
1314
  OCINlsCharSetIdToName:
1181
1315
  :version: 920
1182
- :args: - dvoid *envhp
1316
+ :args:
1317
+ - dvoid *envhp
1183
1318
  - oratext *buf
1184
1319
  - size_t buflen
1185
1320
  - ub2 id
@@ -1187,7 +1322,8 @@ OCINlsCharSetIdToName:
1187
1322
  OCINlsCharSetNameToId:
1188
1323
  :version: 920
1189
1324
  :ret: ub2
1190
- :args: - dvoid *envhp
1325
+ :args:
1326
+ - dvoid *envhp
1191
1327
  - const oratext *name
1192
1328
 
1193
1329
  #
@@ -1197,7 +1333,8 @@ OCINlsCharSetNameToId:
1197
1333
  # round trip: 1
1198
1334
  OCILobGetLength2_nb:
1199
1335
  :version: 1010
1200
- :args: - OCISvcCtx *svchp
1336
+ :args:
1337
+ - OCISvcCtx *svchp
1201
1338
  - OCIError *errhp
1202
1339
  - OCILobLocator *locp
1203
1340
  - oraub8 *lenp
@@ -1205,7 +1342,8 @@ OCILobGetLength2_nb:
1205
1342
  # round trip: 0 or 1
1206
1343
  OCILobRead2_nb:
1207
1344
  :version: 1010
1208
- :args: - OCISvcCtx *svchp
1345
+ :args:
1346
+ - OCISvcCtx *svchp
1209
1347
  - OCIError *errhp
1210
1348
  - OCILobLocator *locp
1211
1349
  - oraub8 *byte_amtp
@@ -1222,7 +1360,8 @@ OCILobRead2_nb:
1222
1360
  # round trip: 1
1223
1361
  OCILobTrim2_nb:
1224
1362
  :version: 1010
1225
- :args: - OCISvcCtx *svchp
1363
+ :args:
1364
+ - OCISvcCtx *svchp
1226
1365
  - OCIError *errhp
1227
1366
  - OCILobLocator *locp
1228
1367
  - oraub8 newlen
@@ -1230,7 +1369,8 @@ OCILobTrim2_nb:
1230
1369
  # round trip: 0 or 1
1231
1370
  OCILobWrite2_nb:
1232
1371
  :version: 1010
1233
- :args: - OCISvcCtx *svchp
1372
+ :args:
1373
+ - OCISvcCtx *svchp
1234
1374
  - OCIError *errhp
1235
1375
  - OCILobLocator *locp
1236
1376
  - oraub8 *byte_amtp
@@ -1252,7 +1392,8 @@ OCILobWrite2_nb:
1252
1392
  OCIClientVersion:
1253
1393
  :version: 1020
1254
1394
  :ret: void
1255
- :args: - sword *major_version
1395
+ :args:
1396
+ - sword *major_version
1256
1397
  - sword *minor_version
1257
1398
  - sword *update_num
1258
1399
  - sword *patch_num
@@ -1261,7 +1402,8 @@ OCIClientVersion:
1261
1402
  # round trip: 1
1262
1403
  OCIDBStartup_nb:
1263
1404
  :version: 1020
1264
- :args: - OCISvcCtx *svchp
1405
+ :args:
1406
+ - OCISvcCtx *svchp
1265
1407
  - OCIError *errhp
1266
1408
  - OCIAdmin *admhp
1267
1409
  - ub4 mode
@@ -1270,7 +1412,8 @@ OCIDBStartup_nb:
1270
1412
  # round trip: 1
1271
1413
  OCIDBShutdown_nb:
1272
1414
  :version: 1020
1273
- :args: - OCISvcCtx *svchp
1415
+ :args:
1416
+ - OCISvcCtx *svchp
1274
1417
  - OCIError *errhp
1275
1418
  - OCIAdmin *admhp
1276
1419
  - ub4 mode
@@ -1278,7 +1421,8 @@ OCIDBShutdown_nb:
1278
1421
  # round trip: 1
1279
1422
  OCIPing_nb:
1280
1423
  :version: 1020
1281
- :args: - OCISvcCtx *svchp
1424
+ :args:
1425
+ - OCISvcCtx *svchp
1282
1426
  - OCIError *errhp
1283
1427
  - ub4 mode
1284
1428
 
@@ -1288,7 +1432,8 @@ OCIPing_nb:
1288
1432
 
1289
1433
  OCIArrayDescriptorAlloc:
1290
1434
  :version: 1110
1291
- :args: - const void *parenth
1435
+ :args:
1436
+ - const void *parenth
1292
1437
  - void **descpp
1293
1438
  - const ub4 type
1294
1439
  - ub4 array_size
@@ -1297,5 +1442,6 @@ OCIArrayDescriptorAlloc:
1297
1442
 
1298
1443
  OCIArrayDescriptorFree:
1299
1444
  :version: 1110
1300
- :args: - void **descp
1445
+ :args:
1446
+ - void **descp
1301
1447
  - const ub4 type