Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
vtab.c
7fd936e
Further reduction in the amount of memset() needed to initialize the Parse
by drh
· 5 months ago
e16b345
Add the SQLITE_DBCONFIG_ENABLE_COMMENTS setting (default on) to enable or
by drh
· 6 months ago
7f0e0c7
New assert()s to help verify union access. No logic changes. Testing and
by drh
· 10 months ago
c72953a
The sqlite3_declare_vtab() interface should return SQLITE_ERROR, not
by drh
· 1 year, 2 months ago
1872f8d
Simplifications to the sqlite3_declare_vtab() implementation. Changes
by drh
· 1 year, 4 months ago
791b6f3
Revert the previous change. Instead, do a pre-check of the CREATE TABLE
by drh
· 1 year, 4 months ago
f7aab65
Remove an ALWAYS() from a condition that can be true.
by drh
· 1 year, 4 months ago
54eb54c
Changes to vtabCallConstructor() to avoid a harmless static analyzer warning
by drh
· 1 year, 5 months ago
97f7ead
Avoid expiring prepared statements in the middle of an integrity-check.
by dan
· 1 year, 7 months ago
5a05a68
Fix a few SQLITE_MISUSE returns so that they call sqlite3MisuseError().
by drh
· 1 year, 11 months ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
cad6aae
Allow virtual tables to prepare writes to shadow tables in defensive mode from with xRelease() callbacks - even if the xRelease() is invoked from within sqlite3_finalize().
by dan
· 2 years, 3 months ago
0669d6e
Add the SQLITE_VTAB_USES_ALL_SCHEMAS option to sqlite3_vtab_config(). Update
by drh
· 2 years, 4 months ago
3f22b9e
Ensure that an error does not delete the Table object out from under
by drh
· 2 years, 4 months ago
e9b20a9
Defer calling the destructor for the user data on a module until after the
by drh
· 2 years, 6 months ago
63b3a64
The generalized indexed expression optimization of [2435112867fbd7b6] makes
by drh
· 2 years, 9 months ago
41ce47c
Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both the
by drh
· 2 years, 11 months ago
1a25be1
Disable trigger coding while running sqlite3_declare_vtab().
by drh
· 3 years, 4 months ago
c692df2
Make it so that any Parse object is always linked into the database conenction
by drh
· 3 years, 6 months ago
54bc638
Simplify the sqlite3RunParser() routine by omitting the third parameter.
by drh
· 3 years, 7 months ago
1611826
Performance optimization and size reduction in sqlite3RunParser().
by drh
· 3 years, 7 months ago
7b108e4
Add ALWAYS() to a branch made unreachable by the previous check-in.
by drh
· 3 years, 9 months ago
a4a871c
Show the preferred schema table names in the output of "PRAGMA table_list".
by drh
· 3 years, 9 months ago
06b7281
Change a branch made unreachable by the previous check-in into an assert().
by drh
· 3 years, 9 months ago
ddfec00
First the shadow table mechanism so that it works even if the shadow table
by drh
· 3 years, 9 months ago
477572b
Protect access to the Expr.y union using nearby assert()s and branches.
by drh
· 3 years, 10 months ago
78b2fa8
Protect every access to the Table.u union using a nearby assert() or branch.
by drh
· 3 years, 10 months ago
ebd1ff6
Ensure that sqlite_stat1 and sqlite_stat4 are ordinary tables (not views or
by drh
· 3 years, 10 months ago
5f9de6e
Refactor sqlite3.magic into sqlite3.eOpenState.
by drh
· 4 years ago
f38524d
Refactor the Table object to reduce its memory footprint.
by drh
· 4 years ago
79cf2b7
Refactor the way that DEFAULT expressions are stored on columns, in order
by drh
· 4 years ago
bd24e8f
Preserve and return to the user any error message returned by a failed xConnect() call on an eponymous virtual table that prevents a query from being compiled.
by dan
· 4 years ago
3d8c92d
Raise an error on an attempt to rename an eponymous virtual table.
by drh
· 4 years, 3 months ago
a7da40f
Merge changes from trunk into the alter-table-drop-column branch.
by drh
· 4 years, 5 months ago
6f6e60d
Improvement to the INSERT optimization of check-in [16ac213c57196361] so
by drh
· 4 years, 5 months ago
6a5a13d
Fix various issues with the changes on this branch. Add test cases for the same.
by dan
· 4 years, 5 months ago
7dec804
Remove dead code. Fix RETURNING for INSERT into a virtual table.
by drh
· 4 years, 6 months ago
returning-manifested
1e32bed
Further refactoring of the schema table name.
by drh
· 5 years ago
346a70c
Provide "sqlite_schema" as an alternative name to the table that holds the
by drh
· 5 years ago
d924e7b
Use the sqlite3Realloc() interface internally, rather than the public
by drh
· 5 years ago
2928a15
Refactor names of flags for improved legibility.
by drh
· 6 years ago
f4f31df
When creating a new virtual table, ensure that the OP_ParseSchema opcode
by drh
· 6 years ago
a1ca00e
When trying to drop a virtual table that has no xDestroy method, invoke
by drh
· 6 years ago
31046a9
The xDestroy method of a module might be NULL if the schema is corrupt.
by drh
· 6 years ago
8e8c889
Use a statement journal on a CREATE VIRTUAL TABLE statement in case the
by drh
· 6 years ago
c143114
Some (but not all) INSERT and UPDATE statements now work for STORED columns.
by drh
· 6 years ago
1de92a6
Optimization to sqlite3VtabUnlockList() for the common case when there
by drh
· 6 years ago
3722b3a
Fix a typo and a harmless compiler warning.
by mistachkin
· 6 years ago
8c754a3
Omit the "_except" term from the name of the new interface.
by drh
· 6 years ago
sqlite3_drop_modules_except
5df8428
The experimental sqlite3_drop_modules_except() interface.
by drh
· 6 years ago
87ca806
Fix the new ability to unregister virtual table modules so that it works
by drh
· 6 years ago
cc5979d
Add the ability to unregister a virtual table module by invoking
by drh
· 6 years ago
c589acb
Fix a problem allowing a Table object to be deleted from within a call to the xDestroy method of the associated virtual table, causing a use-after-free error.
by dan
· 6 years ago
0aa3231
Enforce the SQLITE_LIMIT_COLUMN limit on virtual tables.
by drh
· 6 years ago
83a635a
Fix problems with SAVEPOINT and related commands within transactions on a corrupt database that include fts5 or some other virtual tables.
by dan
· 6 years ago
7cc5595
Fix harmless compiler warning when compiled with SQLITE_OMIT_AUTHORIZATION.
by mistachkin
· 7 years ago
eda079c
Combine the Expr.pTab and Expr.pWin fields into a union named "y". Add a new
by drh
· 7 years ago
cf8f289
Experimental implementation of ALTER TABLE ... RENAME COLUMN. Still buggy.
by dan
· 7 years ago
ba968db
Do not abort running queries due to a CREATE INDEX statement. Allow them
by drh
· 7 years ago
9201184
Store application-defined function names as lower-case to avoid the need
by drh
· 7 years ago
3ee1416
Avoid using lookaside memory for persistent virtual table structures.
by drh
· 8 years ago
e3740f2
Experimental changes that allow a WITHOUT ROWID virtual table to be writable
by drh
· 8 years ago
7524b61
Preserve the error code from xConnect or xCreate methods in virtual table
by drh
· 8 years ago
6903bf6
Slightly smaller and faster by allocating Parser objects on the stack.
by drh
· 8 years ago
39c9d3a
Remove a NEVER macro for a condition that may be true as of [a47efb7c].
by dan
· 8 years ago
b6bf97b
Remove two redundant initializations from the virtual table logic.
by drh
· 8 years ago
44266ec
Always use the IsVirtual() macro to determine if a Table object is a virtual
by drh
· 8 years ago
9a63f09
Minor bug fixes and enhancements to the pragma eponymous virtual tables.
by drh
· 9 years ago
c06bbce
Merge enhancements from trunk, and especially the ability to use
by drh
· 9 years ago
e0a04a3
All temp.sqlite_master to be used as an alias for sqlite_temp_master.
by drh
· 9 years ago
2fcc159
Code to automatically create eponymous virtual tables for read-only pragmas.
by drh
· 9 years ago
79df778
Refactor the Table.nRef field as Table.nTabRef for easier grepping.
by drh
· 9 years ago
2e5c505
Fix typos in comments. No changes to running code.
by drh
· 9 years ago
69c3382
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to
by drh
· 9 years ago
5360b55
Remove an incorrect ALWAYS() statement and add a test case to show when
by drh
· 9 years ago
914b7e4
Fix a problem introduced by [77948b5eceab92a7] causing duplicate calls to be made to the xSavepoint() method of virtual tables under some circumstances.
by dan
· 9 years ago
0b2c140
Fix a memory leak when a WITHOUT ROWID eponymous virtual table is used.
by drh
· 9 years ago
without-rowid-vtab
7edcf62
Disallow access to the rowid column on WITHOUT ROWID virtual tables.
by drh
· 9 years ago
ac9c3d2
Performance optimizations on the CSV virtual table. Disallow WITHOUT ROWID
by drh
· 9 years ago
273bfe9
Fix corner cases in the WITHOUT ROWID virtual table logic.
by drh
· 9 years ago
62340f8
An experimental branch with code that allows virtual tables to be declared
by drh
· 9 years ago
01c736d
Use sqlite3VdbeAddOp0() to code OP_Expire, to save a few bytes.
by drh
· 9 years ago
d756486
The sqlite3_column_decltype() routine should return NULL, not an empty string,
by drh
· 9 years ago
94eaafa
Reduce the amount of heap required to store many schemas by storing each
by drh
· 9 years ago
schema-storage
6ad224e
Change a char* to const char* in order to suppress some harmless
by drh
· 9 years ago
fad3039
Enhance ability to debug out-of-memory errors.
by mistachkin
· 9 years ago
575fad6
Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority
by drh
· 9 years ago
oom-handling
4a642b6
Improvements to the way that OOM errors are processed.
by drh
· 9 years ago
2d80151
Combine the xFunc and xStep pointers of the FuncDef object into a single
by drh
· 10 years ago
d7fd6aa
Remove two unused lines of code - discovered by scan-build.
by drh
· 10 years ago
65c4f59
Ensure that the xSavepoint() virtual table method is correctly invoked if there are already open savepoints (or statement transactions) the first time a virtual table is written within a transaction.
by dan
· 10 years ago
076e85f
Add the sqlite3VdbeLoadString() and sqlite3VdbeMultiLoad() routines to help
by drh
· 10 years ago
d8b1bfc
Fix corner-case memory management issues in table-valued functions. Change
by drh
· 10 years ago
197d59f
Skip calling the virtual table xDestroy method when it is null.
by mistachkin
· 10 years ago
509c3fc
Fix eponymous virtual tables so that they do not automatically make the first
by drh
· 10 years ago
398f872
Virtual table modules with a null xCreate method act as eponymous-only modules -
by drh
· 10 years ago
b89c92a
Merge changes from trunk.
by drh
· 10 years ago
0e07f6a
Simplification to error handling in addModuleArgument() in the virtual table
by drh
· 10 years ago
51be387
Initial implementation of eponymous virtual table instances.
by drh
· 10 years ago
5d03b9d
Merge latest trunk changes with this branch.
by dan
· 10 years ago
Next »