Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
History for src/attach.c
2025-03-03
| ||
16:53 | [82a709d96b] part of check-in [b51690e180] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [b51690e180] user: drh branch: reuse-schema, size: 19183) | |
2025-02-24
| ||
10:52 | [9af61b63b1] part of check-in [55324d1c86] Merge latest changes from trunk into this branch. (check-in: [55324d1c86] user: dan branch: win32-enable-setlk, size: 19055) | |
2025-02-18
| ||
14:56 | [830bd0697e] part of check-in [b2bf063011] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [b2bf063011] user: drh branch: reuse-schema, size: 18912) | |
2025-02-17
| ||
17:33 | [c36d9d8281] part of check-in [215650a5a1] Code changes that make it easier to prove that no 32-bit integer overflows happen during memory allocation. No problems fixed; this change is just to make future maintenance easier. (check-in: [215650a5a1] user: drh branch: trunk, size: 18784) | |
2025-02-11
| ||
17:10 | [28fe81ea9e] part of check-in [e5ec5bb9f4] Merge latest changes from trunk into this branch. (check-in: [e5ec5bb9f4] user: dan branch: win32-enable-setlk, size: 19051) | |
2025-02-10
| ||
20:46 | [f541c1fb59] part of check-in [d2d6a000fb] Experimental change to allow clients to block when taking a SHARED lock to connect to a wal mode database. (check-in: [d2d6a000fb] user: dan branch: win32-enable-setlk, size: 18811) | |
2025-02-03
| ||
15:17 | [cf0b7254a3] part of check-in [858163f938] Merge the latest trunk changes into the reuse-schema branch. (check-in: [858163f938] user: drh branch: reuse-schema, size: 18908) | |
2025-01-22
| ||
19:37 | [3a5cb9ee4a] part of check-in [fe0c58d00b] Add two new sqlite3_db_config() options that enable the ATTACH command to create new database files and to open databases read/write. Both default to on for backwards compatibility. (check-in: [fe0c58d00b] user: drh branch: extra-security, size: 18780) | |
2024-10-30
| ||
14:24 | [da15336ec4] part of check-in [67087fe433] Merge the readonly-ignore-wal-jrnl feature into a sub-branch of reuse-schema. (check-in: [67087fe433] user: drh branch: reuse-schema-ro-waljrnl, size: 18668) | |
2024-10-28
| ||
17:27 | [f35bb8cc1f] part of check-in [3a3f7bf430] Remove the never-used and never-documented and long-ago deprecated user-authentication feature option. [65884d4f81a4705b]. (check-in: [3a3f7bf430] user: drh branch: trunk, size: 18540) | |
2024-08-29
| ||
17:42 | [1f985e4fe4] part of check-in [87aa6fc212] Merge all the latest trunk enhancements into the reuse-schema branch. (check-in: [87aa6fc212] user: drh branch: reuse-schema, size: 18910) | |
2024-08-19
| ||
22:48 | [08235ab62e] part of check-in [8ff5dda844] Refactor the SrcItem object so that information about subqueries is stored in a separately allocated Subquery object. This reduces the memory requirements for SrcItem and makes the code run faster. It also provides an expansion path for subquery processing that does not burden simple queries. The current checking mostly works, but there are still issues that need to be tracked down and fixed. (check-in: [8ff5dda844] user: drh branch: srcitem-opt, size: 18782) | |
2024-08-17
| ||
19:46 | [d778bacb2e] part of check-in [a4c59ac3c6] Reduce the size of the SrcItem object by combining fields into a union. (check-in: [a4c59ac3c6] user: drh branch: srcitem-opt, size: 18755) | |
2023-02-07
| ||
15:57 | [2af98700f1] part of check-in [50174e82ea] Avoid loading (and then discarding) schemas for all attached databases within an ATTACH command. This is inefficient for connections using shared-schema. (check-in: [50174e82ea] user: dan branch: reuse-schema, size: 18801) | |
15:38 | [6a58855a6f] part of check-in [4878c9ef47] Avoid loading (and then discarding) schemas for all attached databases within an ATTACH command. This is inefficient for connections using shared-schema. (check-in: [4878c9ef47] user: dan branch: mistake, size: 18796) | |
15:29 | [64e58698bc] part of check-in [4d21640c58] Merge latest trunk changes into this branch. (check-in: [4d21640c58] user: dan branch: reuse-schema, size: 18745) | |
2023-01-21
| ||
00:19 | [cc9d00d30d] part of check-in [ded60f5b34] Fix harmless compiler warnings. (check-in: [ded60f5b34] user: drh branch: trunk, size: 18673) | |
2023-01-20
| ||
19:19 | [4deb0cdb90] part of check-in [20b9b5aa4f] Two branches associated with memdb are now always taken (I believe). Tag them with ALWAYS() to verify this. (check-in: [20b9b5aa4f] user: drh branch: trunk, size: 18673) | |
17:50 | [979be822b9] part of check-in [a02da71f3a] 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(). (check-in: [a02da71f3a] user: dan branch: trunk, size: 18657) | |
2022-10-24
| ||
21:58 | [a00838bc34] part of check-in [80fbb30f28] This check-in attempts to make the SrcItem object smaller by combining the zDatabase and pSchema fields into a single union. It mostly works, but there are some issues, and the performance savings is minimal. So it is side-tracked onto this dead-end branch. (check-in: [80fbb30f28] user: drh branch: failed-opt-attempt, size: 18225) | |
2022-05-10
| ||
13:06 | [e1eb237a21] part of check-in [9f6d6e6135] Merge all recent trunk changes into the reuse-schema branch. (check-in: [9f6d6e6135] user: drh branch: reuse-schema, size: 18219) | |
2022-04-07
| ||
01:11 | [4431f82f02] part of check-in [158156a3e3] Improved technique for parsing the ON and USING clauses of a join is faster and uses less memory. (check-in: [158156a3e3] user: drh branch: trunk, size: 18147) | |
2022-01-25
| ||
16:28 | [f8ca7d5c85] part of check-in [6e4154d414] Merge the latest trunk enhancements into the reuse-schema branch. (check-in: [6e4154d414] user: drh branch: reuse-schema, size: 18165) | |
2022-01-24
| ||
19:38 | [f26d400f3f] part of check-in [4aa27b4fcd] Add ALWAYS() macros. Change some existing ALWAYS() into assert(). Other code simplifications. (check-in: [4aa27b4fcd] user: drh branch: trunk, size: 18093) | |
2021-10-21
| ||
14:10 | [173d0cadb5] part of check-in [cd15fc3c08] Merge recent trunk enhancements into the reuse-schema branch (check-in: [cd15fc3c08] user: drh branch: reuse-schema, size: 18157) | |
2021-10-07
| ||
13:40 | [e3f9d9a2a4] part of check-in [9af863f065] Protect all accesses to the FuncDef.u and Expr.u unions using nearby assert()s or branches. (check-in: [9af863f065] user: drh branch: trunk, size: 18085) | |
2021-10-04
| ||
22:34 | [e5f9ab9700] part of check-in [32f33f3569] Fix harmless static-analyzer warnings. (check-in: [32f33f3569] user: drh branch: trunk, size: 18028) | |
2021-05-22
| ||
15:05 | [74fab1b71a] part of check-in [dbc65a6958] Merge latest trunk changes into this branch. (check-in: [dbc65a6958] user: dan branch: reuse-schema, size: 18121) | |
2021-05-20
| ||
00:44 | [a514e81758] part of check-in [5614279daf] Replace [0f0959c6f95046e8] with a new and better solution that also fixes the CTE name resolution problem described in forum post 8590e3f6dc. Test cases for both problems added. (check-in: [5614279daf] user: drh branch: trunk, size: 18049) | |
2021-05-08
| ||
17:18 | [42774f1f26] part of check-in [6df3b03e00] Enable the sqlite3_serialize() and sqlite3_deserialize() interfaces by default. Omit the SQLITE_ENABLE_DESERIALIZE option and replace it with the SQLITE_OMIT_DESERIALIZE option. (check-in: [6df3b03e00] user: drh branch: trunk, size: 17985) | |
2021-05-07
| ||
14:16 | [bbfedcbd7c] part of check-in [c5e2de1d24] This was suppose to be a merge from trunk. But something went wrong. (check-in: [c5e2de1d24] user: dan branch: bad-merge, size: 18058) | |
2021-04-21
| ||
11:32 | [a7d1a7df69] part of check-in [2a28910a17] Fix a problem allowing SQL variables to be used expressions within the second and subsequent ON CONFLICT clauses of an UPSERT within a trigger. (check-in: [2a28910a17] user: dan branch: trunk, size: 17986) | |
2021-04-19
| ||
19:59 | [8783d67d2c] part of check-in [bef2238de9] An improvement to check-in [1a341378ab24a509] that omits the new Walker.bWalkWinDefn boolean (which is not always initialized) and uses a special value for xSelectCallback2 instead. (check-in: [bef2238de9] user: drh branch: trunk, size: 17943) | |
2021-04-17
| ||
13:46 | [f4c5352b7e] part of check-in [1a341378ab] Ensure that variables are not used in the WINDOW clause of a query inside of a trigger. dbsqlfuzz d9cf66100064952b66951845dfab41de1c124611 (check-in: [1a341378ab] user: drh branch: trunk, size: 17941) | |
2021-03-03
| ||
19:54 | [d176b64d15] part of check-in [73bf458e1d] Merge recent trunk enhancements into the reuse-schema branch. (check-in: [73bf458e1d] user: drh branch: reuse-schema, size: 17985) | |
2021-02-21
| ||
21:04 | [9cbe761e46] part of check-in [bfd5bf2c73] Rename the "struct SrcList_item" object to the more succinct "SrcItem". This is a symbolic change only. The logic is unmodified. (check-in: [bfd5bf2c73] user: drh branch: trunk, size: 17913) | |
2021-02-10
| ||
20:20 | [de9c50292a] part of check-in [d29c41bd26] Merge latest trunk changes into this branch. (check-in: [d29c41bd26] user: dan branch: reuse-schema, size: 17991) | |
2021-02-03
| ||
13:20 | [e80162a474] part of check-in [1eb69c64ed] Fix a harmless compiler warning. (check-in: [1eb69c64ed] user: drh branch: trunk, size: 17925) | |
2021-01-21
| ||
15:40 | [87102aba5d] part of check-in [4f676466e6] Fix a problem caused by using an SQL variable in an OVER clause within a trigger program. (check-in: [4f676466e6] user: dan branch: fix-over-trigger, size: 17936) | |
2020-09-04
| ||
17:40 | [2fb83ab273] part of check-in [ca8deb44c7] Update this branch with latest changes from trunk. (check-in: [ca8deb44c7] user: dan branch: reuse-schema, size: 18716) | |
2020-08-25
| ||
19:09 | [0f497c15c4] part of check-in [ad195e3dd8] Add support for the sqlite3_txn_state() interface. (check-in: [ad195e3dd8] user: drh branch: trunk, size: 18650) | |
2020-08-11
| ||
14:55 | [f5e649fb70] part of check-in [b1a77b7ead] Merge all changes since the 3.32.0 release into the reuse-schema branch. (check-in: [b1a77b7ead] user: drh branch: reuse-schema, size: 18699) | |
2020-07-14
| ||
19:51 | [0b11e00c16] part of check-in [4f6d8d0ebf] Support UPDATE...FROM statements in trigger programs. (check-in: [4f6d8d0ebf] user: dan branch: update-from, size: 18633) | |
2020-05-16
| ||
19:00 | [22ddf11d73] part of check-in [5af4abe98c] Merge trunk enhancements in the reuse-schema branch. (Actual date of this check-in is 2020-05-18.) (check-in: [5af4abe98c] user: drh branch: reuse-schema, size: 18612) | |
2020-03-21
| ||
20:58 | [ff2daea0fe] part of check-in [04abadb545] Simplify some of the code modified by the previous commit. (check-in: [04abadb545] user: dan branch: trunk, size: 18546) | |
15:10 | [eb2835b828] part of check-in [a85c63daa6] Consolidate some code on this branch. (check-in: [a85c63daa6] user: dan branch: main-alias-fix, size: 19085) | |
2020-03-20
| ||
20:54 | [38314d9f79] part of check-in [75c85ca32f] 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: [75c85ca32f] user: dan branch: main-alias-fix, size: 18640) | |
2020-02-27
| ||
15:20 | [c4e5653f5a] part of check-in [3f5650aae6] Merge latest trunk changes into this branch. (check-in: [3f5650aae6] user: dan branch: reuse-schema, size: 18322) | |
12:33 | [9fd451d7b9] part of check-in [9c77bfe41e] Backport the change that allows the filename passed into the xFullPathname to be used as an argument to sqlite3_uri_parameter(). (check-in: [9c77bfe41e] user: drh branch: branch-3.31, size: 19368) | |
11:32 | [fa5addce23] part of check-in [bfb09371d4] Ensure that the filename passed into the xFullPathname method of the VFS is acceptable as an argument to sqlite3_uri_parameter(). The interface spec does not guarantee this, but it has been so historically and some applications have come to depends on it. (check-in: [bfb09371d4] user: drh branch: trunk, size: 18256) | |
2020-02-07
| ||
01:12 | [fee2f42794] part of check-in [5a877221ce] Simplify the code by removing the unsupported and undocumented SQLITE_HAS_CODEC compile-time option (check-in: [5a877221ce] user: drh branch: trunk, size: 18247) | |
2020-01-15
| ||
14:26 | [167b341f4c] part of check-in [f783917800] Merge all recent enhancements and fixes from trunk. (check-in: [f783917800] user: drh branch: reuse-schema, size: 19428) | |
2020-01-06
| ||
15:25 | [df0ead9091] part of check-in [411e8ec221] Refactor names of flags for improved legibility. (check-in: [411e8ec221] user: drh branch: new-security-options, size: 19362) | |
2019-10-30
| ||
16:29 | [b30c44333d] part of check-in [84e02d773d] Simplify the bytecode generation for SQL function calls such that the OP_Function or OP_PureFunc opcodes are coded directly, rather than using the intermediate OP_Function0 or OP_PureFunc0 - opcodes that are now removed. (check-in: [84e02d773d] user: drh branch: trunk, size: 19321) | |
2019-09-16
| ||
12:35 | [6a1a045ff6] part of check-in [27eb223690] Merge all recent trunk enhancements into the reuse-schema branch. (check-in: [27eb223690] user: drh branch: reuse-schema, size: 19497) | |
2019-08-27
| ||
10:05 | [3ca1950484] part of check-in [069c2f4c61] If a TEMP TRIGGER references an auxiliary schema, and that auxiliary schema is detached, move the trigger to reference the TEMP schema before completing the detach, so that the trigger does not hold a dangling schema pointer. Ticket [ac8dd4a32ba4322f] (check-in: [069c2f4c61] user: drh branch: trunk, size: 19431) | |
2019-08-15
| ||
20:04 | [a6f108eb79] part of check-in [fc745845d8] Provide the SQLITE_DIRECTONLY flag for app-defined functions that prohibits the use of those functions within triggers or views. (check-in: [fc745845d8] user: drh branch: directonly, size: 18985) | |
2019-05-14
| ||
22:25 | [95c3e4b1aa] part of check-in [018f3199b9] Merge all the latest trunk enhancements into the reuse-schema branch. (check-in: [018f3199b9] user: drh branch: reuse-schema, size: 19010) | |
2019-04-15
| ||
15:41 | [78e986baee] part of check-in [09fa0b3c4a] Fix a problem with the user-auth extension and deserializing in-memory databases. (check-in: [09fa0b3c4a] user: dan branch: trunk, size: 18944) | |
2019-03-20
| ||
20:02 | [d42f6c3a7f] part of check-in [c1be211c02] Use the IsReuseSchema() macro more consistently. Also, rename it to IsSharedSchema(). (check-in: [c1be211c02] user: dan branch: reuse-schema, size: 18986) | |
16:03 | [bc39b4705c] part of check-in [4cd20ca677] Merge latest trunk changes into this branch. (check-in: [4cd20ca677] user: dan branch: reuse-schema, size: 18985) | |
2019-03-13
| ||
11:40 | [732d45dbf8] part of check-in [4e1b005e8b] When deserializing a database (sqlite3_deserialize()), do not attempt to parse the schema before the data is loaded. (check-in: [4e1b005e8b] user: dan branch: trunk, size: 18920) | |
2019-02-20
| ||
17:36 | [aef8849d3d] part of check-in [9a78d89c84] Add test and fixes for SQLITE_OPEN_SHARED_SCHEMA mode. (check-in: [9a78d89c84] user: dan branch: reuse-schema, size: 18963) | |
2019-02-15
| ||
19:00 | [06897ba0fa] part of check-in [ecf6251ec0] Fix a problem with eponymous virtual tables and SHARED_SCHEMA databases. Also, after preparing statements that require all database schemas (REINDEX, ANALYZE, CREATE, DROP and some PRAGMA statements), do not allow the database connection to return more than one schema to each schema-pool. (check-in: [ecf6251ec0] user: dan branch: reuse-schema, size: 18926) | |
2019-02-12
| ||
19:20 | [99c6496d24] part of check-in [ea611d7cba] Share schemas between databases attached to the same database handle. (check-in: [ea611d7cba] user: dan branch: reuse-schema, size: 18924) | |
2019-02-02
| ||
15:59 | [3f9b0f6c79] part of check-in [2e01096b89] Honor key query parameters for SEE on the URI filename for ATTACH and VACUUM INTO. (check-in: [2e01096b89] user: drh branch: trunk, size: 18880) | |
2018-11-13
| ||
19:51 | [92b51739a8] part of check-in [4e38f27b55] Turn on ASAN for the dbfuzz2 utility. Fix a buffer overread associated with sqlite3_deserialize(). (check-in: [4e38f27b55] user: drh branch: trunk, size: 18770) | |
2018-11-02
| ||
17:38 | [2d61c00d53] part of check-in [1fa74930ab] Enhance triggers so that they can use table-valued-functions that exist in schemas outside of the schema in which the trigger is defined. (check-in: [1fa74930ab] user: drh branch: trunk, size: 18812) | |
2018-09-19
| ||
14:54 | [d06bf7ab9e] part of check-in [147c61a6d4] Reduce the size of Expr from 80 to 72 bytes moving the pRight field inside the "x" union. This is an incremental check-in that still has issues. (check-in: [147c61a6d4] user: drh branch: expr-simplify, size: 18869) | |
2018-09-18
| ||
21:35 | [8b8e52590f] part of check-in [8849a463d6] In the Expr object, the Expr.eX field determines what value is stored in the Expr.x union. This mostly works, but there are issues identified by valgrind. (check-in: [8849a463d6] user: drh branch: expr-simplify, size: 18830) | |
2018-06-14
| ||
19:06 | [4bd5b92633] part of check-in [43eb1e75a4] Fix problem with window functions min() and max() when used with a PARTITION clause and a frame starting point other than "UNBOUNDED PRECEDING". (check-in: [43eb1e75a4] user: dan branch: exp-window-functions, size: 18768) | |
2018-05-16
| ||
20:58 | [3af6abc407] part of check-in [3781e52085] Start of experimental implementation of SQL window functions. Does not yet work. (check-in: [3781e52085] user: dan branch: exp-window-functions, size: 18698) | |
2018-04-25
| ||
12:01 | [4a3138bd77] part of check-in [58cf812fd8] Avoid many unnecessary calls to sqlite3ReadSchema() and sqlite3Init() when the schema is known to be valid already. (check-in: [58cf812fd8] user: drh branch: trunk, size: 18678) | |
2018-04-23
| ||
13:28 | [f2ed3224c0] part of check-in [d47a6bdda0] Ensure that there are no bind-parameters or incorrect schema references in the UPSERT portions of an INSERT within a TRIGGER. (check-in: [d47a6bdda0] user: drh branch: trunk, size: 18634) | |
2018-04-11
| ||
16:04 | [bbdf97bb36] part of check-in [b717820915] Prohibit bound parameters in the arguments to table-valued functions within a trigger. Problem discovered by OSSFuzz. (check-in: [b717820915] user: drh branch: trunk, size: 18284) | |
2018-03-06
| ||
21:43 | [f6f212c43d] part of check-in [f07e97aed4] Improved documentation for sqlite3_serialize() and sqlite3_deserialize(). Change the name of the compile-time option to enable these interfaces from SQLITE_ENABLE_MEMDB to SQLITE_ENABLE_DESERIALIZE. (check-in: [f07e97aed4] user: drh branch: memdb, size: 18183) | |
20:54 | [6a5619eaf0] part of check-in [b58ca4cb0c] Handle some boundary cases in memdb associated with OOM faults. (check-in: [b58ca4cb0c] user: drh branch: memdb, size: 18177) | |
2018-03-01
| ||
13:44 | [e79ef463dc] part of check-in [c8083de14b] Merge the latest enhancements from trunk. (check-in: [c8083de14b] user: drh branch: memdb, size: 18072) | |
2018-02-20
| ||
16:39 | [79cb6b365d] part of check-in [caaffd3200] Remove a superfluous "#if 1". No logic changes. (check-in: [caaffd3200] user: drh branch: trunk, size: 17098) | |
2018-02-15
| ||
21:00 | [e1c0d72dd0] part of check-in [b918d4b4e5] Do not allow parameters or schema references inside of WITH clause of triggers and views. This fixes a bug discovered by OSSFuzz and present since common-table-expressions were first added in 2014-02-03. (check-in: [b918d4b4e5] user: drh branch: trunk, size: 17111) | |
2018-01-03
| ||
23:40 | [8158394251] part of check-in [e0da2cc382] New test cases and fixes for minor problems. (check-in: [e0da2cc382] user: drh branch: memdb, size: 17876) | |
22:48 | [af582a55cd] part of check-in [fa6069fb3b] Miscellaneous code and comment cleanup. (check-in: [fa6069fb3b] user: drh branch: memdb, size: 17854) | |
19:03 | [52c34c2fb1] part of check-in [2f6e9df9f0] Replace sqlite3_memdb_config() with sqlite3_deserialize(). Remove the "db memdb" command from the TCL interface, replacing it with "db serialize" and "db deserialize". (check-in: [2f6e9df9f0] user: drh branch: memdb, size: 17703) | |
2017-11-14
| ||
23:48 | [84c477e856] part of check-in [3925facd94] In the parse tree, combine LIMIT and OFFSET into a single expression rooted on a TK_LIMIT node, for a small code size reduction and performance increase, and a reduction in code complexity. (check-in: [3925facd94] user: drh branch: trunk, size: 16902) | |
2017-07-26
| ||
18:26 | [07b706e336] part of check-in [ac1fd6beb6] Allow ATTACH and DETACH to occur inside of a transaction. (check-in: [ac1fd6beb6] user: drh branch: attach-in-trans, size: 16974) | |
2017-06-16
| ||
18:31 | [3bd555e283] part of check-in [3944a32e1d] Minor refactoring change to clarify how ATTACH works. No functional changes. (check-in: [3944a32e1d] user: drh branch: trunk, size: 17265) | |
2017-01-02
| ||
18:19 | [8c476f8bd5] part of check-in [cfb3158204] Avoid unnecessary calls to sqlite3BtreeEnterAll() and sqlite3BtreeLeaveAll() when no btree is using shared-cache. (check-in: [cfb3158204] user: drh branch: trunk, size: 17142) | |
2016-11-11
| ||
03:37 | [f6725410c1] part of check-in [b0ff183b8f] Take care not to try to generate code for the ATTACH and DETACH commands if there were syntax errors during parsing. Fix for ticket [2f1b168ab4d4844] (check-in: [b0ff183b8f] user: drh branch: trunk, size: 17116) | |
2016-09-23
| ||
21:36 | [8c19066b4b] part of check-in [8a6ea455cd] Add the EP_Leaf flag bit to the Expr.flags field to indicate Expr nodes that do not have substructure. Use that bit to avoid unnecessary recursion. (check-in: [8a6ea455cd] user: drh branch: trunk, size: 17078) | |
2016-09-16
| ||
19:42 | [3e78d38abb] part of check-in [03573887db] If no KEY is specified on ATTACH, copy the main schema key if the key size is non-zero. In other words, allow for -1 as a valid key size in support of the --textkey to SEE. (check-in: [03573887db] user: drh branch: trunk, size: 17070) | |
2016-08-18
| ||
14:33 | [4711ff365d] part of check-in [92a22f0134] 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: [92a22f0134] user: drh branch: zDbSName, size: 17072) | |
2016-03-08
| ||
15:30 | [771153bd1f] part of check-in [592d210436] Make the SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS values zero-based to agree with PRAGMA synchronous. (check-in: [592d210436] user: drh branch: default-synchronous, size: 17057) | |
14:40 | [3d23c66919] part of check-in [1fefa967aa] Add compile-time options SQLITE_DEFAULT_SYNCHRONOUS and SQLITE_DEFAULT_WAL_SYNCHRONOUS used to specify the default synchronous settings for all database connections. (check-in: [1fefa967aa] user: drh branch: default-synchronous, size: 17055) | |
14:16 | [34b254f398] part of check-in [c4e192a0e5] Fix ATTACH to use the symbolic name PAGER_SYNCHRONOUS_FULL rather than an integer literal. (check-in: [c4e192a0e5] user: drh branch: trunk, size: 17051) | |
2016-02-15
| ||
18:15 | [a3724c64de] part of check-in [9b3454762d] Add the SQLITE_NOMEM_BKPT macro to enhance the ability to debug OOM errors. Only effective with compiling with SQLITE_DEBUG. (check-in: [9b3454762d] user: drh branch: trunk, size: 17030) | |
00:34 | [07aa6e77c3] part of check-in [3201fbcc51] Improvements to the application-defined function mechanism so that it is more compact and runs faster, especially when the application defines thousands of new SQL functions. (check-in: [3201fbcc51] user: drh branch: many-app-functions, size: 17020) | |
2016-02-13
| ||
23:43 | [d9526ed44d] part of check-in [6a9c4a3ebf] Enhance ability to debug out-of-memory errors. (check-in: [6a9c4a3ebf] user: mistachkin branch: noMemBkpt, size: 17162) | |
2016-02-05
| ||
13:38 | [c16c2648a5] part of check-in [0a802e96ab] Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority cases where db is guaranteed to be not NULL. (check-in: [0a802e96ab] user: drh branch: oom-handling, size: 17152) | |
01:55 | [b943546856] part of check-in [c3ef03478a] Improvements to the way that OOM errors are processed. (check-in: [c3ef03478a] user: drh branch: oom-handling, size: 17150) | |
2016-02-04
| ||
09:48 | [27743a694d] part of check-in [e3157cb5ad] Refinements to synchronous logic: (1) Use PAGER_SYNCHRONOUS_FULL rather than the corresponding magic number. (2) Honor SQLITE_NO_SYNC on xDelete calls with sync (3) Count xDelete syncs during testing (4) Fix #ifs on SQLITE_EXTRA_DURABLE so that directory syncs on journal unlink are off by default. (check-in: [e3157cb5ad] user: drh branch: trunk, size: 17152) | |
2016-01-16
| ||
15:12 | [07b3a34a17] part of check-in [a4258cd461] Use sqlite3VdbeAddOp4() rather than a separate sqlite3VdbeChangeP4() call, for a slightly smaller and faster binary. (check-in: [a4258cd461] user: drh branch: trunk, size: 17109) | |
2016-01-14
| ||
22:19 | [ec9f119ca7] part of check-in [0d1b3d7d3c] Combine the xFunc and xStep pointers of the FuncDef object into a single pointer xSFunc. (check-in: [0d1b3d7d3c] user: drh branch: trunk, size: 17118) | |
2015-06-26
| ||
18:16 | [e944d0052b] part of check-in [2abc44eb3b] Cache the sqlite3_context structure in the P4 operand of VDBE programs for faster SQL function dispatch. (check-in: [2abc44eb3b] user: drh branch: trunk, size: 17184) | |
2015-04-17
| ||
18:22 | [c38ac5a520] part of check-in [3f3b0f683a] Remove unnecessary parser error count increments. Let the sqlite3ErrorMsg() take care of doing that. (check-in: [3f3b0f683a] user: drh branch: trunk, size: 17183) | |
2015-04-13
| ||
22:26 | [3c1053a4cf] part of check-in [661db19b34] On a DETACH statement, keep all schemas intact except fo the one that is being detached, and thus avoid unnecessary schema reparsing. (check-in: [661db19b34] user: drh branch: trunk, size: 17203) | |
2015-02-21
| ||
00:19 | [880f9b8641] part of check-in [28c2b72628] Keep track of the optimal number of reserved bytes (by looking at reserve byte requests in calls to sqlite3BtreeSetPageSize()) and then change the reserve byte count to the optimal when doing a VACUUM or when using the backup API. (check-in: [28c2b72628] user: drh branch: trunk, size: 17209) | |
2014-12-12
| ||
00:40 | [7f6b3fafa2] part of check-in [6bef7ede2b] Make sure the Btree mutex is held when setting the locking mode and the secure delete flag when attaching a shared-cache database. (check-in: [6bef7ede2b] user: drh branch: threadtest4, size: 17202) | |
2014-09-11
| ||
15:25 | [f4e94df2d1] part of check-in [96ea5c0b3c] All interfaces working and tested. (check-in: [96ea5c0b3c] user: drh branch: user-auth, size: 17134) | |
13:44 | [cc9b30041d] part of check-in [596e728b0e] Add support for the extra parameter on the sqlite3_set_authorizer() callback and support for failing an ATTACH with an authentication-required database using bad credentials. The extension is now feature complete, but much testing and bug-fixing remains. (check-in: [596e728b0e] user: drh branch: user-auth, size: 17129) | |
2014-05-19
| ||
15:16 | [3f5a380a8f] part of check-in [17349a49d2] Changes to help ensure that a multiplication does not overflow when computing the number of bytes needed for a memory allocation, and cause a malfunction. No problems existing problems were discovered. However, these changes should help to ensure that no problems arise in the future. (check-in: [17349a49d2] user: drh branch: safer-malloc, size: 16921) | |
2014-05-06
| ||
15:28 | [a1ada8e417] part of check-in [8ad0a123a2] Experimental changes that reduce the size of Expr objects from 72 to 64 bytes each on x64 and from 48 to 44 bytes each on x32. (check-in: [8ad0a123a2] user: drh branch: smaller-expr, size: 16997) | |
2013-12-20
| ||
14:48 | [3801129015] part of check-in [df70a1f303] Allow any arbitrary expression as the filename in an ATTACH statement, including functions and subqueries. (check-in: [df70a1f303] user: drh branch: trunk, size: 16916) | |
2013-10-03
| ||
15:39 | [0a17c93648] part of check-in [500c5932fe] The sqlite3FixInit() routine cannot fail. So change the return type from "int" to "void". (check-in: [500c5932fe] user: drh branch: trunk, size: 17094) | |
12:29 | [64859892b2] part of check-in [f35f6ae3da] 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. (check-in: [f35f6ae3da] user: dan branch: trunk, size: 17287) | |
2013-09-12
| ||
16:50 | [4a2b6a6d9b] part of check-in [579a512538] Increase the number of bits available in Expr.flags. Other tweaks aimed at making expression processing more robust. (check-in: [579a512538] user: drh branch: expr-tuning, size: 16688) | |
2013-09-06
| ||
13:10 | [eeb8d9d2c7] part of check-in [97b10e66e9] Combine the FuncDef.iPrefEnc and FuncDef.flags fields into a single new FuncDef.funcFlags field. (check-in: [97b10e66e9] user: drh branch: trunk, size: 16691) | |
2013-08-23
| ||
17:33 | [fea00cab11] part of check-in [ed31020162] Adjust #ifdefs to get SQLITE_OMIT_AUTOMATIC_INDEX and SQLITE_OMIT_PAGER_PRAGMAS to build. (check-in: [ed31020162] user: drh branch: trunk, size: 16757) | |
2013-08-17
| ||
15:42 | [5df737912f] part of check-in [d07c4331a2] The fullfsync, checkpoint_fullfsync, and cache_spill pragmas apply to all files of a database connection, including those opened by future ATTACH statements. (check-in: [d07c4331a2] user: drh branch: cache_spill, size: 16716) | |
2013-03-21
| ||
21:20 | [1816f5a9ee] part of check-in [6f6e2d5094] Many spelling fixes in comments. No changes to code. (check-in: [6f6e2d5094] user: mistachkin branch: trunk, size: 16638) | |
2012-12-05
| ||
14:31 | [ea5247f240] part of check-in [9f6c68856b] Make sure memory is freed using a routine that is compatible with the routine used to allocate the memory. The SQLITE_MEMDEBUG compile-time option enforces this. (check-in: [9f6c68856b] user: drh branch: trunk, size: 16638) | |
2012-10-05
| ||
18:35 | [48c5736f89] part of check-in [ac81ae493f] Backport fixes to shared-cache mode, from the shared-cache-fix branch, to version 3.7.9 (check-in: [ac81ae493f] user: drh branch: branch-3.7.9, size: 16611) | |
2012-10-04
| ||
19:33 | [34c15ecd68] part of check-in [2b370dea70] Shared-cache mode fixes for views and virtual tables. (check-in: [2b370dea70] user: dan branch: shared-cache-fix, size: 16619) | |
2012-05-15
| ||
18:28 | [577bf5675b] part of check-in [aa0c3493d3] The former sqlite3ResetInternalSchema() routine was really two different routines, selected by parameter, each with a confused mission. So split this routine up into three separate smaller routines, calling each separately as needed. Hopefully this will make further refactoring and schema reset collateral damage containment easier. (check-in: [aa0c3493d3] user: drh branch: shared-schema, size: 16565) | |
2011-05-11
| ||
14:57 | [a87bfb77a7] part of check-in [671ba5fc59] Only open a read-only connection to shared-memory if the "readonly_shm=1" option is specified as part of the database file URI (and if a read-write connection fails). (check-in: [671ba5fc59] user: dan branch: wal-readonly, size: 16658) | |
2011-05-07
| ||
18:40 | [12c6957996] part of check-in [ca3797d496] Set the sqlite3.mallocFailed flag if sqlite3ParseUri fails with SQLITE_NOMEM. (check-in: [ca3797d496] user: drh branch: trunk, size: 16557) | |
14:40 | [77caa25fb9] part of check-in [139eecbe1b] Fix minor compiler warnings. (check-in: [139eecbe1b] user: drh branch: trunk, size: 16508) | |
2011-04-23
| ||
15:54 | [79f8e5d286] part of check-in [68240e75e8] Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do. (check-in: [68240e75e8] user: dan branch: uri, size: 16499) | |
2011-04-09
| ||
02:34 | [7f97ca76ef] part of check-in [4caa5fc86e] When ATTACH-ing a new database to an existing database with a codec, do not enable the codec in the attached database if it is not enabled in the existing database and it is not requested by the USING clause. (check-in: [4caa5fc86e] user: drh branch: trunk, size: 16190) | |
2011-04-02
| ||
16:28 | [7cae2cf0c1] part of check-in [6a8ad6e31e] Begin a series of changes designed to reduce the scope and frequency of invalidating schemas. Design goals are that the internal schema should never be deleted out from under a prepared statement that is running and that all prepared statements should be expired if the schema is invalidated. At the same time, minimize the number of schema invalidations. This change merely revises the sqlite3ResetInternalSchema() function to use -1 as the wildcard for "all" rather than 0, so that we can reset the main schema independently of all the others. (check-in: [6a8ad6e31e] user: drh branch: schema-parse-refactor, size: 16112) | |
2011-02-04
| ||
00:51 | [438ea6f6b5] part of check-in [e64e1453a9] Fix the ATTACH command so that the filename argument can be any expression and so that if authorizer callback gets a NULL pointer for the filename if the filename argument is anything other than a string literal. Ticket [9013e13dba5b58c7] (check-in: [e64e1453a9] user: drh branch: trunk, size: 16110) | |
2010-09-28
| ||
14:26 | [252c4f7e36] part of check-in [7be03ecc04] Fix several harmless compiler warnings. (check-in: [7be03ecc04] user: drh branch: trunk, size: 16081) | |
2010-08-30
| ||
15:02 | [c689d516ee] part of check-in [0900e35348] Remove the sqlite3BtreeFactory() wrapper routine. All modules now call sqlite3BtreeOpen() directly. (check-in: [0900e35348] user: drh branch: trunk, size: 16001) | |
2010-07-08
| ||
17:40 | [17bec1f182] part of check-in [e396184cd3] Change the journal_mode pragma to remove the "default journal mode" concept. The journal_mode pragma only effects currently attached databases and does not change the behavior of future attachments. (check-in: [e396184cd3] user: drh branch: trunk, size: 16061) | |
2010-06-02
| ||
05:53 | [47b230972b] part of check-in [e7073e23b8] Add some 'const' markers to static data that is really constant. (check-in: [e7073e23b8] user: dan branch: trunk, size: 16665) | |
2010-05-10
| ||
11:20 | [7f1f760bac] part of check-in [0bdea4cfbd] Enhance the OP_JournalMode opcode with an ignore-errors option and use that option the ATTACH command. (check-in: [0bdea4cfbd] user: drh branch: trunk, size: 16653) | |
2010-05-06
| ||
21:37 | [0d7c4c820d] part of check-in [c3520460a4] The PRAGMA journal_mode=WAL; command now makes WAL the default journal mode for new databases added with ATTACH, so the behavior is consistent with the other journal modes. (check-in: [c3520460a4] user: drh branch: trunk, size: 16620) | |
2010-02-25
| ||
02:32 | [ba4a146329] part of check-in [46f406b202] Merge in all of the logging enhancements. This is a cherrypick merge of the following check-ins: [103321e37a], [a8076aede3], [6d910245ad], [7c4cca6d1a], [edea3bb740], [1a6d4bb130], [a8c984c1d6], [69a493182f], and [1168763d2c]. (check-in: [46f406b202] user: drh branch: branch-3.6.22, size: 15988) | |
02:11 | [508d431e52] part of check-in [f73cc0e9af] Fix a segfault that is possible for an OOM fault in ATTACH when in shared-cache mode. This is a cherrypick merge of check-in [e37137376a]. (check-in: [f73cc0e9af] user: drh branch: branch-3.6.22, size: 16051) | |
2010-02-23
| ||
18:05 | [7abe1607c2] part of check-in [e37137376a] Fix a segfault that can occur if a malloc fails in ATTACH in shared-cache mode. (check-in: [e37137376a] user: dan branch: trunk, size: 16107) | |
17:36 | [d855b36c7e] part of check-in [7c4cca6d1a] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (check-in: [7c4cca6d1a] user: drh branch: trunk, size: 16038) | |
10:56 | [01fd6ce19e] part of check-in [875f8fa327] Fix a segfault that can occur if a malloc fails in ATTACH in shared-cache mode. (check-in: [875f8fa327] user: dan branch: compile_opts, size: 16170) | |
10:50 | [c4adb24b40] part of check-in [d6343d035d] Fix a segfault that can occur if a malloc fails in ATTACH in shared-cache mode. (check-in: [d6343d035d] user: dan branch: branch-3.6.1, size: 15571) | |
2010-02-17
| ||
17:48 | [f6d3326801] part of check-in [34a3413a53] Consistent use of #ifdef for SQLITE_HAS_CODEC to avoid confusion. (check-in: [34a3413a53] user: shaneh branch: trunk, size: 16101) | |
2010-02-12
| ||
19:46 | [a6b5e97c84] part of check-in [2bb38bb96f] Enhancements to the secure_delete pragma to make it easier to use. (check-in: [2bb38bb96f] user: drh branch: trunk, size: 16098) | |
2009-11-10
| ||
01:30 | [0ba38b3825] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (check-in: [f6c045f649] user: drh branch: trunk, size: 15982) | |
2009-11-04
| ||
01:56 | [1f2ae6ca3d] part of check-in [a6c696102e] Report errors back up to the ATTACH command if the codec fails to initialize. (check-in: [a6c696102e] user: drh branch: trunk, size: 16039) | |
2009-05-31
| ||
21:21 | [13995348fc] part of check-in [ee9a144d44] Code simplifications to facilitate coverage testing following the recent changes to the Expr object. (CVS 6697) (check-in: [ee9a144d44] user: drh branch: trunk, size: 16010) | |
2009-05-28
| ||
01:00 | [ad7eeae19c] part of check-in [4ac2bdfbb4] Additional refinements to Expr handling. Restore compression of trigger expressions. Change Expr.zToken to Expr.u.zToken and added Expr.u.iValue. Remove an unnecessary ExprDup from CHECK constraint processing. And so forth. (CVS 6682) (check-in: [4ac2bdfbb4] user: drh branch: trunk, size: 16003) | |
2009-05-27
| ||
10:31 | [92517f52fb] part of check-in [7cb1c3ba07] Simplifications to the Expr object: Remove Expr.span completely and convert Expr.token into a char* Expr.zToken. Also simplify the Token object by removing the Token.dyn and Token.quoted fields. (CVS 6681) (check-in: [7cb1c3ba07] user: drh branch: trunk, size: 15999) | |
2009-05-01
| ||
06:19 | [3b99611f04] part of check-in [514efc7312] Remove a NEVER() clause from a condition that is true at least once when running attachmalloc.test. (CVS 6585) (check-in: [514efc7312] user: danielk1977 branch: trunk, size: 16116) | |
2009-04-30
| ||
17:38 | [0342a96e6f] part of check-in [92b69481bd] Disable an always-false test in the attach.c module. (CVS 6581) (check-in: [92b69481bd] user: drh branch: trunk, size: 16115) | |
13:30 | [5e4c387144] part of check-in [715f14f1dc] Disallow attaching the same database multiple times to the same db connection in shared cache mode, since doing so leads to deadlock. (CVS 6578) (check-in: [715f14f1dc] user: drh branch: trunk, size: 16108) | |
05:40 | [2acdbf4bbc] part of check-in [f082bf3605] Fix a memory leak introduced in the previous check-in. (CVS 6574) (check-in: [f082bf3605] user: drh branch: trunk, size: 15971) | |
05:19 | [38e6ad955a] part of check-in [a6cb4002ad] Take care not to leave a zombie attached database if the attachment fails due to an encoding mismatch. Update attach logic to always use dynamically allocated error message strings. (CVS 6573) (check-in: [a6cb4002ad] user: drh branch: trunk, size: 15937) | |
01:22 | [b3bc7d3c63] part of check-in [8bf60b24ff] Remove always-true tests from attach.c. In btree.c, always test the return from sqlite3PagerSetPagesize() since it might return SQLITE_NOMEM. (CVS 6572) (check-in: [8bf60b24ff] user: drh branch: trunk, size: 16106) | |
2009-04-08
| ||
13:51 | [af80fa85d3] part of check-in [44ded2ea67] Minor refactoring of the expression-compaction logic for clarity of presentation. New comments added. The EXPRDUP_DISTINCTSPAN flag is removed as obsolete. (CVS 6470) (check-in: [44ded2ea67] user: drh branch: trunk, size: 16094) | |
2009-02-19
| ||
14:39 | [d34589d5c8] part of check-in [d9f6ffbc5e] Changes to reduce the heap space consumed by triggers, views and tables in the in-memory representation of the schema. Also to reduce the space used by prepared statements slightly. (CVS 6305) (check-in: [d9f6ffbc5e] user: danielk1977 branch: trunk, size: 16101) | |
2009-02-03
| ||
16:51 | [81d37d1948] part of check-in [663479b417] Commit first version of the 'backup' feature. (CVS 6241) (check-in: [663479b417] user: danielk1977 branch: trunk, size: 15985) | |
2008-12-10
| ||
16:45 | [1c35f95da3] part of check-in [da1cbfa766] Add explicit casts to silence nuisance warnings from VC++. (CVS 6004) (check-in: [da1cbfa766] user: drh branch: trunk, size: 15941) | |
2008-11-19
| ||
09:05 | [85c6a3d0da] part of check-in [88134322c3] Changes to avoid "unused parameter" compiler warnings. (CVS 5921) (check-in: [88134322c3] user: danielk1977 branch: trunk, size: 15877) | |
2008-10-28
| ||
17:52 | [208881c871] part of check-in [679c0b35aa] Avoid exposing internal interfaces sqlite_attach() and sqlite_detach() as SQL scalar functions. Ticket #3466. (CVS 5846) (check-in: [679c0b35aa] user: danielk1977 branch: trunk, size: 15811) | |
2008-08-20
| ||
16:35 | [db3f4a6053] part of check-in [daf730d1de] Refactor the name resolution procedures in the code generator. (CVS 5569) (check-in: [daf730d1de] user: drh branch: trunk, size: 15503) | |
2008-07-28
| ||
19:34 | [a85c14612e] part of check-in [e48f9697e9] Implement the "lookaside" memory allocation cache. Use of this cache makes the speed1.test script run about 15% faster. Added new interfaces to control the cache. (CVS 5488) (check-in: [e48f9697e9] user: drh branch: trunk, size: 15503) | |
2008-06-15
| ||
02:51 | [b18ba42c77] part of check-in [65fe7b62cf] Continuing work on the new memory allocation subsystem. Added routines for temporary memory allocation. Right the btree balance mechanism to only do one temporary allocation at a time. (CVS 5220) (check-in: [65fe7b62cf] user: drh branch: trunk, size: 15481) | |
2008-04-17
| ||
17:02 | [496cc628b2] part of check-in [8eaa0c7102] Add the journal_mode pragma. This is currently just syntax - it is not operational. (CVS 5024) (check-in: [8eaa0c7102] user: drh branch: trunk, size: 15552) | |
2008-03-20
| ||
14:03 | [bdc75e759c] part of check-in [60c77882b2] Initial implementation of per-connection limits and the sqlite3_limit() API. The sqllimits1.test script crashes. SQLITE_LIMIT_PAGE_COUNT and SQLITE_LIMIT_VDBE_OP are currently ignored. (CVS 4897) (check-in: [60c77882b2] user: drh branch: trunk, size: 15454) | |
2008-03-19
| ||
21:45 | [e7cf4ae2a2] part of check-in [54c55cae55] Add a new interface, sqlite3_context_db_handle(), that returns the database connection pointer for an application-defined function. (CVS 4889) (check-in: [54c55cae55] user: drh branch: trunk, size: 15426) | |
2008-02-13
| ||
18:25 | [e13d62597e] part of check-in [990237e27e] Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) (check-in: [990237e27e] user: danielk1977 branch: trunk, size: 15420) | |
2008-02-06
| ||
14:11 | [90665c7ef5] part of check-in [c246162043] Add the sqlite3_result_error_code() application interface. Use it in the ATTACH function so that a failed attach returns a proper error code. Ticket #2914. (CVS 4775) (check-in: [c246162043] user: drh branch: trunk, size: 15410) | |
2008-01-23
| ||
03:03 | [2a0b199467] part of check-in [5375ad6b4b] Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) (check-in: [5375ad6b4b] user: drh branch: trunk, size: 15359) | |
2008-01-17
| ||
16:22 | [f7a34eb0f0] part of check-in [706b41b70b] Registerification of the VDBE is complete. The operand stack has been removed from the code. All instructions operate out of registers only. (CVS 4718) (check-in: [706b41b70b] user: drh branch: trunk, size: 15347) | |
2008-01-12
| ||
19:03 | [71f5c88600] part of check-in [426f31ecdd] Continuing work toward converting the VM to a register machine. (CVS 4708) (check-in: [426f31ecdd] user: drh branch: trunk, size: 15351) | |
2008-01-09
| ||
23:04 | [61f0cae7b1] part of check-in [e3cf1c1c11] All essential opcodes can now operate out of registers and completely avoid the stack. Many still optionally use the stack to support legacy code generation, but the stack is not required. The next step is to update all code generation to avoid using the stack. (CVS 4700) (check-in: [e3cf1c1c11] user: drh branch: trunk, size: 15237) | |
2008-01-03
| ||
23:44 | [1c96631e56] part of check-in [61bfb77c42] Change the sqlite3ExprCode() function so that callers can request that the result of the expression be left on the stack or in a register. (CVS 4673) (check-in: [61bfb77c42] user: drh branch: trunk, size: 15212) | |
00:01 | [4b214b4112] part of check-in [027875e4d4] Refactoring the VM. The P3 parameter is changed to P4. A P5 parameter is added (though not currently used.) Add routines sqlite3VdbeAddOpX() where X is one of 0, 1, 2, 3, or 4. (CVS 4660) (check-in: [027875e4d4] user: drh branch: trunk, size: 15203) | |
2007-12-27
| ||
15:12 | [95658e74e3] part of check-in [b37babef91] Fix a race condition that can occur when reloading the database schema in shared-cache mode. (CVS 4643) (check-in: [b37babef91] user: danielk1977 branch: trunk, size: 15212) | |
2007-10-03
| ||
08:46 | [a01d55157d] part of check-in [12eca32a6a] Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454) (check-in: [12eca32a6a] user: danielk1977 branch: trunk, size: 15152) | |
2007-09-03
| ||
15:19 | [02fd877927] part of check-in [020a2b10d4] Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some test cases added but more are needed. Ticket #2616. (CVS 4376) (check-in: [020a2b10d4] user: drh branch: trunk, size: 15118) | |
2007-08-16
| ||
04:30 | [a52225c75b] part of check-in [deb7ecd65f] Half-way through a major refactoring of the memory allocation. I have not even attempted to compile so I am certain there are countless errors. (CVS 4231) (check-in: [deb7ecd65f] user: drh branch: trunk, size: 15027) | |
2007-05-09
| ||
20:31 | [ba628db0c2] part of check-in [0c91dc9ee0] Fix a problem with strange expressions being fed to an ATTACH or DETACH statement. (CVS 3965) (check-in: [0c91dc9ee0] user: drh branch: trunk, size: 14907) | |
2007-05-08
| ||
01:08 | [a674f72b5e] part of check-in [93b623b232] Begin implementing a new system of upper bounds on the capabilities of SQLite. By clearly defining the upper bounds, we make those upper bounds explicitly testable. This check-in is just infrastructure. The upper bounds are not yet enforced. (CVS 3941) (check-in: [93b623b232] user: drh branch: trunk, size: 14732) | |
2007-05-04
| ||
13:15 | [f088f81555] part of check-in [ba4845b32b] Eliminate all uses of sprintf() and strcpy(). These were not being misused. But getting rid of them removes a library dependency. And it avoids warnings from the OpenBSD compiler. Ticket #2336. (CVS 3916) (check-in: [ba4845b32b] user: drh branch: trunk, size: 14695) | |
2007-03-27
| ||
21:47 | [a16ada4a46] part of check-in [902413e81b] Fix the prototype of the CodecAttach function in attach.c. (CVS 3731) (check-in: [902413e81b] user: drh branch: trunk, size: 14581) | |
14:44 | [12fa4f4c46] part of check-in [cbebfb8960] The -DSQLITE_OMIT_ATTACH=1 option now omits both the ATTACH and VACUUM commands. Ticket #2268. The regression test suite depends on both of these commands and will not run if compiled with this option. (CVS 3727) (check-in: [cbebfb8960] user: drh branch: trunk, size: 14575) | |
2007-03-24
| ||
16:45 | [9b5a9c50fb] part of check-in [b6c700370b] Changes for exclusive access mode. There are still some bugs. (CVS 3712) (check-in: [b6c700370b] user: danielk1977 branch: trunk, size: 14490) | |
2007-03-15
| ||
15:35 | [fd286a9140] part of check-in [8153edf8be] Save an if(...) clause made redundant by (3691). (CVS 3692) (check-in: [8153edf8be] user: danielk1977 branch: trunk, size: 14413) | |
2006-06-27
| ||
16:34 | [b11eb4d5d3] part of check-in [70a48b250b] Prevent databases from being DETACHed while they are in use. Fix for #1873. (CVS 3312) (check-in: [70a48b250b] user: danielk1977 branch: trunk, size: 14442) | |
2006-05-25
| ||
11:52 | [27a31d3b89] part of check-in [79a818bb05] Handle NULL database names in ATTACH and DETACH as if they were empty strings. Ticket #1825. (CVS 3191) (check-in: [79a818bb05] user: drh branch: trunk, size: 14289) | |
2006-04-10
| ||
13:37 | [765217a681] part of check-in [9d95750e85] Follow-up to check-in (3164). Make sure SQLITE_NOMEM is returned after a memory allocation failure. It is not sufficent to return an "out of memory" error message. The return code needs to be SQLITE_NOMEM. (CVS 3172) (check-in: [9d95750e85] user: drh branch: trunk, size: 14178) | |
2006-04-05
| ||
11:57 | [514f90623c] part of check-in [3538a4e30f] Make sure SQLITE_NOMEM is reported out on a malloc failure in an ATTACH even if the malloc failure reports within a nested calls to sqlite3_prepare(). (CVS 3164) (check-in: [3538a4e30f] user: drh branch: trunk, size: 14149) | |
2006-01-24
| ||
12:09 | [d73a3505de] part of check-in [d86f18a427] Rename some variables to avoid hiding others. Also add "static" to two function signatures that were missing it. (CVS 3024) (check-in: [d86f18a427] user: danielk1977 branch: trunk, size: 14029) | |
2006-01-18
| ||
16:51 | [0081040e9a] part of check-in [ac090f2ab3] Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) (check-in: [ac090f2ab3] user: danielk1977 branch: trunk, size: 14008) | |
2006-01-17
| ||
13:21 | [a447b4672a] part of check-in [0505405fb9] Various fixes that allow the malloc() failure tests to pass again. (CVS 2963) (check-in: [0505405fb9] user: danielk1977 branch: trunk, size: 14046) | |
2006-01-11
| ||
21:41 | [d4b9d8bd71] part of check-in [5d9c6aa964] Automatically deallocate thread-specific data when it is no longer being used. Ticket #1601. Also implemented the suggestion of ticket #1603. Memory management is now off by default at compile-time. The sqlite3_enable_memory_management() API has been removed. (CVS 2919) (check-in: [5d9c6aa964] user: drh branch: trunk, size: 14050) | |
14:09 | [fb93d00ab7] part of check-in [3970eb875d] Fix bugs caused by assuming that shared-schemas are initialized. (CVS 2917) (check-in: [3970eb875d] user: danielk1977 branch: trunk, size: 14042) | |
2006-01-10
| ||
07:14 | [8438a2808f] part of check-in [bd02a6faef] If compiled with memory-debugging, write garbage to memory when it is freed. Fix for #1594. (CVS 2900) (check-in: [bd02a6faef] user: danielk1977 branch: trunk, size: 14080) | |
2006-01-09
| ||
23:40 | [b5b63e93ea] part of check-in [ec332d8822] Added database server example code (untested). Fixed serveral bugs including the autovacuum compile problem described by ticket #1593. (CVS 2897) (check-in: [ec332d8822] user: drh branch: trunk, size: 14022) | |
16:12 | [fed27f5430] part of check-in [3e75d3d5ef] Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895) (check-in: [3e75d3d5ef] user: danielk1977 branch: trunk, size: 14030) | |
06:29 | [833e38b4fa] part of check-in [82b81f69c7] Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) (check-in: [82b81f69c7] user: danielk1977 branch: trunk, size: 13830) | |
2006-01-06
| ||
21:52 | [4a04ffcd17] part of check-in [9d71b7deaf] Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878) (check-in: [9d71b7deaf] user: drh branch: trunk, size: 13808) | |
2006-01-05
| ||
11:34 | [999104c56a] part of check-in [deeda0dc06] Add the shared schema/pager modifications. Very few tests so far. (CVS 2859) (check-in: [deeda0dc06] user: danielk1977 branch: trunk, size: 13752) | |
2005-12-29
| ||
23:04 | [07822dbd2d] part of check-in [a88580bce0] Bug fix in codec processing. (CVS 2846) (check-in: [a88580bce0] user: drh branch: trunk, size: 13700) | |
2005-12-09
| ||
14:25 | [ee70131f12] part of check-in [601c335463] Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) (check-in: [601c335463] user: danielk1977 branch: trunk, size: 13679) | |
2005-12-06
| ||
17:19 | [39e678033d] part of check-in [5e04ec694a] Modify ATTACH and DETACH to execute at runtime instead of compile time. (CVS 2803) (check-in: [5e04ec694a] user: danielk1977 branch: trunk, size: 13577) | |
12:52 | [8c3e09452b] part of check-in [e1606658f1] Some elements of the new malloc() failure handling. Not all cases work properly yet. Also, library is not threadsafe if malloc() fails right now. (CVS 2800) (check-in: [e1606658f1] user: danielk1977 branch: trunk, size: 9984) | |
2005-08-20
| ||
03:03 | [4b21689700] part of check-in [f786f37a5e] Increased test coverage. Some malloc tests now fail though this is believed to be an instrumentation problem not a real error. (CVS 2604) (check-in: [f786f37a5e] user: drh branch: trunk, size: 9959) | |
2005-03-16
| ||
12:15 | [3615dbe960] part of check-in [9a358fc33d] Fix some memory leaks that can occur if a memory allocation fails. (CVS 2388) (check-in: [9a358fc33d] user: danielk1977 branch: trunk, size: 9912) | |
2005-03-15
| ||
02:04 | [43099c31df] part of check-in [24e8877352] Allow the database name in a DETACH statement to be quoted. Ticket #1151. (CVS 2386) (check-in: [24e8877352] user: drh branch: trunk, size: 9792) | |
2005-01-24
| ||
10:25 | [f78f76bc6a] part of check-in [d5233e0747] Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271) (check-in: [d5233e0747] user: danielk1977 branch: trunk, size: 9788) | |
2005-01-23
| ||
13:14 | [4fcdb30304] part of check-in [6c631b86e5] ATTACH and DETACH cause prepared statements to expire. sqlite3_finalize() can now be called right after sqlite3_reset(). (CVS 2265) (check-in: [6c631b86e5] user: drh branch: trunk, size: 9778) | |
2005-01-20
| ||
11:32 | [cecf5ab42c] part of check-in [5b1a9bf6aa] Extend the influence of a couple of SQLITE_OMIT_** macros a little bit. (CVS 2243) (check-in: [5b1a9bf6aa] user: danielk1977 branch: trunk, size: 9709) | |
2004-09-06
| ||
17:24 | [e49d09dad9] part of check-in [3ddf5a9d1c] Fix a naming conflict between sqlite versions 2 and 3. An open sqlite3 connection now *must* be called "sqlite3". You cannot call it "sqlite". This might break existing code. (CVS 1941) (check-in: [3ddf5a9d1c] user: drh branch: trunk, size: 9522) | |
2004-09-05
| ||
23:23 | [3fe50b71cf] part of check-in [dfa9ea89c4] Comment changes and minor code cleanup. (CVS 1940) (check-in: [dfa9ea89c4] user: drh branch: trunk, size: 9519) | |
2004-08-01
| ||
03:52 | [0bd4f11da6] part of check-in [7ecff04a61] Fix a memory leak when the auxiliary data of a database structure is used. (CVS 1874) (check-in: [7ecff04a61] user: drh branch: trunk, size: 9491) | |
2004-07-22
| ||
15:02 | [784456629b] part of check-in [b0a3becd82] Fix bugs associated with the codec. (CVS 1846) (check-in: [b0a3becd82] user: drh branch: trunk, size: 9681) | |
02:40 | [2e5d8eae9c] part of check-in [b77bec3574] Changes in support of using a codec. (CVS 1844) (check-in: [b77bec3574] user: drh branch: trunk, size: 8924) | |
01:19 | [9e3fcd504a] part of check-in [4cf6e9db75] Initial implementation of variable page sizes and the temp_store pragma. (CVS 1843) (check-in: [4cf6e9db75] user: drh branch: trunk, size: 8971) | |
2004-07-19
| ||
00:56 | [5e37aaac09] part of check-in [c22f9feb1b] A failed ATTACH leaves the database in a consistent state. Ticket #811. (CVS 1811) (check-in: [c22f9feb1b] user: drh branch: trunk, size: 9017) | |
2004-06-30
| ||
09:49 | [1324982711] part of check-in [152e9940b9] Coverage tests for vacuum.c (CVS 1776) (check-in: [152e9940b9] user: danielk1977 branch: trunk, size: 9035) | |
2004-06-29
| ||
08:59 | [678ded370e] part of check-in [157db33e09] Fix error reporting path for errors that occur while reading the database schema. (CVS 1757) (check-in: [157db33e09] user: danielk1977 branch: trunk, size: 8997) | |
2004-06-28
| ||
01:11 | [73b16e608f] part of check-in [fae7c6e004] Fix a bunch of harmless warnings. (CVS 1749) (check-in: [fae7c6e004] user: danielk1977 branch: trunk, size: 8982) | |
2004-06-26
| ||
06:37 | [b105aeb8c8] part of check-in [212de3ce66] Remove default_synchronous and temp_store pragmas. Allow the safety-level and cache-size to be set for attached databases. (CVS 1735) (check-in: [212de3ce66] user: danielk1977 branch: trunk, size: 8978) | |
2004-06-19
| ||
16:06 | [05102e2e8a] part of check-in [01f74b420c] Omit the DB_Locked and DB_Cookie flags. Other minor cleanup. (CVS 1642) (check-in: [01f74b420c] user: drh branch: trunk, size: 8944) | |
14:49 | [78ca379f2d] part of check-in [99d0436e0e] Omit the sqlite3VdbeCode() routine. Use sqlite3NameFromToken() more to reduce the amount of code. (CVS 1639) (check-in: [99d0436e0e] user: drh branch: trunk, size: 8950) | |
09:08 | [293da1e8e3] part of check-in [c49d8bdc3e] Make sure ATTACH and DETACH fail if a transaction is active. (CVS 1633) (check-in: [c49d8bdc3e] user: danielk1977 branch: trunk, size: 9068) | |
2004-06-09
| ||
12:30 | [93b8ecec4a] part of check-in [beab038c71] Fix error reporting when trying to attach a database with a foriegn text encoding. (CVS 1545) (check-in: [beab038c71] user: danielk1977 branch: trunk, size: 8775) | |
2004-06-07
| ||
07:52 | [e76e4590ec] part of check-in [983221b038] Add pragma to set/get text encoding. Also fix an obscure problem where a temp trigger could be accidently dropped. (CVS 1537) (check-in: [983221b038] user: danielk1977 branch: trunk, size: 8757) | |
2004-05-11
| ||
07:11 | [c315c58cb1] part of check-in [dfde112116] Remove code dealing with old file formats. (CVS 1354) (check-in: [dfde112116] user: danielk1977 branch: trunk, size: 8769) | |
2004-05-08
| ||
08:23 | [fa9a582344] part of check-in [8af6474c49] Change lots of internal symbols from sqliteXXX to sqlite3XXX so that the library links again. It doesn't work yet, due to changes in the btree layer calling convention. (CVS 1324) (check-in: [8af6474c49] user: danielk1977 branch: trunk, size: 8957) | |
2004-05-07
| ||
01:46 | [026702566f] part of check-in [c4bd99b79c] Fix a memory leak in DETACH when using the codec. (CVS 1317) (check-in: [c4bd99b79c] user: drh branch: version_2, size: 8948) | |
2004-02-12
| ||
18:46 | [b01db0d321] part of check-in [800c11f4bc] Add hooks on each attached database connection for storing auxiliary information. Add the USING clause to ATTACH. (CVS 1232) (check-in: [800c11f4bc] user: drh branch: trunk, size: 8891) | |
2004-01-20
| ||
11:54 | [4a0a3c0885] part of check-in [c32a80fe3c] Make ATTACH and DETACH work with the non-callback API. Ticket #574. (CVS 1194) (check-in: [c32a80fe3c] user: drh branch: trunk, size: 8504) | |
2003-12-06
| ||
22:22 | [9a3764bbcc] part of check-in [ac428c8d4a] Fail an ATTACH if the auxiliary database is locked. Ticket #514. (CVS 1127) (check-in: [ac428c8d4a] user: drh branch: trunk, size: 8350) | |
2003-06-14
| ||
12:04 | [9f78b4aaac] part of check-in [9ec40935b9] Bug fix: sqliteFree() called twice on the same allocation during error handling in attach.c. (CVS 1020) (check-in: [9ec40935b9] user: drh branch: trunk, size: 8178) | |
2003-06-06
| ||
19:00 | [0f0dd4b0d2] part of check-in [a97dca73ae] Extend the authorization mechanism to disallow the ATTACH and DETACH commands. Ticket #340. (CVS 1010) (check-in: [a97dca73ae] user: drh branch: trunk, size: 8203) | |
2003-06-03
| ||
01:47 | [db89b086f5] part of check-in [3e8889d7ce] Additional testing of the ATTACH command with bug fixes for the new problems that the tests found. (CVS 998) (check-in: [3e8889d7ce] user: drh branch: trunk, size: 7818) | |
2003-05-31
| ||
16:21 | [4f0aa5add0] part of check-in [7202d4f1a8] Tighter binding of views, triggers, and indices to their respective databases. Ticket #323. Much more testing needs to be done to the sqliteFix...() routines in attach.c. (CVS 990) (check-in: [7202d4f1a8] user: drh branch: trunk, size: 7771) | |
2003-04-15
| ||
19:22 | [7ebc7487de] part of check-in [0b996959b8] Get triggers working on tables with INTEGER PRIMARY KEYs. Ticket #291. This may also fix #159. Still need to add tests so both bugs remain open for the time being. (CVS 908) (check-in: [0b996959b8] user: drh branch: trunk, size: 3807) | |
2003-04-13
| ||
18:26 | [8c98e2c0ca] part of check-in [96336bffde] Support in-memory databases for temp tables (CVS 903) (check-in: [96336bffde] user: paul branch: trunk, size: 3776) | |
2003-04-06
| ||
21:08 | Added: [1e429791ee] part of check-in [73359037ea] Split the implementation of COPY, PRAGMA, and ATTACH into separate source code files. (CVS 902) (check-in: [73359037ea] user: drh branch: trunk, size: 3768) | |