Commit 834d2b3
committed
Fix
We were incorrectly ignoring errors when calling `is_numeric_string`,
meaning we would truncate hash fields that had integer prefixes.
```php
$redis->hmget('hash', ['123notaninteger']);
// Would actually execute:
// HMGET hash 123
```
Fixes #2731HMGET where hash fields have an integer prefix1 parent 2f2d811 commit 834d2b3Copy full SHA for 834d2b3
2 files changed
+19-1Lines changed: 19 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- tests
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2688 | 2688 | |
2689 | 2689 | |
2690 | 2690 | |
2691 | | - |
| 2691 | + |
2692 | 2692 | |
2693 | 2693 | |
2694 | 2694 | |
|
Collapse file
+18Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3395 | 3395 | |
3396 | 3396 | |
3397 | 3397 | |
| 3398 | + |
| 3399 | + |
| 3400 | + |
| 3401 | + |
| 3402 | + |
| 3403 | + |
| 3404 | + |
| 3405 | + |
| 3406 | + |
| 3407 | + |
| 3408 | + |
| 3409 | + |
| 3410 | + |
| 3411 | + |
| 3412 | + |
| 3413 | + |
| 3414 | + |
| 3415 | + |
3398 | 3416 | |
3399 | 3417 | |
3400 | 3418 | |
|
0 commit comments