cli: Improve .schema command output on errors

Improve `.schema` output on errors by marking them as comments. This
allows you to pipe any `.schema` output to another shell.
This commit is contained in:
Pekka Enberg
2025-01-16 14:08:37 +02:00
parent 465c923db1
commit f711d2b7ed
2 changed files with 3 additions and 3 deletions

View File

@@ -227,7 +227,7 @@ do_execshell_test(
pipe,
"test-can-switch-back-to-in-memory",
".schema users",
"Error: Table 'users' not found.",
"-- Error: Table 'users' not found.",
)
do_execshell_test(pipe, "test-verify-null-value", "select NULL;", "LIMBO")