@@ -73,13 +73,15 @@ describe('96.binding_procedureBindOut.js', function() {
73
73
var doTest = function ( table_name , procName , bindType , dbColType , content , sequence , nullBind , callback ) {
74
74
async . series ( [
75
75
function ( cb ) {
76
+ procName = procName + "_1" ;
76
77
var bindVar = {
77
78
i : { val : sequence , type : oracledb . NUMBER , dir : oracledb . BIND_IN } ,
78
79
c : { val : content , type : bindType , dir : oracledb . BIND_OUT , maxSize : 1000 }
79
80
} ;
80
81
inBind ( table_name , procName , sequence , dbColType , bindVar , bindType , nullBind , cb ) ;
81
82
} ,
82
83
function ( cb ) {
84
+ procName = procName + "_2" ;
83
85
var bindVar = [ sequence , { val : content , type : bindType , dir : oracledb . BIND_OUT , maxSize : 1000 } ] ;
84
86
inBind ( table_name , procName , sequence , dbColType , bindVar , bindType , nullBind , cb ) ;
85
87
}
@@ -117,7 +119,6 @@ describe('96.binding_procedureBindOut.js', function() {
117
119
"END " + proc_name + "; " ;
118
120
var sqlRun = "BEGIN " + proc_name + " (:i, :c); END;" ;
119
121
var proc_drop = "DROP PROCEDURE " + proc_name ;
120
- // console.log(proc);
121
122
var inserted = getInsertVal ( dbColType , nullBind ) ;
122
123
var insertSql = "insert into " + table_name + " (id, content) values (:c1, :c2)" ;
123
124
async . series ( [
@@ -215,6 +216,7 @@ describe('96.binding_procedureBindOut.js', function() {
215
216
} ) ;
216
217
217
218
it ( '96.1.2 oracledb.STRING <--> DB: CHAR' , function ( done ) {
219
+ if ( connection . oracleServerVersion < 1201000200 ) this . skip ( ) ;
218
220
index ++ ;
219
221
var table_name = tableNamePre + index ;
220
222
var proc_name = procPre + index ;
@@ -226,6 +228,7 @@ describe('96.binding_procedureBindOut.js', function() {
226
228
} ) ;
227
229
228
230
it ( '96.1.3 oracledb.STRING <--> DB: NCHAR' , function ( done ) {
231
+ if ( connection . oracleServerVersion < 1201000200 ) this . skip ( ) ;
229
232
index ++ ;
230
233
var table_name = tableNamePre + index ;
231
234
var proc_name = procPre + index ;
0 commit comments