Commit 3781668
committed
fix(sql): use internal_err for unreachable array_has arg count check
Replace `Ok(None)` with `internal_err!` in the else branch of the
array_has argument destructure, since array_has always takes exactly
2 arguments and the branch is unreachable.1 parent b5fb72b commit 3781668
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
365 | 368 | | |
366 | 369 | | |
367 | 370 | | |
| |||
0 commit comments