Skip to content

fix: restore sqlite3 -line output separator#63

Open
blob42 wants to merge 1 commit into
sunaku:masterfrom
blob42:fix-sqlite3-line-separator
Open

fix: restore sqlite3 -line output separator#63
blob42 wants to merge 1 commit into
sunaku:masterfrom
blob42:fix-sqlite3-line-separator

Conversation

@blob42

@blob42 blob42 commented May 31, 2026

Copy link
Copy Markdown

sqlite3 3.50+ changed -line mode separator from = to :.

Downstream awk parsers in dasht-query-line and dasht-query-html expect key = value format. The \ == "=" match never fires with colon separator, producing empty results.

Add explicit -separator ' = ' to sqlite3 call in dasht-query-exec to restore compatibility.

@sunaku

sunaku commented Jun 1, 2026

Copy link
Copy Markdown
Owner

Thanks for this patch! 💖 There is an unrelated Makefile addition bundled in this patch: would you mind extracting that out into a separate patch to keep this focused? Cheers.

@sunaku sunaku self-assigned this Jun 1, 2026
@blob42

blob42 commented Jun 3, 2026

Copy link
Copy Markdown
Author

@sunaku sure I added it by mistake

sqlite3 3.50+ changed -line mode separator from ' = ' to ': '.
Downstream awk parsers expect ' = ' format. Explicitly set
-separator to restore compatibility.
@blob42 blob42 force-pushed the fix-sqlite3-line-separator branch from d63af26 to bf50b59 Compare June 3, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants