Commit 6e1487e
Fix redundant OFFSET and LIMIT handling code
- Remove unnecessary if/else conditionals where both branches do identical operations
- Simplify LIMIT and OFFSET logic while maintaining functionality
- Both pretty and non-pretty modes now use the same streamlined code path
- All tests continue to pass with simplified logic
Co-Authored-By: Dan Lynch <pyramation@gmail.com>1 parent acfcec5 commit 6e1487e
1 file changed
Lines changed: 4 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
| 414 | + | |
| 415 | + | |
421 | 416 | | |
422 | 417 | | |
423 | 418 | | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
| 419 | + | |
| 420 | + | |
431 | 421 | | |
432 | 422 | | |
433 | 423 | | |
| |||
0 commit comments