Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
attach.c
b081a39
Merge latest changes from trunk into this branch.
by dan
· 5 months ago
win32-enable-setlk
ef86b94
Code changes that make it easier to prove that no 32-bit integer overflows
by drh
· 5 months ago
138951d
Merge latest changes from trunk into this branch.
by dan
· 5 months ago
2d87894
Experimental change to allow clients to block when taking a SHARED lock to connect to a wal mode database.
by dan
· 5 months ago
c850c2b
Add two new sqlite3_db_config() options that enable the ATTACH command
by drh
· 6 months ago
enable-attach
bc4df60
Remove the never-used and never-documented and long-ago deprecated
by drh
· 9 months ago
1521ca4
Refactor the SrcItem object so that information about subqueries is stored
by drh
· 11 months ago
8797bd6
Reduce the size of the SrcItem object by combining fields into a union.
by drh
· 11 months ago
c1b54fa
Fix harmless compiler warnings.
by drh
· 2 years, 6 months ago
42d652c
Two branches associated with memdb are now always taken (I believe). Tag
by drh
· 2 years, 6 months ago
d993b15
Ensure that the database encoding cannot be changed while there are statements running. And that the connection is left in a valid state after an obscure OOM within sqlite3_deserialize().
by dan
· 2 years, 6 months ago
d44f8b2
Improved technique for parsing the ON and USING clauses of a join is faster
by drh
· 3 years, 3 months ago
1da88b5
Add ALWAYS() macros. Change some existing ALWAYS() into assert(). Other
by drh
· 3 years, 6 months ago
f975107
Protect all accesses to the FuncDef.u and Expr.u unions using nearby
by drh
· 3 years, 10 months ago
7d4c94b
Fix harmless static-analyzer warnings.
by drh
· 3 years, 10 months ago
cd1499f
Replace [0f0959c6f95046e8] with a new and better solution that also fixes the
by drh
· 4 years, 2 months ago
8d889af
Enable the sqlite3_serialize() and sqlite3_deserialize() interfaces by
by drh
· 4 years, 2 months ago
fe599b0
Fix a problem allowing SQL variables to be used expressions within the second and subsequent ON CONFLICT clauses of an UPSERT within a trigger.
by dan
· 4 years, 3 months ago
5e8e746
An improvement to check-in [1a341378ab24a509] that omits the new
by drh
· 4 years, 3 months ago
7b0d34f
Ensure that variables are not used in the WINDOW clause of a query inside
by drh
· 4 years, 3 months ago
7601294
Rename the "struct SrcList_item" object to the more succinct "SrcItem".
by drh
· 4 years, 5 months ago
c5eb176
Fix a harmless compiler warning.
by drh
· 4 years, 6 months ago
f380c3f
Fix a problem caused by using an SQL variable in an OVER clause within a trigger program.
by dan
· 4 years, 6 months ago
fix-over-trigger
99744fa
Add support for the sqlite3_txn_state() interface.
by drh
· 5 years ago
e7877b2
Support UPDATE...FROM statements in trigger programs.
by dan
· 5 years ago
7d76fad
Simplify some of the code modified by the previous commit.
by dan
· 5 years ago
465c2b8
Consolidate some code on this branch.
by dan
· 5 years ago
main-alias-fix
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
df97d43
Ensure that the filename passed into the xFullPathname method of the VFS is
by drh
· 5 years ago
b48c0d5
Simplify the code by removing the unsupported and undocumented
by drh
· 5 years ago
2928a15
Refactor names of flags for improved legibility.
by drh
· 6 years ago
920cf59
Simplify the bytecode generation for SQL function calls such that the
by drh
· 6 years ago
6397a78
If a TEMP TRIGGER references an auxiliary schema, and that auxiliary schema
by drh
· 6 years ago
42d2fce
Provide the SQLITE_DIRECTONLY flag for app-defined functions that prohibits
by drh
· 6 years ago
directonly
46b3415
Fix a problem with the user-auth extension and deserializing in-memory databases.
by dan
· 6 years ago
fcb0242
When deserializing a database (sqlite3_deserialize()), do not attempt to parse the schema before the data is loaded.
by dan
· 6 years ago
e598972
Honor key query parameters for SEE on the URI filename for ATTACH
by drh
· 6 years ago
91a21f4
Turn on ASAN for the dbfuzz2 utility. Fix a buffer overread associated
by drh
· 7 years ago
9196c81
Eponymous virtual tables appear to exist in all schemas. This is an alternative
by drh
· 7 years ago
147ad06
Enhance triggers so that they can use table-valued-functions that exist in
by drh
· 7 years ago
9a94722
Fix problem with window functions min() and max() when used with a PARTITION
by dan
· 7 years ago
86fb6e1
Start of experimental implementation of SQL window functions. Does not yet work.
by dan
· 7 years ago
b2c8559
Avoid many unnecessary calls to sqlite3ReadSchema() and sqlite3Init() when
by drh
· 7 years ago
4751b87
Ensure that there are no bind-parameters or incorrect schema references in
by drh
· 7 years ago
84fbff1
Prohibit bound parameters in the arguments to table-valued functions within
by drh
· 7 years ago
9c6396e
Improved documentation for sqlite3_serialize() and sqlite3_deserialize().
by drh
· 7 years ago
8784efa
Handle some boundary cases in memdb associated with OOM faults.
by drh
· 7 years ago
2825e4e
Merge the latest enhancements from trunk.
by drh
· 7 years ago
3993678
Remove a superfluous "#if 1". No logic changes.
by drh
· 7 years ago
713f34a
Do not allow parameters or schema references inside of WITH clause of
by drh
· 7 years ago
a5bb435
New test cases and fixes for minor problems.
by drh
· 8 years ago
99abe5c
Miscellaneous code and comment cleanup.
by drh
· 8 years ago
3ec8665
Replace sqlite3_memdb_config() with sqlite3_deserialize(). Remove the
by drh
· 8 years ago
8c0833f
In the parse tree, combine LIMIT and OFFSET into a single expression rooted
by drh
· 8 years ago
cf20148
Allow ATTACH and DETACH to occur inside of a transaction.
by drh
· 8 years ago
attach-in-trans
ba87c6c
Minor refactoring change to clarify how ATTACH works. No functional changes.
by drh
· 8 years ago
38eef32
Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll()
by drh
· 9 years ago
4360fce
Take care not to try to generate code for the ATTACH and DETACH commands
by drh
· 9 years ago
209bc52
Add the EP_Leaf flag bit to the Expr.flags field to indicate Expr
by drh
· 9 years ago
7152cc0
If no KEY is specified on ATTACH, copy the main schema key if the key size
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
c2ae207
Make the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS
by drh
· 9 years ago
default-synchronous
50a1a5a
Add compile-time options SQLITE_DEFAULT_SYNCHRONOUS and
by drh
· 9 years ago
6702f76
Fix ATTACH to use the symbolic name PAGER_SYNCHRONOUS_FULL rather than
by drh
· 9 years ago
32c4990
Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors.
by drh
· 9 years ago
80738d9
Improvements to the application-defined function mechanism so that it is
by drh
· 9 years ago
many-app-functions
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
6d25899
Refinements to synchronous logic:
by drh
· 9 years ago
9b34abe
Use sqlite3VdbeAddOp4() rather than a separate sqlite3VdbeChangeP4() call, for
by drh
· 10 years ago
2d80151
Combine the xFunc and xStep pointers of the FuncDef object into a single
by drh
· 10 years ago
9c7c913
Cache the sqlite3_context structure in the P4 operand of VDBE programs
by drh
· 10 years ago
97ab32b
Remove unnecessary parser error count increments. Let the sqlite3ErrorMsg()
by drh
· 10 years ago
2647dfa
On a DETACH statement, keep all schemas intact except fo the one that is
by drh
· 10 years ago
ad0961b
Keep track of the optimal number of reserved bytes (by looking at reserve
by drh
· 10 years ago
5942b01
Make sure the Btree mutex is held when setting the locking mode and the
by drh
· 11 years ago
threadtest4
a000ca6
All interfaces working and tested.
by drh
· 11 years ago
32c6a48
Add support for the extra parameter on the sqlite3_set_authorizer() callback
by drh
· 11 years ago
aed1819
Allow any arbitrary expression as the filename in an ATTACH statement,
by drh
· 12 years ago
d100f69
The sqlite3FixInit() routine cannot fail. So change the return type from "int"
by drh
· 12 years ago
46539d7
Return an error if an attempt is made to create a trigger with an SQL variable embedded within it. If such a variable reference is found within a trigger definition loaded from the sqlite_master table, silently replace it with a NULL.
by dan
· 12 years ago
c5cd124
Increase the number of bits available in Expr.flags. Other tweaks aimed at
by drh
· 12 years ago
expr-tuning
d36e104
Combine the FuncDef.iPrefEnc and FuncDef.flags fields into a single
by drh
· 12 years ago
feb56e0
Adjust #ifdefs to get SQLITE_OMIT_AUTOMATIC_INDEX and SQLITE_OMIT_PAGER_PRAGMAS
by drh
· 12 years ago
d3605a4
The fullfsync, checkpoint_fullfsync, and cache_spill pragmas apply to all
by drh
· 12 years ago
cache_spill
48864df
Many spelling fixes in comments. No changes to code.
by mistachkin
· 12 years ago
7f5febc
Make sure memory is freed using a routine that is compatible with the
by drh
· 13 years ago
41fb5cd
Shared-cache mode fixes for views and virtual tables.
by dan
· 13 years ago
81028a4
The former sqlite3ResetInternalSchema() routine was really two different
by drh
· 13 years ago
ffd9668
Set the sqlite3.mallocFailed flag if sqlite3ParseUri fails with SQLITE_NOMEM.
by drh
· 14 years ago
522c26f
Fix minor compiler warnings.
by drh
· 14 years ago
3a6d8ae
Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do.
by dan
· 14 years ago
9f6106f
When ATTACH-ing a new database to an existing database with a codec, do
by drh
· 14 years ago
c7792fa
Begin a series of changes designed to reduce the scope and frequency of
by drh
· 14 years ago
0097eb3
Fix the ATTACH command so that the filename argument can be any expression
by drh
· 14 years ago
6ac78a0
Fix several harmless compiler warnings.
by drh
· 15 years ago
75c014c
Remove the sqlite3BtreeFactor() wrapper routine. All modules now call
by drh
· 15 years ago
c6b2a0f
Change the journal_mode pragma to remove the "default journal mode" concept.
by drh
· 15 years ago
558814f
Add some 'const' markers to static data that is really constant.
by dan
· 15 years ago
Next »