Skip to content

Commit 8e89ad8

Browse files
authored
Add SCRIPT SHOW cmd (#188)
1 parent c54a463 commit 8e89ad8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

redis/src/cluster_routing.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ fn base_routing(cmd: &[u8]) -> RouteBy {
526526
| b"READONLY"
527527
| b"READWRITE"
528528
| b"SAVE"
529+
| b"SCRIPT SHOW"
529530
| b"TFCALL"
530531
| b"TFCALLASYNC"
531532
| b"TFUNCTION DELETE"
@@ -732,6 +733,7 @@ pub fn is_readonly_cmd(cmd: &[u8]) -> bool {
732733
| b"SCRIPT FLUSH"
733734
| b"SCRIPT KILL"
734735
| b"SCRIPT LOAD"
736+
| b"SCRIPT SHOW"
735737
| b"SDIFF"
736738
| b"SINTER"
737739
| b"SINTERCARD"

0 commit comments

Comments
 (0)