SQLite User Forum

Bug report: Unknown VFS error message
Login

Bug report: Unknown VFS error message

(1) By anonymous on 2022-11-22 18:15:51 [source]

Hi,

this is a bug report. I'm referring to SQLite version 3.32.3 on Intel macOS. When I start SQLite on the command line with an unknown VFS like

sqlite3 -vfs win32

it says

no such VFS: "(null)"

The expected output, I guess, would be

no such VFS: "win32"

In the source code for the shell (https://sqlite.org/src/file?name=src/shell.c.in&ci=trunk) the error output is

utf8_printf(stderr, "no such VFS: \"%s\"\n", argv[i]);

I guess argv[i] is not correct and should rather be zVfs

utf8_printf(stderr, "no such VFS: \"%s\"\n", zVfs);

Regards

Tobias