@@ -73,13 +73,15 @@ describe('96.binding_procedureBindOut.js', function() {
7373 var doTest = function ( table_name , procName , bindType , dbColType , content , sequence , nullBind , callback ) {
7474 async . series ( [
7575 function ( cb ) {
76+ procName = procName + "_1" ;
7677 var bindVar = {
7778 i : { val : sequence , type : oracledb . NUMBER , dir : oracledb . BIND_IN } ,
7879 c : { val : content , type : bindType , dir : oracledb . BIND_OUT , maxSize : 1000 }
7980 } ;
8081 inBind ( table_name , procName , sequence , dbColType , bindVar , bindType , nullBind , cb ) ;
8182 } ,
8283 function ( cb ) {
84+ procName = procName + "_2" ;
8385 var bindVar = [ sequence , { val : content , type : bindType , dir : oracledb . BIND_OUT , maxSize : 1000 } ] ;
8486 inBind ( table_name , procName , sequence , dbColType , bindVar , bindType , nullBind , cb ) ;
8587 }
@@ -117,7 +119,6 @@ describe('96.binding_procedureBindOut.js', function() {
117119 "END " + proc_name + "; " ;
118120 var sqlRun = "BEGIN " + proc_name + " (:i, :c); END;" ;
119121 var proc_drop = "DROP PROCEDURE " + proc_name ;
120- // console.log(proc);
121122 var inserted = getInsertVal ( dbColType , nullBind ) ;
122123 var insertSql = "insert into " + table_name + " (id, content) values (:c1, :c2)" ;
123124 async . series ( [
@@ -215,6 +216,7 @@ describe('96.binding_procedureBindOut.js', function() {
215216 } ) ;
216217
217218 it ( '96.1.2 oracledb.STRING <--> DB: CHAR' , function ( done ) {
219+ if ( connection . oracleServerVersion < 1201000200 ) this . skip ( ) ;
218220 index ++ ;
219221 var table_name = tableNamePre + index ;
220222 var proc_name = procPre + index ;
@@ -226,6 +228,7 @@ describe('96.binding_procedureBindOut.js', function() {
226228 } ) ;
227229
228230 it ( '96.1.3 oracledb.STRING <--> DB: NCHAR' , function ( done ) {
231+ if ( connection . oracleServerVersion < 1201000200 ) this . skip ( ) ;
229232 index ++ ;
230233 var table_name = tableNamePre + index ;
231234 var proc_name = procPre + index ;
0 commit comments