From 8e89ad8f3d4a872ceb9bd87027e55ea7f1477b83 Mon Sep 17 00:00:00 2001 From: Shoham Elias <116083498+shohamazon@users.noreply.github.com> Date: Sun, 22 Sep 2024 14:29:32 +0300 Subject: [PATCH] Add SCRIPT SHOW cmd (#188) --- redis/src/cluster_routing.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redis/src/cluster_routing.rs b/redis/src/cluster_routing.rs index 27abd54fe..848d4d750 100644 --- a/redis/src/cluster_routing.rs +++ b/redis/src/cluster_routing.rs @@ -526,6 +526,7 @@ fn base_routing(cmd: &[u8]) -> RouteBy { | b"READONLY" | b"READWRITE" | b"SAVE" + | b"SCRIPT SHOW" | b"TFCALL" | b"TFCALLASYNC" | b"TFUNCTION DELETE" @@ -732,6 +733,7 @@ pub fn is_readonly_cmd(cmd: &[u8]) -> bool { | b"SCRIPT FLUSH" | b"SCRIPT KILL" | b"SCRIPT LOAD" + | b"SCRIPT SHOW" | b"SDIFF" | b"SINTER" | b"SINTERCARD"