Minor fix.
This commit is contained in:
parent
d505f7f9c8
commit
b936b99531
1 changed files with 4 additions and 3 deletions
|
@ -1308,12 +1308,13 @@ ASYNC_NIF_DECL(
|
||||||
},
|
},
|
||||||
{ // work
|
{ // work
|
||||||
|
|
||||||
WT_CURSOR *cursor = args->cursor_handle->cursor;
|
|
||||||
WT_SESSION *session = args->cursor_handle->session;
|
|
||||||
/* Note: session->close() will cause all open cursors in the session to be
|
/* Note: session->close() will cause all open cursors in the session to be
|
||||||
closed first, so we don't have explicitly to do that here.
|
closed first, so we don't have explicitly to do that here.
|
||||||
|
|
||||||
|
WT_CURSOR *cursor = args->cursor_handle->cursor;
|
||||||
rc = cursor->close(cursor);
|
rc = cursor->close(cursor);
|
||||||
*/
|
*/
|
||||||
|
WT_SESSION *session = args->cursor_handle->session;
|
||||||
int rc = session->close(session, NULL);
|
int rc = session->close(session, NULL);
|
||||||
ASYNC_NIF_REPLY(rc == 0 ? ATOM_OK : __strerror_term(env, rc));
|
ASYNC_NIF_REPLY(rc == 0 ? ATOM_OK : __strerror_term(env, rc));
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue