File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ describe('224. booleanBind.js', function() {
39
39
40
40
const pkgName = 'NODB_PKG_TEST_BOOLEANS' ;
41
41
before ( async function ( ) {
42
- isRunnable = await testsUtil . checkPrerequisites ( 1200000000 , 1200000000 ) ;
42
+ isRunnable = await testsUtil . checkPrerequisites ( 1200000000 , 1202000000 ) ;
43
43
if ( ! isRunnable ) {
44
44
this . skip ( ) ;
45
45
}
Original file line number Diff line number Diff line change @@ -71,14 +71,19 @@ describe('254. jsonBind2.js', function() {
71
71
END;
72
72
EXECUTE IMMEDIATE ('
73
73
CREATE TABLE ` + tableName + ` (
74
- obj_data BLOB CHECK (obj_data IS JSON))
74
+ obj_data BLOB CHECK (obj_data IS JSON)) LOB (obj_data) STORE AS (CACHE)
75
75
');
76
76
END;` ;
77
77
78
78
let result , j ;
79
+ let skip = false ;
79
80
80
81
before ( async function ( ) {
81
82
try {
83
+ if ( conn . oracleServerVersion < 1202000000 ) {
84
+ skip = true ;
85
+ this . skip ( ) ;
86
+ }
82
87
await conn . execute ( create_table_sql ) ;
83
88
} catch ( err ) {
84
89
should . not . exist ( err ) ;
@@ -87,7 +92,9 @@ describe('254. jsonBind2.js', function() {
87
92
88
93
after ( async function ( ) {
89
94
try {
90
- await conn . execute ( "DROP TABLE " + tableName + " PURGE" ) ;
95
+ if ( ! skip ) {
96
+ await conn . execute ( "DROP TABLE " + tableName + " PURGE" ) ;
97
+ }
91
98
} catch ( err ) {
92
99
should . not . exist ( err ) ;
93
100
}
@@ -207,9 +214,6 @@ describe('254. jsonBind2.js', function() {
207
214
} ) ;
208
215
209
216
it ( '254.1.6 Using dot-notation to extract a value from a BLOB column' , async function ( ) {
210
- if ( conn . oracleServerVersion < 1202000000 ) {
211
- this . skip ( ) ;
212
- }
213
217
try {
214
218
const data = { "empId" : 1 , "empName" : "Employee1" , "city" : "New City" } ;
215
219
const sql = `INSERT into ` + tableName + ` VALUES (:bv)` ;
You can’t perform that action at this time.
0 commit comments