Skip to content

Is SQLITE_ENABLE_DBSTAT_VTAB enabled?

Dear developers,

Just wondering whether we have SQLITE_ENABLE_DBSTAT_VTAB enabled by default?

I tried to query the read-only dbstat table[1] in Golang, but it always reports error no such table: dbstat. But if i connect to SQLite db with command line tool sqlite3 directly, it works fine.

The query is simple (for testing):

SELECT * FROM dbstat;

[1] https://www.sqlite.org/dbstat.html