Commit 0c17bd2
committed
Make the XREADGROUP optional COUNT and BLOCK arguments nullable.
Change the way we accept COUNT and BLOCK such that a user can pass NULL
to mean "no value". This is technically a breaking change, since
previously the value `-1` was used for "no value".
Fixes #15601 parent 6e49417 commit 0c17bd2
2 files changed
Lines changed: 31 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3466 | 3466 | | |
3467 | 3467 | | |
3468 | 3468 | | |
3469 | | - | |
| 3469 | + | |
| 3470 | + | |
3470 | 3471 | | |
3471 | | - | |
| 3472 | + | |
3472 | 3473 | | |
3473 | | - | |
| 3474 | + | |
3474 | 3475 | | |
3475 | 3476 | | |
3476 | 3477 | | |
3477 | 3478 | | |
| 3479 | + | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
3478 | 3485 | | |
3479 | 3486 | | |
3480 | 3487 | | |
3481 | 3488 | | |
3482 | 3489 | | |
3483 | 3490 | | |
3484 | 3491 | | |
3485 | | - | |
| 3492 | + | |
3486 | 3493 | | |
3487 | 3494 | | |
3488 | 3495 | | |
| |||
3491 | 3498 | | |
3492 | 3499 | | |
3493 | 3500 | | |
3494 | | - | |
| 3501 | + | |
3495 | 3502 | | |
3496 | 3503 | | |
3497 | 3504 | | |
3498 | 3505 | | |
3499 | 3506 | | |
3500 | | - | |
| 3507 | + | |
3501 | 3508 | | |
3502 | 3509 | | |
3503 | 3510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5687 | 5687 | | |
5688 | 5688 | | |
5689 | 5689 | | |
| 5690 | + | |
| 5691 | + | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
| 5696 | + | |
5690 | 5697 | | |
5691 | 5698 | | |
5692 | 5699 | | |
5693 | | - | |
| 5700 | + | |
5694 | 5701 | | |
5695 | 5702 | | |
| 5703 | + | |
| 5704 | + | |
| 5705 | + | |
| 5706 | + | |
| 5707 | + | |
| 5708 | + | |
| 5709 | + | |
| 5710 | + | |
| 5711 | + | |
| 5712 | + | |
5696 | 5713 | | |
5697 | 5714 | | |
5698 | 5715 | | |
| |||
0 commit comments