Commit 6ae1657
sqlite3: align -init guard with the no-SQL guard's null check
`options.init` is `string | null`. Using `!== null` (instead of a
truthy check) means `-init ""` actually attempts the read and surfaces
a clear "cannot open" error, matching the no-SQL guard below which
already treats an explicit empty string as "provided".
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 4132293 commit 6ae1657
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
544 | 548 | | |
545 | 549 | | |
546 | 550 | | |
| |||
0 commit comments