File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ async function plsql_out_inout(connection) {
207
207
208
208
console . log ( "5. plsql_out_inout(): Getting a LOB using a PL/SQL OUT bind and inserting it using a PL/SQL IN OUT LOB bind" ) ;
209
209
210
- let result = await connection . execute (
210
+ const result1 = await connection . execute (
211
211
`BEGIN
212
212
lobs_out(:idbv, :cobv, :bobv);
213
213
END;` ,
@@ -218,14 +218,14 @@ async function plsql_out_inout(connection) {
218
218
}
219
219
) ;
220
220
221
- const clob1 = result . outBinds . cobv ;
221
+ const clob1 = result1 . outBinds . cobv ;
222
222
if ( clob1 === null ) {
223
223
throw new Error ( 'plsql_out_inout(): NULL clob1 found' ) ;
224
224
}
225
225
226
226
// Note binding clob1 as IN OUT here causes it be autoclosed by execute().
227
227
// The returned Lob clob2 will be autoclosed because it is streamed to completion.
228
- result = await connection . execute (
228
+ const result2 = await connection . execute (
229
229
`BEGIN
230
230
lob_in_out(:idbv, :ciobv);
231
231
END;` ,
@@ -239,7 +239,7 @@ async function plsql_out_inout(connection) {
239
239
240
240
let errorHandled = false ;
241
241
242
- const clob2 = result . outBinds . ciobv ;
242
+ const clob2 = result2 . outBinds . ciobv ;
243
243
if ( clob2 === null ) {
244
244
throw new Error ( 'plsql_out_inout(): NULL clob2 found' ) ;
245
245
}
You can’t perform that action at this time.
0 commit comments