Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
dbstat.c
d55ab84
Add the SQLITE_INDEX_SCAN_HEX bit to the sqlite3_index_info.idxFlags bitmask.
by drh
· 11 months ago
1935887
Ensure that all fields of static sqlite3_module objects are explicitly
by drh
· 1 year, 10 months ago
3547e49
Fix lots of harmless, nuisance compiler warnings, mostly unused parameter
by drh
· 2 years, 7 months ago
8b5d7fd
Use sqlite3_result_int64() instead of sqlite3_result_int() when returning
by drh
· 2 years, 8 months ago
d091245
Have the dbstat module arrange things internally so that there are 256 addressable bytes following each page buffer. This way, small buffer overreads caused by corrupt database pages do not lead to undefined behaviour.
by dan
· 3 years, 10 months ago
6bcaba7
Have the dbstat virtual table take a copy of each page buffer that it traverses instead of just a reference to the page-cache object. This avoids problems if an error causes transaction rollback while a dbstat cursor is open. dbsqlfuzz crash-417224040fee04f0f0e62b70265c518893b08769.
by dan
· 3 years, 10 months ago
c28cc32
Fix a bad interaction between the pager cache and the dbstat module that could lead to a malfunction following an OOM. dbsqlfuzz 9ed3e4e3816219d3509d711636c38542bf3f40b1.
by dan
· 3 years, 10 months ago
1e32bed
Further refactoring of the schema table name.
by drh
· 5 years ago
00bd55e
Allow "main" to be used to refer to the main database even after SQLITE_DBCONFIG_MAINDBNAME has been used to assign another alias.
by dan
· 5 years ago
f0a2172
Fix an integer overflow problem with the dbstat virtual table that comes up
by drh
· 5 years ago
2b1c2aa
Create the "trusted_schema" pragma. Add sqlite3_vtab_config() calls to set
by drh
· 6 years ago
2e5bedd
Fix DBSTAT so that it returns now rows, rather than an error when the
by drh
· 6 years ago
664d80b
Omit the omit flat from eq constraints on column "name" of dbstat virtual tables. Fix for [74a4c386].
by dan
· 6 years ago
6fe63b4
Omit the omit flag from eq constraints on column "aggregate" of dbstat virtual tables. Fix for [727074e2].
by dan
· 6 years ago
012b15e
Get the aggregate=TRUE feature working on the DBSTAT virtual table.
by drh
· 6 years ago
dbstat-enhancements
ad84bd8
Begin an enhancement effort for the built-in DBSTAT virtual table.
by drh
· 6 years ago
8eaf565
Improved database corruption detection in the dbstat virtual table.
by drh
· 7 years ago
3e08ba4
Small simplification to the dbstat virtual table.
by drh
· 7 years ago
20b3fc4
Add SQLITE_CONSTRAINT support to the xBestIndex methods on dbstat,
by drh
· 7 years ago
f9dc5f7
Fix a potential buffer overread in the dbstat virtual table when processing
by drh
· 7 years ago
84c501b
Initial code to make shadow tables read-only to ordinary SQL. The now
by drh
· 7 years ago
5aa2037
Fix minor memory leak in the dbstat extension that can occur following an
by drh
· 7 years ago
f888158
Harden the dbstat extension against corrupt database files.
by drh
· 7 years ago
afb39a4
Modify the sqlite3OsFileControl() interface to detect unopened sqlite3_file
by drh
· 7 years ago
7ccf95d
Fix harmless compiler warnings about incomplete structure initializers.
by drh
· 8 years ago
69c3382
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to
by drh
· 9 years ago
6c0e41b
Fix the declaration of the table implemented by DBSTAT so that it uses
by drh
· 9 years ago
fad3039
Enhance ability to debug out-of-memory errors.
by mistachkin
· 9 years ago
40aced5
Add the sqlite3TokenInit() utility function.
by drh
· 9 years ago
b5c557b
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.
by dan
· 9 years ago
9584f58
Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former
by drh
· 10 years ago
a46a4a6
Enhance the DBSTAT virtual table with a new hidden table "schema" that if
by drh
· 10 years ago
8755a5f
Attempt to get DBSTAT to compile without warnings across all build
by drh
· 10 years ago
1081925
Fix a compiler warning when building with tclsqlite3.c and without
by drh
· 10 years ago
6582ae5
Try to get recent sqlite3_analyzer and sqldiff tests working for all
by drh
· 10 years ago
3e0327d
Revamp the way the DBSTAT virtual table is registered.
by drh
· 10 years ago
5f36a83
Testing improvements and corner-case bug fixes for the dbstat virtual table.
by drh
· 10 years ago
857df26
Enhance the dbstat virtual table with the ability to analyze ATTACHed databases.
by drh
· 10 years ago
59ba6e8
Spell SQLITE_OMIT_VIRTUALTABLE correctly in a #if in dbstat.c.
by drh
· 10 years ago
1a4a680
Rename the test_stat.c source file to dbstat.c and rework the makefiles to
by drh
· 10 years ago
dbstat-in-amalgamation
[Renamed (91%) from src/test_stat.c]
84ab953
Include the "dbstat" virtual table in the amalgamation.
by drh
· 10 years ago
9af8646
Fix a faulty assert() in the SELECT code generator and add a test case
by drh
· 10 years ago