1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-05 04:30:38 +03:00

Include the "dbstat" virtual table in the amalgamation.

FossilOrigin-Name: fc6504aa8ca19b3737f72c1e20db8df6b7608dd2
This commit is contained in:
drh
2015-05-04 17:06:39 +00:00
parent 9af8646dce
commit 84ab95395e
8 changed files with 69 additions and 36 deletions

View File

@@ -1910,7 +1910,7 @@ static void open_db(ShellState *p, int keepAlive){
if( p->db==0 ){
sqlite3_initialize();
sqlite3_open(p->zDbFilename, &p->db);
#ifdef SQLITE_ENABLE_STAT_VTAB
#ifdef SQLITE_ENABLE_DBSTAT_VTAB
if( p->db ){
int sqlite3_dbstat_register(sqlite3*);
sqlite3_dbstat_register(p->db);