Commit 636b326
committed
fix: handle
- `--limit 0` now correctly calls `immediatelyExecuteSQLWithLimit` (valid for schema inspection)
- `--limit foo` (NaN) is rejected and falls through to unlimited execution
- Wrap `adapter.dispose()` in try-catch to prevent masking command errors--limit 0 for schema inspection and safe dispose() cleanup1 parent 40399d0 commit 636b326
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments