mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 13:31:32 +00:00
Lua function creation on EVAL, basic Lua return type to Redis protocol convertion done.
This commit is contained in:
@ -193,7 +193,8 @@ struct redisCommand redisCommandTable[] = {
|
||||
{"migrate",migrateCommand,6,0,NULL,0,0,0,0,0},
|
||||
{"dump",dumpCommand,2,0,NULL,0,0,0,0,0},
|
||||
{"object",objectCommand,-2,0,NULL,0,0,0,0,0},
|
||||
{"client",clientCommand,-2,0,NULL,0,0,0,0,0}
|
||||
{"client",clientCommand,-2,0,NULL,0,0,0,0,0},
|
||||
{"eval",evalCommand,-3,0,NULL,0,0,0,0,0}
|
||||
};
|
||||
|
||||
/*============================ Utility functions ============================ */
|
||||
@ -981,6 +982,7 @@ void initServer() {
|
||||
|
||||
if (server.ds_enabled) dsInit();
|
||||
if (server.cluster_enabled) clusterInit();
|
||||
scriptingInit();
|
||||
srand(time(NULL)^getpid());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user