From ceb44e6255fd255f69532276c7fa45c42c8e3823 Mon Sep 17 00:00:00 2001 From: Pengda Yang Date: Thu, 27 Jul 2023 21:17:29 +0800 Subject: [PATCH] feat: add support for transaction Signed-off-by: Pengda Yang --- cts.json | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) diff --git a/cts.json b/cts.json index 677ca8b..a7da9c6 100644 --- a/cts.json +++ b/cts.json @@ -5248,5 +5248,78 @@ "OK" ], "since": "4.0.0" + }, + + { + "name": "discard command", + "command": [ + "multi", + "set k v", + "discard" + ], + "result": [ + "OK", + "QUEUED", + "OK" + ], + "since": "2.0.0" + }, + + { + "name": "exec command", + "command": [ + "multi", + "set k v", + "exec" + ], + "result": [ + "OK", + "QUEUED", + [ + "OK" + ] + ], + "since": "1.2.0" + }, + + { + "name": "multi command", + "command": [ + "multi", + "set k v", + "discard" + ], + "result": [ + "OK", + "QUEUED", + "OK" + ], + "since": "1.2.0" + }, + + { + "name": "unwatch command", + "command": [ + "watch key", + "unwatch" + ], + "result": [ + "OK", + "True" + ], + "since": "2.2.0" + }, + + { + "name": "watch command", + "command": [ + "watch key", + "unwatch" + ], + "result": [ + "OK", + "True" + ], + "since": "2.2.0" } ]