Skip to content

Commit

Permalink
Add SCRIPT SHOW cmd (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon authored Sep 22, 2024
1 parent c54a463 commit 8e89ad8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions redis/src/cluster_routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 8e89ad8

Please sign in to comment.