get, put, delete don't use sessions, only cursors so don't fetch the

shared session.
This commit is contained in:
Gregory Burd 2013-04-18 11:59:10 -04:00
parent 83bca853f3
commit 7a148b9f19

View file

@ -1039,13 +1039,6 @@ ASYNC_NIF_DECL(
return;
}
WT_SESSION *session = NULL;
int rc = __session_for(args->conn_handle, worker_id, &session);
if (rc != 0) {
ASYNC_NIF_REPLY(__strerror_term(env, rc));
return;
}
WT_CURSOR *cursor = NULL;
rc = __retain_cursor(args->conn_handle, worker_id, args->uri, &cursor);
if (rc != 0) {
@ -1101,13 +1094,6 @@ ASYNC_NIF_DECL(
return;
}
WT_SESSION *session = NULL;
int rc = __session_for(args->conn_handle, worker_id, &session);
if (rc != 0) {
ASYNC_NIF_REPLY(__strerror_term(env, rc));
return;
}
WT_CURSOR *cursor = NULL;
rc = __retain_cursor(args->conn_handle, worker_id, args->uri, &cursor);
if (rc != 0) {
@ -1186,13 +1172,6 @@ ASYNC_NIF_DECL(
return;
}
WT_SESSION *session = NULL;
int rc = __session_for(args->conn_handle, worker_id, &session);
if (rc != 0) {
ASYNC_NIF_REPLY(__strerror_term(env, rc));
return;
}
WT_CURSOR *cursor = NULL;
rc = __retain_cursor(args->conn_handle, worker_id, args->uri, &cursor);
if (rc != 0) {