| 2913 | } |
| 2914 | |
| 2915 | static CommandCtx* getCommandCtx(PythonThreadCtx* ptctx){ |
| 2916 | CommandCtx* commandCtx = NULL; |
| 2917 | if(ptctx->currEctx){ |
| 2918 | commandCtx = RedisGears_CommandCtxGet(ptctx->currEctx); |
| 2919 | }else{ |
| 2920 | commandCtx = ptctx->commandCtx; |
| 2921 | } |
| 2922 | |
| 2923 | return commandCtx; |
| 2924 | } |
| 2925 | |
| 2926 | static CommandReaderTriggerCtx* getCommandReaderTriggerCtx(PythonThreadCtx* ptctx){ |
| 2927 | CommandReaderTriggerCtx* crtCtx = NULL; |
no outgoing calls
no test coverage detected