summaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2019-07-30 15:11:57 +0300
committerOran Agra <oran@redislabs.com>2019-07-30 15:11:57 +0300
commit4339706e07e15fe5a228d175756c4e4be83e2867 (patch)
treeabce0152881d0f3abe4ab7dddb1f41e617a21f7d /src/server.h
parentd7d028a7a72388cf3908a5f40c8188e68a447dee (diff)
downloadredis-4339706e07e15fe5a228d175756c4e4be83e2867.tar.gz
Avoid diskelss-load if modules did not declare they handle read errors
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server.h b/src/server.h
index 9957c3b5c..5991cfa6c 100644
--- a/src/server.h
+++ b/src/server.h
@@ -599,7 +599,6 @@ typedef struct RedisModuleIO {
* 2 (current version with opcodes annotation). */
struct RedisModuleCtx *ctx; /* Optional context, see RM_GetContextFromIO()*/
struct redisObject *key; /* Optional name of key processed */
- int flags; /* flags declaring capabilities or behavior */
} RedisModuleIO;
/* Macro to initialize an IO context. Note that the 'ver' field is populated
@@ -612,7 +611,6 @@ typedef struct RedisModuleIO {
iovar.ver = 0; \
iovar.key = keyptr; \
iovar.ctx = NULL; \
- iovar.flags = 0; \
} while(0);
/* This is a structure used to export DEBUG DIGEST capabilities to Redis
@@ -1530,6 +1528,7 @@ void moduleAcquireGIL(void);
void moduleReleaseGIL(void);
void moduleNotifyKeyspaceEvent(int type, const char *event, robj *key, int dbid);
void moduleCallCommandFilters(client *c);
+int moduleAllDatatypesHandleErrors();
/* Utils */
long long ustime(void);