mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Fix loading of RDB files lua AUX fields when the script is defined.
In the case of slaves loading the RDB from master, or in other similar cases, the script is already defined, and the function registering the script should not fail in the assert() call.
This commit is contained in:
@ -1781,7 +1781,7 @@ void scriptingInit(int setup);
|
||||
int ldbRemoveChild(pid_t pid);
|
||||
void ldbKillForkedSessions(void);
|
||||
int ldbPendingChildren(void);
|
||||
int luaCreateFunction(client *c, lua_State *lua, char *funcname, robj *body);
|
||||
int luaCreateFunction(client *c, lua_State *lua, char *funcname, robj *body, int allow_dup);
|
||||
|
||||
/* Blocked clients */
|
||||
void processUnblockedClients(void);
|
||||
|
Reference in New Issue
Block a user