File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 23
23
*
24
24
*****************************************************************************/
25
25
26
+ #include " node.h"
27
+
26
28
#include " njsOracle.h"
27
29
#include " njsConnection.h"
28
30
#include " njsPool.h"
@@ -53,6 +55,7 @@ Oracledb::Oracledb()
53
55
poolMin_ = POOL_MIN;
54
56
poolIncrement_ = POOL_INCR;
55
57
poolTimeout_ = POOL_TIMEOUT;
58
+ connClass_ = " " ;
56
59
}
57
60
58
61
/* ****************************************************************************/
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ class Oracledb: public ObjectWrap
79
79
// Create Pool Methods
80
80
static Handle<Value> CreatePool (const Arguments& args);
81
81
static void Async_CreatePool (uv_work_t *req );
82
- static void Async_AfterCreatePool (uv_work_t *req );
82
+ static void Async_AfterCreatePool (uv_work_t *req);
83
83
84
84
// Define Getter Accessors to Properties
85
85
static Handle<Value> GetPoolMin (Local<String> property,
Original file line number Diff line number Diff line change 23
23
*
24
24
*****************************************************************************/
25
25
26
+ #include " node.h"
27
+
28
+ #include < string>
29
+
26
30
#include " njsOracle.h"
27
31
#include " njsPool.h"
28
32
#include " njsConnection.h"
@@ -504,11 +508,12 @@ void Pool::Async_GetConnection(uv_work_t *req)
504
508
505
509
PARAMETERS:
506
510
UV queue work block
511
+ status - expected to be non-zero.
507
512
508
513
NOTES:
509
514
Connection handle is formed and handed over to JS.
510
515
*/
511
- Handle<Value> Pool::Async_AfterGetConnection (uv_work_t *req)
516
+ void Pool::Async_AfterGetConnection (uv_work_t *req)
512
517
{
513
518
HandleScope scope;
514
519
connectionBaton *connBaton = (connectionBaton*)req->data ;
@@ -536,7 +541,6 @@ Handle<Value> Pool::Async_AfterGetConnection(uv_work_t *req)
536
541
node::FatalException (tc);
537
542
}
538
543
delete connBaton;
539
- return Undefined ();
540
544
}
541
545
542
546
/* ****************************************************************************/
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class Pool: public ObjectWrap {
53
53
// Get Connection Methods
54
54
static Handle<Value> GetConnection (const Arguments& args);
55
55
static void Async_GetConnection (uv_work_t * req);
56
- static Handle<Value> Async_AfterGetConnection (uv_work_t * req);
56
+ static void Async_AfterGetConnection (uv_work_t * req);
57
57
58
58
// Terminate Methods
59
59
static Handle<Value> Terminate (const Arguments& args);
You can’t perform that action at this time.
0 commit comments