diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2014-05-28 15:14:14 +1000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2014-05-28 15:14:14 +1000 |
commit | c904ad189f81d9cb87690eb92bb085322b41795c (patch) | |
tree | 617f0c1db22a87a16f9d509713ae5724fb5c564b /lang/python | |
parent | f5b84b5c5012ef23ac0db5ab7dc839996daa421d (diff) | |
download | mongo-c904ad189f81d9cb87690eb92bb085322b41795c.tar.gz |
Add an app_private field to the WT_ASYNC_OP handle.
Diffstat (limited to 'lang/python')
-rw-r--r-- | lang/python/wiredtiger.i | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/wiredtiger.i b/lang/python/wiredtiger.i index a07b699156e..011e6a959d2 100644 --- a/lang/python/wiredtiger.i +++ b/lang/python/wiredtiger.i @@ -110,7 +110,7 @@ from packing import pack, unpack /* XXX Is there a way to avoid SWIG's numbering? */ pcb->pyasynccb = callback_obj5; Py_XINCREF(pcb->pyasynccb); - (*$1)->async_app_private = pcb; + (*$1)->app_private = pcb; } } } @@ -1033,8 +1033,8 @@ pythonAsyncCallback(WT_ASYNC_CALLBACK *cb, WT_ASYNC_OP *asyncop, int opret, op = (WT_ASYNC_OP_IMPL *)asyncop; session = O2S(op); - pcb = (PY_CALLBACK *)asyncop->async_app_private; - asyncop->async_app_private = NULL; + pcb = (PY_CALLBACK *)asyncop->app_private; + asyncop->app_private = NULL; ret = 0; if (pcb->pyasynccb == NULL) |