@@ -441,7 +441,7 @@ void Oracledb::SetConnectionClass (Local<String> property, Local<Value> value,
441
441
DESCRIPTION
442
442
Get Accessor of isExternalAuth property
443
443
*/
444
- Handle<Value> Oracledb::GetIsExternalAuth ( Local<String> property,
444
+ Handle<Value> Oracledb::GetIsExternalAuth ( Local<String> property,
445
445
const AccessorInfo& info )
446
446
{
447
447
HandleScope scope;
@@ -451,12 +451,13 @@ Handle<Value> Oracledb::GetIsExternalAuth ( Local<String> property,
451
451
return scope.Close (value);
452
452
}
453
453
454
+
454
455
/* ****************************************************************************/
455
456
/*
456
457
DESCRIPTION
457
458
Set Accessor of isExternalAuth property
458
459
*/
459
- void Oracledb::SetIsExternalAuth ( Local<String> property, Local<Value> value,
460
+ void Oracledb::SetIsExternalAuth ( Local<String> property, Local<Value> value,
460
461
const AccessorInfo& info )
461
462
{
462
463
HandleScope scope;
@@ -496,16 +497,17 @@ Handle<Value> Oracledb::GetConnection(const Arguments& args)
496
497
NJS_GET_STRING_FROM_JSON ( connBaton->connStr , connBaton->error ,
497
498
connProps, " connectString" , 0 , exitGetConnection );
498
499
499
- connBaton->stmtCacheSize = oracledb->stmtCacheSize_ ;
500
500
connBaton->connClass = oracledb->connClass_ ;
501
- connBaton->isExternalAuth = oracledb->isExternalAuth_ ;
502
501
503
- // the above properties may be overriden if provided as call parameters
502
+ // the following properties will be overriden if provided as call parameters
503
+
504
+ connBaton->stmtCacheSize = oracledb->stmtCacheSize_ ;
505
+ connBaton->isExternalAuth = oracledb->isExternalAuth_ ;
504
506
505
507
NJS_GET_UINT_FROM_JSON ( connBaton->stmtCacheSize , connBaton->error ,
506
508
connProps, " stmtCacheSize" , 0 , exitGetConnection );
507
- NJS_GET_BOOL_FROM_JSON ( connBaton->isExternalAuth , connBaton->error ,
508
- connProps, " isExternalAuth" , 0 , exitGetConnection );
509
+ NJS_GET_BOOL_FROM_JSON ( connBaton->isExternalAuth , connBaton->error ,
510
+ connProps, " isExternalAuth" , 0 , exitGetConnection );
509
511
510
512
connBaton->oracledb = oracledb;
511
513
connBaton->dpienv = oracledb->dpienv_ ;
0 commit comments