Commit 8b894d1
committed
fix(redis): address PR review findings
- Fix trailing backslash dropped inside unclosed quotes
- Enforce positive integers for EX/PX values
- Free redisContext in markDisconnected() to prevent leak
- Guard against empty string crash in withArgvPointers
- Remove SELECT 1 interception that blocked database switching
- Add resetCancellation to fetchRows/fetchTables/switchDatabase
- Make SCAN cache database-aware to prevent cross-db stale results
- Return empty string from dropObjectStatement to prevent SQL fallback
- Handle ZADD INCR/CH flags in reply formatting
- Rename hash insert fallback field from "field" to "value"
- Use flatMap for double-optional unwrapping in QueryHelpers1 parent a60565f commit 8b894d1
5 files changed
Lines changed: 39 additions & 30 deletions
File tree
- Plugins/RedisDriverPlugin
- TablePro/Views/Main/Extensions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
951 | 951 | | |
952 | 952 | | |
953 | 953 | | |
954 | | - | |
955 | | - | |
| 954 | + | |
| 955 | + | |
956 | 956 | | |
957 | 957 | | |
958 | 958 | | |
| |||
980 | 980 | | |
981 | 981 | | |
982 | 982 | | |
983 | | - | |
| 983 | + | |
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
| |||
990 | 990 | | |
991 | 991 | | |
992 | 992 | | |
993 | | - | |
| 993 | + | |
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
| 564 | + | |
564 | 565 | | |
565 | 566 | | |
566 | 567 | | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
567 | 571 | | |
568 | 572 | | |
569 | 573 | | |
| |||
574 | 578 | | |
575 | 579 | | |
576 | 580 | | |
577 | | - | |
| 581 | + | |
578 | 582 | | |
579 | | - | |
580 | | - | |
581 | | - | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
582 | 586 | | |
583 | 587 | | |
584 | 588 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 89 | | |
102 | 90 | | |
103 | 91 | | |
| |||
134 | 122 | | |
135 | 123 | | |
136 | 124 | | |
| 125 | + | |
137 | 126 | | |
138 | 127 | | |
139 | 128 | | |
| |||
144 | 133 | | |
145 | 134 | | |
146 | 135 | | |
147 | | - | |
| 136 | + | |
| 137 | + | |
148 | 138 | | |
149 | 139 | | |
150 | 140 | | |
| |||
180 | 170 | | |
181 | 171 | | |
182 | 172 | | |
| 173 | + | |
183 | 174 | | |
184 | 175 | | |
185 | 176 | | |
| |||
389 | 380 | | |
390 | 381 | | |
391 | 382 | | |
| 383 | + | |
392 | 384 | | |
393 | 385 | | |
394 | 386 | | |
| |||
408 | 400 | | |
409 | 401 | | |
410 | 402 | | |
411 | | - | |
412 | | - | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
413 | 406 | | |
414 | 407 | | |
415 | 408 | | |
| |||
897 | 890 | | |
898 | 891 | | |
899 | 892 | | |
900 | | - | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
901 | 906 | | |
902 | | - | |
| 907 | + | |
903 | 908 | | |
904 | | - | |
905 | | - | |
| 909 | + | |
| 910 | + | |
906 | 911 | | |
907 | 912 | | |
908 | 913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| |||
0 commit comments