/ File History
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of src/dbstat.c

2019-01-09
11:19
Improved database corruption detection in the dbstat virtual table. file: [c12833de] check-in: [fc5ecc88] user: drh branch: trunk, size: 23460
11:06
Small simplification to the dbstat virtual table. file: [71f0bb9c] check-in: [9d4c156f] user: drh branch: trunk, size: 23347
2018-11-16
20:18
Add SQLITE_CONSTRAINT support to the xBestIndex methods on dbstat, sqlite_dbpage, and zipfile. file: [3c8bd4e7] check-in: [5cd24e55] user: drh branch: trunk, size: 23429
2018-11-13
20:21
Fix a potential buffer overread in the dbstat virtual table when processing a corrupt database file. file: [d54c2449] check-in: [a62e6b59] user: drh branch: trunk, size: 23478
2018-11-05
23:01
Initial code to make shadow tables read-only to ordinary SQL. The now xShadowName method is added to the sqlite3_module object and is used to identify potential shadow tables. The SQLITE_PREPARE_SHADOW argument to sqlite3_prepare_v3() is defined. It is designed to permit writing to shadow tables, but is currently an unused placeholder. file: [9ad3f2d9] check-in: [31942b3d] user: drh branch: read-only-shadow, size: 23418
2018-10-29
18:33
Fix minor memory leak in the dbstat extension that can occur following an attempt to analyze a corrupt database file. file: [e042b0e7] check-in: [cb874fd8] user: drh branch: trunk, size: 23366
16:07
Harden the dbstat extension against corrupt database files. file: [5f96184b] check-in: [a0d47f25] user: drh branch: trunk, size: 23264
2018-03-29
13:47
Modify the sqlite3OsFileControl() interface to detect unopened sqlite3_file objects and return SQLITE_NOTFOUND. file: [edabb826] check-in: [1fc72b70] user: drh branch: trunk, size: 22840
2017-07-12
18:05
Fix harmless compiler warnings about incomplete structure initializers. file: [7a4ba851] check-in: [604c11d1] user: drh branch: trunk, size: 22859
2016-08-18
14:33
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to distinguish it from all of the other "zName" variables scattered throughout the code. file: [19ee7a4e] check-in: [92a22f01] user: drh branch: zDbSName, size: 22707
2016-06-13
15:59
Fix the declaration of the table implemented by DBSTAT so that it uses correct datatypes. file: [4f6f7f52] check-in: [a1e1cdc5] user: drh branch: trunk, size: 22701
2016-02-13
23:43
Enhance ability to debug out-of-memory errors. file: [c845548d] check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 22701
2016-01-22
17:48
Add the sqlite3TokenInit() utility function. file: [b2ec6793] check-in: [73231753] user: drh branch: trunk, size: 22651
15:44
Have the dbstat module dequote any argument passed to the CREATE VIRTUAL TABLE statement before attempting to match it against the names of attached databases. file: [d33af6b4] check-in: [e60461e9] user: dan branch: trunk, size: 22735
2015-11-04
20:22
Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former macro called sqlite3PagerGet() has been removed. file: [ffd63fc8] check-in: [708253be] user: drh branch: trunk, size: 22602
2015-09-08
21:12
Enhance the DBSTAT virtual table with a new hidden table "schema" that if set will cause the table to report on the specified schema rather than on "main". Also: Fix a faulty assert in sqlite3_context_db_handle(). file: [e637e7a7] check-in: [6beb512c] user: drh branch: trunk, size: 22593
2015-05-12
19:10
Attempt to get DBSTAT to compile without warnings across all build configurations. file: [f402e77e] check-in: [c3cbe3b0] user: drh branch: trunk, size: 20717
14:22
Fix a compiler warning when building with tclsqlite3.c and without SQLITE_ENABLE_DBSTAT_VTAB. file: [d0b0757e] check-in: [aad3ff25] user: drh branch: trunk, size: 20717
12:24
Try to get recent sqlite3_analyzer and sqldiff tests working for all tested combinations of compile-time options, especially SQLITE_OMIT_VIRTUALTABLE and SQLITE_OMIT_LOAD_EXTENSION. file: [7fd79cb5] check-in: [07c7d392] user: drh branch: trunk, size: 20750
2015-05-11
11:59
Revamp the way the DBSTAT virtual table is registered. file: [fa5b981f] check-in: [4e652015] user: drh branch: trunk, size: 20616
2015-05-07
18:29
Testing improvements and corner-case bug fixes for the dbstat virtual table. file: [db36fbd2] check-in: [d51ce539] user: drh branch: trunk, size: 20618
14:41
Enhance the dbstat virtual table with the ability to analyze ATTACHed databases. file: [a9c0550f] check-in: [25ec0940] user: drh branch: trunk, size: 20438
2015-05-05
10:46
Spell SQLITE_OMIT_VIRTUALTABLE correctly in a #if in dbstat.c. file: [1eacd310] check-in: [d2cb1bec] user: drh branch: trunk, size: 19929
2015-05-04
18:31
Rename the test_stat.c source file to dbstat.c and rework the makefiles to make dbstat.c a first-class source module. file: [ae435cf8] check-in: [a24480a4] user: drh branch: dbstat-in-amalgamation, size: 19930 Renamed from src/test_stat.c