@@ -726,53 +726,7 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
726726 ] , done ) ;
727727 } ) ; // 77.1.18
728728
729- it ( '77.1.19 works with Buffer size (5MB + 1)' , function ( done ) {
730- var size = 5242881 ; // 5 * 1024 * 1024 + 1;
731- var sequence = insertID ++ ;
732- var specialStr = "77.1.19" ;
733- var bigStr = random . getRandomString ( size , specialStr ) ;
734- var bufferStr = node6plus ? Buffer . from ( bigStr , "utf-8" ) : new Buffer ( bigStr , "utf-8" ) ;
735- var bindVar = {
736- i : { val : sequence , type : oracledb . NUMBER , dir : oracledb . BIND_IN } ,
737- b : { val : bufferStr , type : oracledb . BUFFER , dir : oracledb . BIND_IN , maxSize : size }
738- } ;
739- var option = { autoCommit : true } ;
740-
741- async . series ( [
742- function ( cb ) {
743- plsqlBindIn ( sqlRun , bindVar , option , true , client11gPlus , cb ) ;
744- } ,
745- function ( cb ) {
746- var sql = "select blob_1 from nodb_tab_blob_in where id = " + sequence ;
747- compareBindInResult ( sql , bufferStr , specialStr , true , client11gPlus , cb ) ;
748- }
749- ] , done ) ;
750- } ) ; // 77.1.19
751-
752- it ( '77.1.20 works with Buffer size (10MB + 1)' , function ( done ) {
753- var size = 10485761 ; // 10 * 1024 * 1024 + 1;
754- var sequence = insertID ++ ;
755- var specialStr = "77.1.20" ;
756- var bigStr = random . getRandomString ( size , specialStr ) ;
757- var bufferStr = node6plus ? Buffer . from ( bigStr , "utf-8" ) : new Buffer ( bigStr , "utf-8" ) ;
758- var bindVar = {
759- i : { val : sequence , type : oracledb . NUMBER , dir : oracledb . BIND_IN } ,
760- b : { val : bufferStr , type : oracledb . BUFFER , dir : oracledb . BIND_IN , maxSize : size }
761- } ;
762- var option = { autoCommit : true } ;
763-
764- async . series ( [
765- function ( cb ) {
766- plsqlBindIn ( sqlRun , bindVar , option , true , client11gPlus , cb ) ;
767- } ,
768- function ( cb ) {
769- var sql = "select blob_1 from nodb_tab_blob_in where id = " + sequence ;
770- compareBindInResult ( sql , bufferStr , specialStr , true , client11gPlus , cb ) ;
771- }
772- ] , done ) ;
773- } ) ; // 77.1.20
774-
775- it ( '77.1.21 works with bind value and type mismatch' , function ( done ) {
729+ it ( '77.1.19 works with bind value and type mismatch' , function ( done ) {
776730 var sequence = insertID ++ ;
777731 var bindVar = {
778732 i : { val : sequence , type : oracledb . NUMBER , dir : oracledb . BIND_IN } ,
@@ -790,12 +744,12 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
790744 done ( ) ;
791745 }
792746 ) ;
793- } ) ; // 77.1.21
747+ } ) ; // 77.1.19
794748
795- it ( '77.1.22 mixing named with positional binding' , function ( done ) {
749+ it ( '77.1.20 mixing named with positional binding' , function ( done ) {
796750 var size = 50000 ;
797751 var sequence = insertID ++ ;
798- var specialStr = "77.1.22 " ;
752+ var specialStr = "77.1.20 " ;
799753 var bigStr = random . getRandomString ( size , specialStr ) ;
800754 var bufferStr = node6plus ? Buffer . from ( bigStr , "utf-8" ) : new Buffer ( bigStr , "utf-8" ) ;
801755 var bindVar = [ sequence , { val : bufferStr , type : oracledb . BUFFER , dir : oracledb . BIND_IN , maxSize : size } ] ;
@@ -811,9 +765,9 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
811765 compareBindInResult ( sql , bufferStr , specialStr , false , client11gPlus , cb ) ;
812766 }
813767 ] , done ) ;
814- } ) ; // 77.1.22
768+ } ) ; // 77.1.20
815769
816- it ( '77.1.23 works with invalid BLOB' , function ( done ) {
770+ it ( '77.1.21 works with invalid BLOB' , function ( done ) {
817771 var sequence = insertID ++ ;
818772 var bindVar = {
819773 i : { val : sequence , type : oracledb . NUMBER , dir : oracledb . BIND_IN } ,
@@ -831,12 +785,12 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
831785 done ( ) ;
832786 }
833787 ) ;
834- } ) ; // 77.1.23
788+ } ) ; // 77.1.21
835789
836- it ( '77.1.24 works without maxSize' , function ( done ) {
790+ it ( '77.1.22 works without maxSize' , function ( done ) {
837791 var size = 65535 ;
838792 var sequence = insertID ++ ;
839- var specialStr = "77.1.24 " ;
793+ var specialStr = "77.1.22 " ;
840794 var bigStr = random . getRandomString ( size , specialStr ) ;
841795 var bufferStr = node6plus ? Buffer . from ( bigStr , "utf-8" ) : new Buffer ( bigStr , "utf-8" ) ;
842796 var bindVar = {
@@ -854,12 +808,12 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
854808 compareBindInResult ( sql , bufferStr , specialStr , false , client11gPlus , cb ) ;
855809 }
856810 ] , done ) ;
857- } ) ; // 77.1.24
811+ } ) ; // 77.1.22
858812
859- it ( '77.1.25 works with bind in maxSize smaller than buffer size' , function ( done ) {
813+ it ( '77.1.23 works with bind in maxSize smaller than buffer size' , function ( done ) {
860814 var size = 65535 ;
861815 var sequence = insertID ++ ;
862- var specialStr = "77.1.25 " ;
816+ var specialStr = "77.1.23 " ;
863817 var bigStr = random . getRandomString ( size , specialStr ) ;
864818 var bufferStr = node6plus ? Buffer . from ( bigStr , "utf-8" ) : new Buffer ( bigStr , "utf-8" ) ;
865819 var bindVar = {
@@ -877,9 +831,9 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
877831 compareBindInResult ( sql , bufferStr , specialStr , false , client11gPlus , cb ) ;
878832 }
879833 ] , done ) ;
880- } ) ; // 77.1.25
834+ } ) ; // 77.1.23
881835
882- it ( '77.1.26 works with UPDATE' , function ( done ) {
836+ it ( '77.1.24 works with UPDATE' , function ( done ) {
883837 var proc_7726 = "CREATE OR REPLACE PROCEDURE nodb_blobs_in_7726 (blob_id IN NUMBER, blob_in IN BLOB, blob_update IN BLOB)\n" +
884838 "AS \n" +
885839 "BEGIN \n" +
@@ -890,11 +844,11 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
890844 var proc_drop_7726 = "DROP PROCEDURE nodb_blobs_in_7726" ;
891845 var sequence = insertID ++ ;
892846 var size_1 = 65535 ;
893- var specialStr_1 = "77.1.26_1 " ;
847+ var specialStr_1 = "77.1.24_1 " ;
894848 var bigStr_1 = random . getRandomString ( size_1 , specialStr_1 ) ;
895849 var bufferStr_1 = node6plus ? Buffer . from ( bigStr_1 , "utf-8" ) : new Buffer ( bigStr_1 , "utf-8" ) ;
896850 var size_2 = 30000 ;
897- var specialStr_2 = "77.1.26_2 " ;
851+ var specialStr_2 = "77.1.24_2 " ;
898852 var bigStr_2 = random . getRandomString ( size_2 , specialStr_2 ) ;
899853 var bufferStr_2 = node6plus ? Buffer . from ( bigStr_2 , "utf-8" ) : new Buffer ( bigStr_2 , "utf-8" ) ;
900854 var bindVar = {
@@ -926,7 +880,7 @@ describe('77. blobPlsqlBindAsBuffer_bindin.js', function() {
926880 executeSQL ( proc_drop_7726 , cb ) ;
927881 }
928882 ] , done ) ;
929- } ) ; // 77.1.26
883+ } ) ; // 77.1.24
930884
931885 } ) ; // 77.1
932886
0 commit comments