On Tue, 22 Nov 2016 16:08:49 -0800
Scott Hess <[email protected]> wrote:
> One could perhaps fake pedantic pragma with SQLITE_FCNTL_PRAGMA in a
> custom VFS, but that seems a little excessive for something like this.
> Something like "PRAGMA pedantic_pragma = on" would be much slicker.
You might take some comfort in knowing that the C standard mandates the
same behavior for C compilers: unrecognized pragma statements are
ignored.
> PRAGMA pedantic_pragma = on
has the same chicken-and-egg problem. If you mistakenly type
PRAGMA pedantic_pragmas = on
you're back at square one.
I think perhaps a better solution would be to add something to
sqlite3_config. That at least has error semantics if incorrectly
used.
--jkl
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users