Skip to content

Commit e298c94

Browse files
committed
Remove trailing whitespace
1 parent d5293ef commit e298c94

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

doc/api.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3332,7 +3332,7 @@ parallel operations on a connection. For example, instead of using
33323332
`async.parallel` or `async.each()` which calls each of its items in
33333333
parallel, use `async.series` or `async.eachSeries()`. Also
33343334
see [Connections and Number of Threads](#numberofthreads).
3335-
3335+
33363336
### <a name="select"></a> 9.1 SELECT Statements
33373337
33383338
#### <a name="fetchingrows"></a> 9.1.1 Fetching Rows
@@ -4994,7 +4994,7 @@ containing the XML, or use a temporary LOB, depending on the data
49944994
length.
49954995
49964996
```javascript
4997-
var myxml =
4997+
var myxml =
49984998
`<Warehouse>
49994999
<WarehouseId>1</WarehouseId>
50005000
<WarehouseName>Melbourne, Australia</WarehouseName>
@@ -5010,7 +5010,7 @@ var myxml =
50105010

50115011
connection.execute(
50125012
"INSERT INTO xwarehouses (warehouse_id, warehouse_spec) VALUES (:id, XMLType(:bv))",
5013-
{ id: 1, bv: myxml },
5013+
{ id: 1, bv: myxml },
50145014
. . .
50155015
```
50165016
@@ -5151,7 +5151,7 @@ name in the statement when scanned left to right.
51515151

51525152
If a bind variable name is repeated in the SQL string
51535153
then [bind by name](#bindbyname) syntax should be used.
5154-
5154+
51555155
#### Data Type Notes
51565156

51575157
When binding a JavaScript Date value in an `INSERT` statement, it is

examples/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var docleanup = function (conn, cb) {
5959
EXCEPTION
6060
WHEN e_table_exists
6161
THEN NULL;
62-
END;
62+
END;
6363
END;`,
6464
function(err) {
6565
return cb(err, conn);

src/njs/src/njsCommon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ typedef enum {
101101
// User defined data types for binds and defines.
102102
//-----------------------------------------------------------------------------
103103
typedef enum {
104-
NJS_DATATYPE_UNKNOWN = -1,
104+
NJS_DATATYPE_UNKNOWN = -1,
105105
NJS_DATATYPE_DEFAULT = 0, // Used in FetchInfo Context only (use DB type)
106106
NJS_DATATYPE_STR = 2001,
107107
NJS_DATATYPE_NUM = 2002,

src/njs/src/njsConnection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ void njsConnection::Async_AfterExecute(njsBaton *baton, Local<Value> argv[])
15001500
Nan::Set(result, Nan::New<String>("resultSet").ToLocalChecked(),
15011501
resultSet);
15021502

1503-
// otherwise, return rows
1503+
// otherwise, return rows
15041504
} else {
15051505
Local<Object> rows;
15061506
if (!GetRows(baton, rows))

test/dmlReturning.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ describe('6. dmlReturning.js', function(){
166166
function(err, result) {
167167
should.exist(err);
168168
should.strictEqual(
169-
err.message,
169+
err.message,
170170
"NJS-016: buffer is too small for OUT binds"
171171
);
172172
should.not.exist(result);

test/plsqlBindIndexedTable1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ describe('43. plsqlBindIndexedTable1.js', function() {
10441044
function(err) {
10451045
should.exist(err);
10461046
should.strictEqual(
1047-
err.message,
1047+
err.message,
10481048
"DPI-1015: array size of 987654321 is too large"
10491049
);
10501050
done();

0 commit comments

Comments
 (0)