]> git.saurik.com Git - redis.git/blobdiff - src/redis.c
Lua function creation on EVAL, basic Lua return type to Redis protocol convertion...
[redis.git] / src / redis.c
index 63b41ba841a0467f2057f3845e84880efdffeb2b..931eb1d72a5416cf47f32d926caa24f4bcab84d6 100644 (file)
@@ -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());
 }