File tree Expand file tree Collapse file tree 3 files changed +373
-6
lines changed Expand file tree Collapse file tree 3 files changed +373
-6
lines changed Original file line number Diff line number Diff line change 241
241
13.1.11 stream results with bulk size set
242
242
13.1.12 stream stress test
243
243
244
+ <<<<<<< HEAD
245
+ 14. stream2.js
246
+ 14.1 Bind by position and return an array
247
+ 14.2 Bind by name and return an array
248
+ 14.3 Bind by position and return an object
249
+ 14.4 Bind by name and return an object
250
+ 14.5 explicitly set resultSet option to be false
251
+ 14.6 maxRows option is ignored as expect
252
+ 14.7 Negative - queryStream() has no parameters
253
+ 14.8 Negative - give invalid SQL as first parameter
254
+ 14.9 Negatvie - give non-query SQL
255
+ - 14.10 Negative - set streamNumRows to be 0
256
+ - 14.11 Negative - set streamNumRows to be NaN
257
+ 14.12 Negative - set streamNumRows to be a negative number
258
+ 14.13 Negative - set streamNumRows to be a string
259
+
260
+ =======
261
+ >>>>>>> 80041ca9e2b44dc2a3f70e5deb6d8b9da8eaf134
244
262
21. datatypeAssist.js
245
263
246
264
22. dataTypeChar.js
Original file line number Diff line number Diff line change 1
- /* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. */
1
+ /* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. */
2
2
3
3
/******************************************************************************
4
4
*
19
19
* See LICENSE.md for relevant licenses.
20
20
*
21
21
* NAME
22
- * 13. stream .js
22
+ * 13. stream1 .js
23
23
*
24
24
* DESCRIPTION
25
25
* Testing driver query results via stream feature.
31
31
* 51 onwards are for other tests
32
32
*
33
33
*****************************************************************************/
34
+ 'use strict' ;
34
35
35
36
var oracledb = require ( 'oracledb' ) ;
36
- var should = require ( 'should' ) ;
37
- var async = require ( 'async' ) ;
37
+ var should = require ( 'should' ) ;
38
+ var async = require ( 'async' ) ;
38
39
var dbConfig = require ( './dbconfig.js' ) ;
39
40
40
- describe ( '13. stream .js' , function ( ) {
41
+ describe ( '13. stream1 .js' , function ( ) {
41
42
var connection = false ;
42
43
43
44
if ( dbConfig . externalAuth ) {
@@ -178,7 +179,6 @@ describe('13. stream.js', function () {
178
179
179
180
stream . on ( 'error' , function ( error ) {
180
181
should . exist ( error ) ;
181
-
182
182
setTimeout ( done , 500 ) ;
183
183
} ) ;
184
184
You can’t perform that action at this time.
0 commit comments