/ History for src/dbstat.c
Login

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

History for src/dbstat.c

2020-06-19
13:33
[3aa79fc3] part of check-in [9536fa0a] Further refactoring of the schema table name. (check-in: [9536fa0a] user: drh branch: trunk, size: 27580)
2020-03-20
20:54
[793deaf8] part of check-in [75c85ca3] Allow "main" to be used to refer to the main database even after SQLITE_DBCONFIG_MAINDBNAME has been used to assign another alias. (check-in: [75c85ca3] user: dan branch: main-alias-fix, size: 27580)
2020-03-19
17:27
[33fc9838] part of check-in [1d64f4a8] Fix an integer overflow problem with the dbstat virtual table that comes up when trying to analyze a corrupt database. (check-in: [1d64f4a8] user: drh branch: trunk, size: 27530)
2020-01-07
19:45
[0f552974] part of check-in [4c21373c] Create the "trusted_schema" pragma. Add sqlite3_vtab_config() calls to set the risk rank for many virtual tables. (check-in: [4c21373c] user: drh branch: new-security-options, size: 27482)
2020-01-04
19:14
[5125f559] part of check-in [5b246b47] Fix DBSTAT so that it returns no rows, rather than an error when the WHERE clause is "schema=NULL". (check-in: [5b246b47] user: drh branch: trunk, size: 27431)
18:38
[bf7fbea4] part of check-in [cfff5cb2] Omit the omit flat from eq constraints on column "name" of dbstat virtual tables. Fix for [74a4c386]. (check-in: [cfff5cb2] user: dan branch: trunk, size: 27560)
14:00
[427b13c2] part of check-in [74ef6f2b] Omit the omit flag from eq constraints on column "aggregate" of dbstat virtual tables. Fix for [727074e2]. (check-in: [74ef6f2b] user: dan branch: trunk, size: 27778)
2019-11-19
18:48
[6c407e54] part of check-in [16fef3db] Get the aggregate=TRUE feature working on the DBSTAT virtual table. (check-in: [16fef3db] user: drh branch: dbstat-enhancements, size: 27705)
14:01
[191351e6] part of check-in [9b5722f0] Begin an enhancement effort for the built-in DBSTAT virtual table. (check-in: [9b5722f0] user: drh branch: dbstat-enhancements, size: 26391)
2019-01-09
11:19
[c12833de] part of check-in [fc5ecc88] Improved database corruption detection in the dbstat virtual table. (check-in: [fc5ecc88] user: drh branch: trunk, size: 23460)
11:06
[71f0bb9c] part of check-in [9d4c156f] Small simplification to the dbstat virtual table. (check-in: [9d4c156f] user: drh branch: trunk, size: 23347)
2018-11-16
20:18
[3c8bd4e7] part of check-in [5cd24e55] Add SQLITE_CONSTRAINT support to the xBestIndex methods on dbstat, sqlite_dbpage, and zipfile. (check-in: [5cd24e55] user: drh branch: trunk, size: 23429)
2018-11-13
20:21
[d54c2449] part of check-in [a62e6b59] Fix a potential buffer overread in the dbstat virtual table when processing a corrupt database file. (check-in: [a62e6b59] user: drh branch: trunk, size: 23478)
2018-11-05
23:01
[9ad3f2d9] part of check-in [31942b3d] 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. (check-in: [31942b3d] user: drh branch: read-only-shadow, size: 23418)
2018-10-29
18:33
[e042b0e7] part of check-in [cb874fd8] Fix minor memory leak in the dbstat extension that can occur following an attempt to analyze a corrupt database file. (check-in: [cb874fd8] user: drh branch: trunk, size: 23366)
16:07
[5f96184b] part of check-in [a0d47f25] Harden the dbstat extension against corrupt database files. (check-in: [a0d47f25] user: drh branch: trunk, size: 23264)
2018-03-29
13:47
[edabb826] part of check-in [1fc72b70] Modify the sqlite3OsFileControl() interface to detect unopened sqlite3_file objects and return SQLITE_NOTFOUND. (check-in: [1fc72b70] user: drh branch: trunk, size: 22840)
2017-07-12
18:05
[7a4ba851] part of check-in [604c11d1] Fix harmless compiler warnings about incomplete structure initializers. (check-in: [604c11d1] user: drh branch: trunk, size: 22859)
2016-08-18
14:33
[19ee7a4e] part of check-in [92a22f01] 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. (check-in: [92a22f01] user: drh branch: zDbSName, size: 22707)
2016-06-13
15:59
[4f6f7f52] part of check-in [a1e1cdc5] Fix the declaration of the table implemented by DBSTAT so that it uses correct datatypes. (check-in: [a1e1cdc5] user: drh branch: trunk, size: 22701)
2016-02-13
23:43
[c845548d] part of check-in [6a9c4a3e] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3e] user: mistachkin branch: noMemBkpt, size: 22701)
2016-01-22
17:48
[b2ec6793] part of check-in [73231753] Add the sqlite3TokenInit() utility function. (check-in: [73231753] user: drh branch: trunk, size: 22651)
15:44
[d33af6b4] part of check-in [e60461e9] 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. (check-in: [e60461e9] user: dan branch: trunk, size: 22735)
2015-11-04
20:22
[ffd63fc8] part of check-in [708253be] Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former macro called sqlite3PagerGet() has been removed. (check-in: [708253be] user: drh branch: trunk, size: 22602)
2015-09-08
21:12
[e637e7a7] part of check-in [6beb512c] 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(). (check-in: [6beb512c] user: drh branch: trunk, size: 22593)
2015-05-12
19:10
[f402e77e] part of check-in [c3cbe3b0] Attempt to get DBSTAT to compile without warnings across all build configurations. (check-in: [c3cbe3b0] user: drh branch: trunk, size: 20717)
14:22
[d0b0757e] part of check-in [aad3ff25] Fix a compiler warning when building with tclsqlite3.c and without SQLITE_ENABLE_DBSTAT_VTAB. (check-in: [aad3ff25] user: drh branch: trunk, size: 20717)
12:24
[7fd79cb5] part of check-in [07c7d392] 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. (check-in: [07c7d392] user: drh branch: trunk, size: 20750)
2015-05-11
11:59
[fa5b981f] part of check-in [4e652015] Revamp the way the DBSTAT virtual table is registered. (check-in: [4e652015] user: drh branch: trunk, size: 20616)
2015-05-07
18:29
[db36fbd2] part of check-in [d51ce539] Testing improvements and corner-case bug fixes for the dbstat virtual table. (check-in: [d51ce539] user: drh branch: trunk, size: 20618)
14:41
[a9c0550f] part of check-in [25ec0940] Enhance the dbstat virtual table with the ability to analyze ATTACHed databases. (check-in: [25ec0940] user: drh branch: trunk, size: 20438)
2015-05-05
10:46
[1eacd310] part of check-in [d2cb1bec] Spell SQLITE_OMIT_VIRTUALTABLE correctly in a #if in dbstat.c. (check-in: [d2cb1bec] user: drh branch: trunk, size: 19929)
2015-05-04
18:31
[ae435cf8] part of check-in [a24480a4] Rename the test_stat.c source file to dbstat.c and rework the makefiles to make dbstat.c a first-class source module. (check-in: [a24480a4] user: drh branch: dbstat-in-amalgamation, size: 19930) Renamed from src/test_stat.c