forked from redis/librdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
186 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[{ | ||
"redis-ver":"255.255.255", | ||
"redis-bits":"64", | ||
"ctime":"1713005699", | ||
"used-mem":"2550192", | ||
"repl-stream-db":"0", | ||
"repl-id":"734638bff92ee423e11e46e417b47acbd2d9c896", | ||
"repl-offset":"390", | ||
"aof-base":"0" | ||
}, | ||
{ | ||
"__dbSize": { | ||
"size": 1, | ||
"expires": 0 | ||
}, | ||
"__SlotInfo": { | ||
"slotId": 7638, | ||
"slotSize": 1, | ||
"slotSExpiresSize": 0 | ||
}, | ||
"abc":"abc" | ||
}] |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[{ | ||
"redis-ver":"255.255.255", | ||
"redis-bits":"64", | ||
"ctime":"1713086666", | ||
"used-mem":"966312", | ||
"aof-base":"0" | ||
},{ | ||
"__Function_1":"#!lua name=mylib2\n\nlocal function my_hset2(keys, args)\n local hash = keys[1]\n local time = redis.call('TIME')[1]\n return redis.call('HSET', hash, '_last_modified_', time, unpack(args))\nend\n\nlocal function my_hgetall2(keys, args)\n redis.setresp(3)\n local hash = keys[1]\n local res = redis.call('HGETALL', hash)\n res['map']['_last_modified_'] = nil\n return res\nend\n\nlocal function my_hlastmodified2(keys, args)\n local hash = keys[1]\n return redis.call('HGET', hash, '_last_modified_')\nend\n\nredis.register_function('my_hset2', my_hset2)\nredis.register_function('my_hgetall2', my_hgetall2)\nredis.register_function('my_hlastmodified2', my_hlastmodified2)\n\n", | ||
"__Function_3":"#!lua name=mylib\n\nlocal function my_hset(keys, args)\n local hash = keys[1]\n local time = redis.call('TIME')[1]\n return redis.call('HSET', hash, '_last_modified_', time, unpack(args))\nend\n\nlocal function my_hgetall(keys, args)\n redis.setresp(3)\n local hash = keys[1]\n local res = redis.call('HGETALL', hash)\n res['map']['_last_modified_'] = nil\n return res\nend\n\nlocal function my_hlastmodified(keys, args)\n local hash = keys[1]\n return redis.call('HGET', hash, '_last_modified_')\nend\n\nredis.register_function('my_hset', my_hset)\nredis.register_function('my_hgetall', my_hgetall)\nredis.register_function('my_hlastmodified', my_hlastmodified)\n\n" | ||
}, | ||
{ | ||
"key_97":"value_97", | ||
"key_90":"value_90", | ||
"key_93":"value_93", | ||
"key_99":"value_99", | ||
"key_96":"value_96", | ||
"key_92":"value_92", | ||
"key_95":"value_95", | ||
"key_91":"value_91", | ||
"key_94":"value_94", | ||
"key_98":"value_98" | ||
}] |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
"redis-ver":"255.255.255", | ||
"redis-bits":"64", | ||
"ctime":"1683103535", | ||
"used-mem":"967040", | ||
"aof-base":"0", | ||
"x":"0", | ||
"y":"1", | ||
"z":"2" | ||
[{ | ||
"redis-ver":"255.255.255", | ||
"redis-bits":"64", | ||
"ctime":"1683103535", | ||
"used-mem":"967040", | ||
"aof-base":"0" | ||
}, | ||
{ | ||
"x":"0" | ||
},{ | ||
"y":"1" | ||
},{ | ||
"z":"2" | ||
}] |
Oops, something went wrong.