1
- /* Copyright (c) 2018, 2022 , Oracle and/or its affiliates. */
1
+ /* Copyright (c) 2018, 2024 , Oracle and/or its affiliates. */
2
2
3
3
/******************************************************************************
4
4
*
@@ -221,7 +221,7 @@ describe('163. executeMany1.js', function() {
221
221
222
222
it ( '163.6 shows dmlRowCounts' , async function ( ) {
223
223
224
- if ( ( testsUtil . getClientVersion < 1201000200 )
224
+ if ( ( testsUtil . getClientVersion ( ) < 1201000200 )
225
225
|| ( conn . oracleServerVersion < 1201000200 ) ) {
226
226
return this . skip ( ) ;
227
227
}
@@ -241,7 +241,7 @@ describe('163. executeMany1.js', function() {
241
241
242
242
it ( '163.7 shows batchErrors behavior' , async function ( ) {
243
243
244
- if ( ( testsUtil . getClientVersion < 1201000200 )
244
+ if ( ( testsUtil . getClientVersion ( ) < 1201000200 )
245
245
|| ( conn . oracleServerVersion < 1201000200 ) ) {
246
246
return this . skip ( ) ;
247
247
}
@@ -283,7 +283,7 @@ describe('163. executeMany1.js', function() {
283
283
284
284
it ( '163.8 Negative - batchErrors with non-DML statement' , async function ( ) {
285
285
286
- if ( testsUtil . getClientVersion < 1201000200 ) {
286
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
287
287
return this . skip ( ) ;
288
288
}
289
289
@@ -309,7 +309,7 @@ describe('163. executeMany1.js', function() {
309
309
310
310
it ( '163.9 if batchErrors is disabled' , async function ( ) {
311
311
312
- if ( testsUtil . getClientVersion < 1201000200 ) {
312
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
313
313
return this . skip ( ) ;
314
314
}
315
315
@@ -346,7 +346,7 @@ describe('163. executeMany1.js', function() {
346
346
} ) ; // 163.9
347
347
348
348
it ( '163.10 Negative - dmlRowCounts with non-DML statement' , async function ( ) {
349
- if ( testsUtil . getClientVersion < 1201000200 ) {
349
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
350
350
return this . skip ( ) ;
351
351
}
352
352
@@ -526,7 +526,7 @@ describe('163. executeMany1.js', function() {
526
526
527
527
it ( '163.18 Negative - executeMany with SELECT query, positional bind' , async function ( ) {
528
528
529
- if ( testsUtil . getClientVersion < 1201000200 ) {
529
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
530
530
return this . skip ( ) ;
531
531
}
532
532
@@ -544,7 +544,7 @@ describe('163. executeMany1.js', function() {
544
544
545
545
it ( '163.19 Negative - executeMany with SELECT query, named bind' , async function ( ) {
546
546
547
- if ( testsUtil . getClientVersion < 1201000200 ) {
547
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
548
548
return this . skip ( ) ;
549
549
}
550
550
@@ -562,7 +562,7 @@ describe('163. executeMany1.js', function() {
562
562
563
563
it ( '163.20 Negative - executeMany with WITH SQL clause, positional bind' , async function ( ) {
564
564
565
- if ( testsUtil . getClientVersion < 1201000200 ) {
565
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
566
566
return this . skip ( ) ;
567
567
}
568
568
@@ -580,7 +580,7 @@ describe('163. executeMany1.js', function() {
580
580
581
581
it ( '163.21 Negative - executeMany with WITH SQL clause, named bind' , async function ( ) {
582
582
583
- if ( testsUtil . getClientVersion < 1201000200 ) {
583
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
584
584
return this . skip ( ) ;
585
585
}
586
586
@@ -598,7 +598,7 @@ describe('163. executeMany1.js', function() {
598
598
599
599
it ( '163.22 Negative - executeMany with SELECT query, multiple positional binds' , async function ( ) {
600
600
601
- if ( testsUtil . getClientVersion < 1201000200 ) {
601
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
602
602
return this . skip ( ) ;
603
603
}
604
604
@@ -616,7 +616,7 @@ describe('163. executeMany1.js', function() {
616
616
617
617
it ( '163.23 Negative - executeMany with WITH SQL clause and multiple positional binds' , async function ( ) {
618
618
619
- if ( testsUtil . getClientVersion < 1201000200 ) {
619
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
620
620
return this . skip ( ) ;
621
621
}
622
622
@@ -634,7 +634,7 @@ describe('163. executeMany1.js', function() {
634
634
635
635
it ( '163.24 Negative - executeMany with SELECT query and invalid bind variable' , async function ( ) {
636
636
637
- if ( testsUtil . getClientVersion < 1201000200 ) {
637
+ if ( testsUtil . getClientVersion ( ) < 1201000200 ) {
638
638
return this . skip ( ) ;
639
639
}
640
640
@@ -653,7 +653,7 @@ describe('163. executeMany1.js', function() {
653
653
it ( '163.25 Negative - executeMany with DDL - CREATE TABLE' , async function ( ) {
654
654
655
655
// Does not throw the proper error in Thin mode yet
656
- if ( testsUtil . getClientVersion < 1201000200 || oracledb . thin ) {
656
+ if ( testsUtil . getClientVersion ( ) < 1201000200 || oracledb . thin ) {
657
657
return this . skip ( ) ;
658
658
}
659
659
0 commit comments