SQLite
File History
Not logged in

History of files named src/vdbe.c

2014-12-04
23:42
[9f43973c08] part of check-in [463ad971d2] Import from trunk support for SQLITE_CHECKPOINT_TRUNCATE and fixes for a couple of obscure bugs. (user: drh branch: apple-osx)
23:35
[c02217423a] part of check-in [34ffa3b3c0] Incorporate the SQLITE_CHECKPOINT_TRUNCATE enhancement and a couple of obscure bug fixes from trunk. (user: drh branch: sessions)
04:50
[1a9e671c9c] part of check-in [7475b90c55] Add an implementation mark and fix a comment describing the OP_Checkpoint opcode. (user: drh branch: trunk)
2014-12-02
20:51
[60217f3b8a] part of check-in [edda2b9e7a] Add support for SQLITE_CHECKPOINT_TRUNCATE. (user: drh branch: trunk)
16:38
[8a4609393b] part of check-in [43c4ba26a2] Merge all recent enhancements and bug fixes from trunk into the apple-osx branch. (user: drh branch: apple-osx)
16:31
[24e590213c] part of check-in [2617d93713] Merge all recent fixes and enhancements from trunk into sessions. (user: drh branch: sessions)
2014-11-20
02:18
[ec1f55acef] part of check-in [9a9627e178] Add some requirements marks to the record formatting logic. Comment changes only - the code is unaltered. (user: drh branch: trunk)
2014-11-19
14:31
[16914136ea] part of check-in [89b3c1c455] Completely remove an assert() that had previously been commented out. (user: drh branch: trunk)
2014-11-18
21:27
[cb6dab39d7] part of check-in [ccb601f6df] Merge recent trunk enhancements. (user: drh branch: apple-osx)
21:20
[ef0d4a46d2] part of check-in [f09055f3c4] Merge recent trunk enhancements, including the read-after-ROLLBACK change and the addition of sqlite3_stmt_scanstatus() support, as well as various minor bug fixes. (user: drh branch: sessions)
20:49
[5563459c06] part of check-in [296b0c7397] Merge in all the other ROLLBACK fixes from the branch-3.8.7 branch. I don't know why I was doing them one-by-one. (user: drh branch: trunk)
2014-11-17
19:44
[8bc291aa00] part of check-in [2f2ecb9948] Avoid calling sqlite3BtreeKeysize() on a b-tree cursor in SKIPNEXT or SKIPPREV state. Cherrypick of 54e7d3fcb1. (user: dan branch: branch-3.8.7)
19:42
[5d3991d723] part of check-in [54e7d3fcb1] Avoid calling sqlite3BtreeKeysize() on a b-tree cursor in SKIPNEXT or SKIPPREV state. (user: dan branch: trunk)
17:13
[3e8f9787d9] part of check-in [34fc4a082c] When a SELECT statement is terminated by a ROLLBACK TO operation, make the error message be "abort due to ROLLBACK" rather than "callback requested query abort". (user: drh branch: branch-3.8.7)
2014-11-13
13:42
[a6b604364c] part of check-in [402780a9c8] When a transaction or savepoint rollback occurs, save the positions of all open read-cursors so that they can be restored following the rollback operation. Cherry-pick of check-in dd03a2802f3f27 (user: drh branch: branch-3.8.7)
2014-11-12
14:56
[5e47308836] part of check-in [dd03a2802f] When a transaction or savepoint rollback occurs, save the positions of all open read-cursors so that they can be restored following the rollback operation. (user: dan branch: trunk)
14:07
[0b4ffa1aee] part of check-in [e1017745e1] Make sure that NULL results from OP_Column are fully and completely NULL and do not have the MEM_Ephem bit set. Fix for ticket [094d39a4c95ee4]. (user: drh branch: branch-3.8.7)
2014-11-11
22:55
[4c77cdf16b] part of check-in [d4b2d5d066] Enhance ROLLBACK so that pending queries are allowed to continue as long as the schema does not change. This is a cherry-pick of check-in b5df5ac052. (user: drh branch: branch-3.8.7)
14:59
[c71d819bb3] part of check-in [b5df5ac052] Permit read operations to continue after a ROLLBACK as long as the schema does not change. (user: drh branch: trunk)
2014-11-07
14:41
[d5dab22208] part of check-in [ecbccd0e59] Add new test file e_blobopen.test, containing tests for sqlite3_blob_open(). (user: dan branch: trunk)
2014-11-05
15:57
[3fd4ebd3e8] part of check-in [42705fd7d8] Make sure that NULL results from OP_Column are fully and completely NULL and do not have the MEM_Ephem bit set. Fix for ticket [094d39a4c95ee4]. (user: drh branch: trunk)
2014-11-03
16:56
[175a360c56] part of check-in [ab3b0fc576] Add the experimental sqlite3_stmt_scanstatus() API. For comparing the number of rows actually visited by a loop with the estimate used by the query planner. (user: dan branch: trunk)
2014-11-01
21:00
[ccc626d706] part of check-in [f13d6ba8a7] Minor performance enhancements to SQLITE_ENABLE_STMT_SCANSTATUS code. (user: dan branch: scanstatus)
20:38
[69d025732d] part of check-in [9ea37422a8] If SQLITE_ENABLE_STMT_SCANSTATUS is defined, record the number of times each VDBE opcode is executed. Derive the values returned by sqlite3_stmt_scanstatus() from these records on demand. (user: dan branch: scanstatus)
18:08
[5240bad20c] part of check-in [8d8cc9608d] Minor fixes and documentation improvements for sqlite3_stmt_scanstatus(). (user: dan branch: scanstatus)
2014-10-31
20:11
[80329be857] part of check-in [6a9bab34ae] Add the experimental sqlite3_stmt_scanstatus() API. (user: dan branch: scanstatus)
15:20
[d9245b3b5b] part of check-in [fef8430f12] Merge all recent trunk enhancements into the apple-osx branch. (user: drh branch: apple-osx)
14:53
[407f16f599] part of check-in [28b044a512] Merge recent trunk enhancements, and in particular the improvements to the b-tree balancing logic, into the sessions branch. (user: drh branch: sessions)
2014-10-29
01:13
[5a1afb5718] part of check-in [304ea6ba6f] In the OP_Column opcode, when extracting a field that is past the end of a short record (because the row was originally inserted prior to ALTER TABLE ADD COLUMN) then make sure the output register is fully NULL and does not contain leftover flags (such as MEM_Ephem) from its previous use. Fix for ticket [43107840f1c02]. This is a cherrypick of check-in 24780f8ddc1683fc. (user: drh branch: branch-3.8.7)
00:58
[49e659bc16] part of check-in [24780f8ddc] In the OP_Column opcode, when extracting a field that is past the end of a short record (because the row was originally inserted prior to ALTER TABLE ADD COLUMN) then make sure the output register is fully NULL and does not contain leftover flags (such as MEM_Ephem) from its previous use. Fix for ticket [43107840f1c02]. (user: drh branch: trunk)
2014-10-28
18:24
[1b7e8ccaca] part of check-in [41cdd0c422] Modify the documentation for sqlite3_changes() to make it more testable. Add tests and minor fixes for the same. (user: dan branch: trunk)
2014-10-23
17:26
[5acb0a03f4] part of check-in [c6a5b67ae1] Add debugging code to count the number of iterations of each loop made as part of statement execution. (user: dan branch: debug-loopcounters)
2014-10-14
14:17
[678170cc7e] part of check-in [880df7568a] Merge from trunk recent micro-optimizations and the fix for the DESC index GROUP BY ORDER BY bug. (user: drh branch: apple-osx)
13:41
[a146518369] part of check-in [83d4114f2a] Merge recent trunk micro-optimizations and the DESC index GROUP BY ORDER BY bug fix into the sessions branch. (user: drh branch: sessions)
2014-10-13
23:39
[5ee15a66ce] part of check-in [005e5b388a] Optimize a database corruption test inside of the OP_Column opcode. (user: drh branch: trunk)
20:12
[8755e3bb0d] part of check-in [4b3b65ee5e] Use the padding word in the Mem object as temporary storage for serial_type value in OP_Record, and thus avoid a redundant computation of the serial_type for each column. (user: drh branch: trunk)
16:02
[cf7c24e531] part of check-in [c2799aece1] Reduce the CPU load imposed by sqlit3VdbeCursorMoveto() by factoring out some of its functions and by avoiding unnecessary calls. (user: drh branch: trunk)
13:00
[6e07ea132d] part of check-in [20062f4942] Remove the OPFLAG_CLEARCACHE flag from OP_Column. In its place, change the P3 parameter of OP_SorterData to be the index of the pseudo-table cursor whose record header cache is to be cleared. This gives a small size reduction and performance increase. (user: drh branch: trunk)
12:30
[124df37e55] part of check-in [134e65c07f] Use OP_SorterColumns in aggregate queries. Remove OPFLAG_CLEARCACHE. (user: drh branch: OP_SorterColumns)
01:23
[5ffd7b1825] part of check-in [b9c695e885] Add the OP_SorterColumns opcode - an experiment in using a special case opcode to decode the Sorter output rather than the generic OP_Column. This might be faster. And with further work, it could eventually eliminate the need for OP_OpenPseudo. (user: drh branch: OP_SorterColumns)
2014-10-12
22:37
[97c6c50e27] part of check-in [91384a7d72] Remove the VdbeCursor.lastRowid cache of the current rowid, since maintaining the correct cache value uses more CPU cycles than just recomputing the rowid on the occasions when it is actually needed. Replace it with the VdbeCursor.aOffset field which used to be computed from VdbeCursor.aType when needed. Saves 100 bytes of code space and runs 0.2% faster. (user: drh branch: trunk)
2014-10-11
23:31
[58c19340f0] part of check-in [869c30e45c] Performance optimization and very slight size reduction for OP_Column. (user: drh branch: trunk)
2014-10-10
12:56
[10880af9bb] part of check-in [abfef25472] Merge all recent trunk changes. (user: drh branch: sessions)
2014-10-09
11:27
[30f8ae7e6c] part of check-in [6fc7207727] Merge the latest trunk enhancements into the apple-osx branch. (user: drh branch: apple-osx)
2014-10-08
14:28
[fee8286ff0] part of check-in [dff0f6422e] Set the connection-specific lastRowid value before calling any SQL function. (user: drh branch: trunk)
2014-10-07
23:02
[e6c9641013] part of check-in [f672a380e2] Make sure the sqlite3VdbeMemClearAndResize() routine is never called with a zero size parameter, since a size of zero could lead to either a memory leak or an assertion fault. (user: drh branch: trunk)
2014-10-01
01:46
[478069124a] part of check-in [2078454ac9] Merge the latest enhancements from trunk. (user: drh branch: apple-osx)
2014-09-29
18:47
[89636b004d] part of check-in [5e5d6e8680] Add the OPFLAG_MULTICOLUMN flag to the OP_Column opcode. Rearrange OP_Column instructions to take advantage of the new flag for a small performance increase (user: drh branch: faster-OP_Column)
2014-09-27
19:51
[a96171a2d0] part of check-in [497367cb57] Merge recent trunk changes (performance enhancements) into the sessions branch. (user: drh branch: sessions)
2014-09-26
18:30
[93eeb6f9c3] part of check-in [d026f0c944] Add an assert() to verify the last-row-id for the database just prior to calling a SQL function. (user: mistachkin branch: trunk)
01:10
[91b7e12bca] part of check-in [e93aecc090] If an SQL function makes a recursive call to do an INSERT into the same database, make sure that the last_insert_rowid() for that INSERT is recorded. (user: drh branch: trunk)
2014-09-25
17:42
[e4df7191ab] part of check-in [baeb72a356] Minor code reformatting and comment change, to improve clarity. No logic changes. (user: drh branch: trunk)
13:17
[73eace757e] part of check-in [3467049a17] Simplifications to the SQL function and aggregate calling procedures. (user: drh branch: trunk)
12:31
[9fe630d058] part of check-in [1330c72e17] Simplification to the random rowid picking logic that begins running when the maximum possible rowid has already been used. (user: drh branch: trunk)
2014-09-24
19:47
[23db9b11f0] part of check-in [99323552c0] Have each open database allocate its pTmpSpace when the first write cursor is opened, rather than on each insert or delete, for a small space savings and performance boost. (user: drh branch: trunk)
2014-09-21
23:08
[cdeb927323] part of check-in [3967ebe83e] Merge in all recent changes from trunk. (user: drh branch: apple-osx)
22:49
[5e6d4ef36c] part of check-in [6406b77f2c] Merge all recent trunk changes into the sessions branch. (user: drh branch: sessions)
2014-09-19
22:44
[de1af1795b] part of check-in [544664cadf] Simplify two conditionals and add testcase() macros to the affinity transform logic in the comparison operators. (user: drh branch: trunk)
22:01
[16efd1ae26] part of check-in [e996ca32cb] Tighten the conditions under which applyNumericAffinity() be called and add assert() statements to prove that it is never called otherwise. (user: drh branch: trunk)
16:56
[c90b7ebe85] part of check-in [6199760d13] Remove a local variable from the OP_Column implementation, resulting in a modest size reduction and a performance increase. (user: drh branch: trunk)
15:28
[9f2a0a2dfa] part of check-in [36b613ccf0] The OP_Column opcode runs faster and is smaller by manually in-lining the code that persists string values in the output register. (user: drh branch: trunk)
04:42
[7bc115e540] part of check-in [987a7a2119] Add the sqlite3VdbeMemClearAndResize() function. Fix a sorting-index prefilter problem. (user: drh branch: trunk)
2014-09-18
21:25
[fb490f5b1b] part of check-in [9c09ac353d] Add the Mem.szMalloc element to the Mem object and use it to keep track of the size of the Mem.zMalloc allocation. (user: drh branch: trunk)
17:52
[17f285ff89] part of check-in [4c8c89d7e6] Merge the Mem.r value into the MemValue union as Mem.u.r. Hence, a Mem can now store an integer or a real but not both at the same time. Strings are still stored in a separate element Mem.z, for now. (user: drh branch: trunk)
16:28
[b00ffadc43] part of check-in [d7afdcbac2] Performance improvement for affinity transformations on comparison operators. (user: drh branch: trunk)
14:36
[2caa3b1e32] part of check-in [4ef4c9a7c8] Since numeric affinity is the most common case, check it first. Interchange the NONE and TEXT affinity codes for easier checking of no affinity. (user: drh branch: trunk)
01:29
[78606777e4] part of check-in [1de558bcb1] Merge micro-optimizations into trunk after fixing the build on MSVC. Performance now shows 7.58% faster than the 3.8.6 release on x64 with gcc 4.8.1 and -Os. (user: drh branch: trunk)
2014-09-17
16:41
[d3c548ad4e] part of check-in [fdddb477c8] In the Mem object, stop requiring that Mem.xDel be NULL when the MEM_Dyn bit is clear. Also reduce the amount of initialization of Mem objects. All for a small size reduction and performance increase. (user: drh branch: micro-optimizations)
14:52
[d39487782c] part of check-in [4e43784432] Improved interface to the Mem object handling. Small size reduction and performance increase. (user: drh branch: micro-optimizations)
2014-09-16
20:05
[6a45baf86f] part of check-in [78fb8838d8] Make sure registers are cleared properly prior to being used to store the result of an OP_Column operator. (user: drh branch: micro-optimizations)
18:22
[ff1b0b4f41] part of check-in [f73678038d] Simplification of the OP_Column logic for the case of rows with overflow. (user: drh branch: micro-optimizations)
14:55
[ae07ee8466] part of check-in [a10a6bba49] Remove an unused parameter from sqlite3VdbeIdxRowid(). This is cosmetic only as the C-compiler optimizers were already omitting this parameter on amalgamation builds. (user: drh branch: micro-optimizations)
2014-09-08
15:04
[16b7d573a6] part of check-in [c2885c6bb2] Merge support for large files on Android from trunk. (user: drh branch: sessions)
2014-09-06
16:39
[9a45dcbcc9] part of check-in [e62aab5e92] Fix typos in comments. No code changes. (user: peter.d.reid branch: trunk)
2014-09-02
15:57
[0c353a885a] part of check-in [696dc935f7] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
15:49
[591bd4a84f] part of check-in [d4cce2c71e] Merge the latest trunk changes, including the multi-threaded sorter, into the sessions branch. (user: drh branch: sessions)
2014-09-01
17:36
[90db7ad740] part of check-in [b1c0f0bc1b] Add support for using separate worker threads to speed large sorts. The SQLITE_MAX_WORKER_THREADS and SQLITE_DEFAULT_WORKER_THREADS compile-time options and the SQLITE_LIMIT_WORKER_THREADS argument to sqlite3_limit() and the "PRAGMA threads=N" pragma are added. (user: drh branch: trunk)
2014-08-29
11:24
[a15dea6a15] part of check-in [8c57bcc327] Add the sqlite3VdbeChangeDest() routine that can be used to eliminate OP_Move opcodes. (user: drh branch: experimental)
2014-08-27
17:53
[fd193824d1] part of check-in [029a6dc744] Add a VDBE synopsis comment for clarification. (user: mistachkin branch: trunk)
14:14
[8b66384203] part of check-in [6c1ee3e388] In the sqlite3_context object, keep a pointer to the result value rather than storing the result value in the sqlite3_context object and using memcpy() to move the value back into its register after the function returns. This runs faster and saves over 500 bytes of code space. (user: drh branch: trunk)
2014-08-26
02:15
[5e576d164e] part of check-in [08ae974ac8] Merge recent performance enhancements and the CAST operator enhancements into the sessions branch. (user: drh branch: sessions)
02:02
[4a9e8ed75a] part of check-in [5c27311105] Merge recent performance enhancements and the CAST operator enhancements into the apple-osx branch. (user: drh branch: apple-osx)
2014-08-25
22:43
[5d6a6ad632] part of check-in [6c8f86e4e0] Merge the CAST operator enhancements from trunk. (user: drh branch: threads)
22:37
[2f8fbc520c] part of check-in [af364cce9d] Add an assert() and five testcase() macros to the OP_Cast opcode implementation to help verify that it is fully tested. (user: drh branch: trunk)
20:11
[2b3420d224] part of check-in [91d8a8d0b7] Allow CAST expressions and unary "+" operators to be used in the DEFAULT argument of an ALTER TABLE ADD COLUMN and to be understand on the RHS of range constraints interpreted by STAT3/4. This involves a rewrite of the implementation of the CAST operator. (user: drh branch: trunk)
13:27
[93cf510b8e] part of check-in [dfdc900f5d] Merge the recent performance enhancements implemented on trunk into the threads branch. (user: drh branch: threads)
11:20
[0fe4b47668] part of check-in [3ca5846da7] Change the name of the VdbeMemRelease() macro to VdbeMemReleaseExtern() to more accurately reflect what it does. Performance enhancement to the sqlite3VdbeMemRelease() function. (user: drh branch: trunk)
2014-08-23
17:41
[52ee5d589c] part of check-in [0c0a603950] Improved performance in the type handling of arithmetic operators in the VDBE. (user: drh branch: trunk)
17:21
[76f9fc30dc] part of check-in [25f2246be4] Performance optimization in the applyAffinity() logic inside the VDBE. (user: drh branch: trunk)
2014-08-15
15:10
[ff9bec31cc] part of check-in [2acbeac1fd] Update the sessions branch for version 3.8.6. (user: drh branch: sessions)
2014-08-14
14:02
[aae4addde3] part of check-in [a608fd1d52] Merge the pre-3.8.6 changes into the threads branch. (user: drh branch: threads)
13:39
[91552c6f97] part of check-in [08058df3af] Merge the pre-3.8.6 changes from trunk into the apple-osx branch. (user: drh branch: apple-osx)
13:06
[f7f4066e4d] part of check-in [13a2d90a28] Fix typos in comments used to help generate documentation. No changes to code. (user: drh branch: trunk)
2014-08-13
14:43
[b23574edc8] part of check-in [d49455d9a9] Merge the trunk changes for 3.8.6 beta3 into the sessions branch. (user: drh branch: sessions)
2014-08-06
17:49
[cd8d7e3ecd] part of check-in [a2a60307ea] Fix two more harmless compiler warnings. Make sure the fts3_unicode2.c file is in sync with mkunicode.tcl. (user: drh branch: trunk)
02:03
[787d1b5178] part of check-in [a353a8515f] Merge all recent changes from trunk. (user: drh branch: threads)
01:51
[bd3bc4d333] part of check-in [b2e01080cc] Merge 3.8.6 beta changes in from trunk. (user: drh branch: apple-osx)
01:25
[54fa84fdd9] part of check-in [68a6d5e2f4] Merge the latest 3.8.6 beta changes from trunk. (user: drh branch: sessions)
01:08
[2db817cf7c] part of check-in [717245d487] Fix typos in the opcode documentation. Comment changes only. No changes to code. (user: drh branch: trunk)
2014-08-05
19:16
[aa93cf7a21] part of check-in [952868216854e] Add the ability to evaluate IN operators as a sequence of comparisons as an alternative to the long-standing algorithm of building a lookup table. Use the new implementation in circumstances where it is likely to be faster, such as when the RHS of the IN changes between successive evaluations. (user: drh branch: trunk)
2014-08-04
15:12
[83ddbf844e] part of check-in [2f724cbac9] Changed my mind: This opcode name changes mere creates unnecessary diff marks between older and newer versions without significantly improving readability. Was: Rename the IsNull opcode to IfNull and rename the NotNull opcode to IfNotNull. (user: drh branch: deadend)
2014-08-01
18:00
[b9e6866e43] part of check-in [c11e55fabb] Remove an unnecessary OP_Null in the IN-operator logic. Attempt to clarify comments explaining the IN-operator code, though it is not clear that the comments are correct even yet - more work to be done. (user: drh branch: trunk)
01:40
[115e08834b] part of check-in [9abcf2698c] Enhance the PRAGMA integrity_check command to detect UNIQUE and NOT NULL constraint violations. (user: drh branch: trunk)
2014-07-30
14:57
[4faacd47f8] part of check-in [fa7912320f] Merge in the CREATE UNIQUE INDEX fix of ticket [9a6daf340df99ba93c53bcf]. (user: drh branch: apple-osx)
14:44
[e27749e6a5] part of check-in [5b50a8380b] Merge recent trunk changes, and especially the fix for the CREATE UNIQUE INDEX problem of ticket [9a6daf340df99ba9]. (user: drh branch: threads)
14:29
[79cd844352] part of check-in [43401ee624] Merge the fix for the CREATE UNIQUE INDEX problem into the sessions branch. (user: drh branch: sessions)
13:56
[f87f77b004] part of check-in [6b785e92f2] Ensure that the correct number of columns in a UNIQUE index are checked for uniqueness, regardless of whether or not the original table has a ROWID or if the columns are NOT NULL, etc. Ticket [9a6daf340df99ba93c]. (user: drh branch: trunk)
11:49
[d05d3d0e46] part of check-in [654c6c658b] Merge all recent trunk changes, and especially the R-Tree IN operator fix of ticket [d2889096e7bdeac]. (user: drh branch: apple-osx)
2014-07-29
12:40
[3d19531497] part of check-in [8f1beeade0] Merge recent trunk changes, and especially the fix for the R-Tree problem described in ticket [d2889096e7bdeac6]. (user: drh branch: sessions)
2014-07-28
15:01
[c28f377d29] part of check-in [163c247bd8] Merge recent trunk changes into the threads branch. (user: drh branch: threads)
2014-07-26
20:12
[b127f05ff1] part of check-in [5350229b52] Remove an unreachable branch from the sqlite3_value_numeric_type() interface. (user: drh branch: trunk)
16:47
[145f909c1c] part of check-in [413d728797] Avoid unnecessary no-op calls to applyNumericAffinity() for a small performance improvement. (user: drh branch: trunk)
2014-07-25
18:37
[b7af861342] part of check-in [2d32e4876e] Improved comments on VDBE opcodes, for better documentation. No code or logic changes. (user: drh branch: trunk)
18:01
[c6a9094a56] part of check-in [2230c74f1e] Add constraints (enforced only when SQLITE_DEBUG is enabled) on the use of OP_Next and OP_Prev. (user: drh branch: trunk)
2014-07-24
16:54
[7ba7cc297e] part of check-in [770685892c] Merge all recent trunk changes into the threads branch. (user: drh branch: threads)
16:43
[2e38a1a2a0] part of check-in [3810dc62d2] Merge recent trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
16:23
[7224ed5d23] part of check-in [a9db017eab] Merge recent trunk changes into the sessions branch. (user: drh branch: sessions)
2014-07-22
20:02
[fa74c65634] part of check-in [77f412caf0] Add the OP_ReopenIdx opcode that works like OP_OpenRead except that it becomes a no-op if the cursor is already open on the same index. Update the OR-optimization logic to make use of OP_ReopenIdx in order to avoid unnecessary cursor open requests sent to the B-Tree layer. (user: drh branch: trunk)
14:58
[2f3f0582df] part of check-in [ca2a5a2c77] Enhance the sqlite_stat1.stat parsing to allow additional text parameters at the end. Unrecognized parameters are silently ignored. (user: drh branch: trunk)
2014-07-21
15:44
[514adcc947] part of check-in [1a817ae2f3] Allow the SQLITE_MAX_ATTACHED compile-time option to be larger than 62. The default limit on the number of attached databases remains 10. (user: drh branch: trunk)
2014-07-15
11:59
[54e269c626] part of check-in [1efa6ed584] Add simple tests for new sqlite3BtreeCursorHint() functionality. (user: dan branch: cursor-hints)
2014-05-29
20:36
[9156499280d] part of check-in [b9fad4490c] Merge trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
20:29
[62f985592b] part of check-in [9f18e78f03] Merge trunk changes into the sessions branch. (user: drh branch: sessions)
20:24
[1dff86d8a8] part of check-in [416cb09126] Merge changes from the trunk into the threads branch. (user: drh branch: threads)
2014-05-27
10:57
[9bfe6becfc] part of check-in [994b2b7a59] Fix for (unsupported) SQLITE_USE_FCNTL_TRACE code. (user: drh branch: trunk)
2014-05-26
20:15
[d4f57833c3] part of check-in [8215202759d] Merge recent trunk changes into the threads branch. (user: drh branch: threads)
20:08
[523587222a] part of check-in [54b5fa77e9] Merge recent trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
20:00
[79b08ff97a] part of check-in [a769c7e03e] Merge recent trunk changes into the sessions branch. (user: drh branch: sessions)
2014-05-24
17:15
[3ebcbe6a83] part of check-in [ebfb51fe40] Remove references in comments to VDBE opcodes that no longer exist. This is a documentation change only; no changes to code. (user: drh branch: trunk)
2014-05-20
00:20
[9811665adc] part of check-in [2d33afe0c4] Merge recent trunk changes into the sessions branch. (user: drh branch: sessions)
2014-05-19
15:16
[0510ef1e48] 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. (user: drh branch: safer-malloc)
2014-05-16
20:24
[4d11273a6a] part of check-in [17afd77057] Rearrange some conditionals and add #if statements to make the code more testable. (user: drh branch: threads)
2014-05-08
23:01
[0c64781331] part of check-in [9411d7dc6f] Initial attempt to merge in all trunk changes over the previous 1.5 years. This check-in compiles but there are compiler warnings and "make test" segfaults after only running a few test modules. (user: drh branch: apple-osx)
2014-05-02
18:05
[89ab2ded51] part of check-in [d9549de317] Merge orderby-planning with this branch. (user: dan branch: threads)
13:09
[b3510cc71f] part of check-in [84862d3a09] Merge latest trunk enhancements and fixes into the orderby-planning branch. (user: drh branch: orderby-planning)
2014-05-01
20:26
[7f359193bf] part of check-in [427409ae10] Fix an obscure problem to do with temp register allocation that could occur if more than one simple SELECT within a compound SELECT uses a partial sort. (user: dan branch: trunk)
2014-04-28
18:02
[d6038559be] part of check-in [e158812c34] Merge all recent trunk enhancements and fixes into the sessions branch. (user: drh branch: sessions)
2014-04-25
12:35
[699693bea6] part of check-in [4e88042f9d] When VDBE_PROFILE is enabled, ignore negative opcode times, which sometimes occur, perhaps due to context swaps. (user: drh branch: trunk)
2014-04-24
15:06
[59ad2f4c62] part of check-in [6077ddcd93] Reopen the orderby-planning branch and merge in the latest trunk enhancements and fixes. (user: drh branch: orderby-planning)
2014-04-18
13:40
[b50cd3009a] part of check-in [f8f72ecb90] Fix harmless compiler warnings. (user: drh branch: threads)
12:38
[cba6c791a3] part of check-in [8729aa3e3e] Merge recent trunk changes into the threads branch. (user: drh branch: threads)
01:10
[9d883d5c91] part of check-in [95e77efe07] Merge recent trunk changes into sessions. (user: drh branch: sessions)
2014-04-10
02:24
[bf284edea1] part of check-in [a67b5312f6] Modify the OR-clause handling so that it can safely deal with OR-clause with 17 or more terms. Fix for ticket [10fb063b1179be53ea0b53bb]. (user: drh branch: trunk)
2014-04-03
16:42
[9f3d1b35b5] part of check-in [a0910079ad] Merge all recent changes from trunk. (user: drh branch: threads)
16:35
[47bdf5f82f] part of check-in [9515c8344a] Merge all recent changes from trunk, including the fix for the OP_SCopy-vs-OP_Copy problem. (user: drh branch: sessions)
14:31
[e811a00811] part of check-in [48ecdd4aff] Fix a typo in the "Synopsis:" comment for the OP_VFilter opcode. (user: drh branch: trunk)
2014-04-01
18:41
[eed2230017] part of check-in [821d1ac450] When sorting data for a CREATE INDEX statement in single-threaded mode, assume that keys are delivered to the sorter in primary key order. Also fix various comments that had fallen out of date. (user: dan branch: threads)
2014-03-26
19:43
[99f878d003] part of check-in [fc8ca1a87e] Merge in fixes (including the corrupt-database crash fix) and performance enhancements from trunk. (user: drh branch: sessions)
2014-03-25
18:29
[02f2de0b2f] part of check-in [e005f2d6dd] Merge enhancements and fixes from trunk. (user: drh branch: orderby-planning)
15:04
[42177064bd] part of check-in [c3ae369783] Remove the sequence values from sorter records used by ORDER BY as well. (user: dan branch: orderby-planning)
2014-03-24
15:00
[74c7386e83] part of check-in [221f8f9447] Fix arithmetic operators so that they do not change the affinity of their input operands. Ticket [a8a0d2996a]. (user: drh branch: trunk)
2014-03-23
16:29
[5c0feeb6c9] part of check-in [641408a139] Avoid a possible use of an uninitialized variable following an I/O or OOM error. (user: drh branch: trunk)
2014-03-21
20:58
[37cfae03a0] part of check-in [fa06a6fed9] Add the ability to use indices for the first few terms of an ORDER BY clause, then sort in batches to handle the later terms. (user: drh branch: trunk)
2014-03-19
14:10
[e0fe939465] part of check-in [59742dd4c5] First attempt at getting block-sort to work. This is an incremental check-in. There are many problems still to be worked out. (user: drh branch: orderby-planning)
2014-03-06
13:48
[a088d1688e] part of check-in [1ed463d918] Merge the latest 3.8.4 tweaks from trunk. (user: drh branch: sessions)
13:38
[5f0fffa9bf] part of check-in [0a4200f95c] Improved EXPLAIN indentation of a loop in the ANALYZE logic for STAT4. Mark the not-found jump of a seek operation in that loop as never taken. (user: drh branch: trunk)
01:56
[b2ca9b8e3a] part of check-in [b83cfe899d] Fix some incorrect comments and typos in comments. Add testcase() macros to some of the new record comparison code. (user: drh branch: trunk)
2014-03-05
14:49
[ccddf62bcb] part of check-in [0828975d58] Merge in various obscure bug fixes and the removal of Mem.memType from trunk. (user: drh branch: sessions)
11:48
[8c6fc7bb9f] part of check-in [9e85285789] Remove the redundant memType field from struct Mem. (user: dan branch: trunk)
2014-03-04
14:34
[69e2bd9670] part of check-in [7f51ad97f0] Merge the performance enhancements of trunk (and some obscure bug fixes) into the sessions branch. (user: drh branch: sessions)
04:12
[75c3f5d27a] part of check-in [3325ad5bdc] Refactor the sqlite3VdbeRecordCompare() routine used to compare btree records. Create fast-track special case routines to handle the common cases more quickly. This gives a significant performance boost. (user: drh branch: trunk)
2014-03-03
00:12
[cbed495718] part of check-in [e3f6c61e03] Change the MEM_Dyn flag so that it means that Mem.xDel exists and must be used to free the string or blob. Add tighter invariant checks on Mem. (user: drh branch: trunk)
2014-03-01
16:24
[9abaa1ebb8] part of check-in [354699d50e] Factor the Mem invariant checker into a separate procedure (rather than a macro) so that it can be more easily extended. (user: drh branch: enhanced-mem-check)
14:45
[e9eda47b8d] part of check-in [4aeb3ae435] Add extra assert() statements trying to catch a Mem object in an inconsistent state. (user: drh branch: enhanced-mem-check)
2014-02-25
21:01
[ab910206dd] part of check-in [85206e0bba] Attempt to speed up sqlite3VdbeRecordCompare() by various means. This code is in an interim state. (user: dan branch: experimental)
2014-02-24
14:24
[6c8f28911e] part of check-in [4df0ac9023] Remove an unused variable from the VDBE_PROFILE compile-time option. Keep the opcode count in an u32 instead of an int. (user: drh branch: trunk)
2014-02-20
19:42
[c5ff7b384e] part of check-in [b46d4e8923] Fix the text of a comment used to generate VDBE opcode documentation so that it omits symbols that can be mistaken for a hyperlink by the parser. (user: drh branch: trunk)
2014-02-19
19:14
[b82ffb8ca4] part of check-in [c1e94169dd] Add the VdbeCoverageNeverTaken() macro, and comments that better describe how the VDBE branch coverage measurement works. Add some tags to provide 100% VDBE branch coverage. (user: drh branch: trunk)
14:20
[16c220ae23] part of check-in [d2c047f304] Add the SQLITE_NOTNULL P5 code for comparison operations - really a composite of SQLITE_NULLEQ and SQLITE_JUMPIFNULL. This flag indicates that NULL operands are not possible and raises and assert() if NULL operands are seen. Also omit an unnecessary scan of the sqlite_sequence table when writing into an AUTOINCREMENT table. (user: drh branch: trunk)
2014-02-18
11:31
[6e3d5d4c68] part of check-in [b287520c92] Fix VDBE branch accounting on comparison operators. (user: drh branch: trunk)
2014-02-17
23:52
[392f03b251] part of check-in [a72687699b] Merge in performance enhancements for INSERT operations, especially INSERTs on tables that have no affinity columns or that have many indices or INSERTs with content coming from a SELECT. Add the SQLITE_TESTCTRL_VDBE_COVERAGE test control and the SQLITE_VDBE_COVERAGE compile-time option used for measure coverage of branches in VDBE programs. (user: drh branch: trunk)
14:59
[e3ba6ad011] part of check-in [35b4d6e938] Avoid unnecessary calls to applyAffinity() during INSERT and UPDATE operations, especially for table that have indices and tables for which all columns have affinity "NONE". (user: drh branch: insert-optimization)
2014-02-16
01:55
[7b74ce685d] part of check-in [aa2d8b0e81] Enhance the code generator for INSERT INTO ... SELECT so that the SELECT generates output directly in the registers that INSERT INTO will be using, in many cases, and OP_SCopy operations can thus be avoided. (user: drh branch: insert-optimization)
2014-02-14
15:13
[543ed4ed0c] part of check-in [b6bea903ac] Add OP_IdxGT and OP_IdxLE as distinct opcodes. Formerly these operations where done using OP_IdxGE and OP_IdxLT with the P5 flag set. But VDBE code is easier to read with distinct opcode names. Also change OP_SeekGe to OP_SeekGE, and so forth, so that the capitalization is consistent. The whole point of this change is to improve the readability of VDBE listings. (user: drh branch: trunk)
2014-02-12
21:31
[3f0872b12e] part of check-in [56bc5ce895] Remove the "rowid cache" that sought to remember the largest rowid for a table and thereby speed up OP_NewRowid. That cache was ineffective. Removing it results in a performance increase of 0.4%, less memory usage, and a slightly smaller library size. (user: drh branch: trunk)
2014-02-11
04:30
[8b389fc56e] part of check-in [b006792695] Sync the latest trunk changes, and in particular the STAT4 IS NOT NULL fix. (user: drh branch: sessions)
2014-02-10
15:56
[e5c87476d7] part of check-in [0dfa7ee915] Improvements to a "Synopsis:" comment in the VDBE engine. (user: drh branch: trunk)
03:21
[66c3e5c49f] part of check-in [5708bc24b8] Faster and smaller implementation of sqlite3_value_type(). (user: drh branch: trunk)
2014-02-08
23:20
[78b41fd0a3] part of check-in [1e64dd782a] Do away with the "multi-register pseudo-table" abstration. Instead, just use an OP_SCopy to load results directory from the result registers of the co-routine. (user: drh branch: trunk)
19:12
[a5556442eb] part of check-in [e2303d1b0c] Change the OP_Found opcode so that it expands zero-blobs prior to comparing them. Fix for ticket [fccbde530a6583b] (user: drh branch: trunk)
01:40
[0944fe28f7] part of check-in [192dea9731] Change the OP_Trace opcode to OP_Init and give it the ability to jump to the initialization code at the bottom of the program, thus avoiding the need for an extra OP_Goto. (user: drh branch: trunk)
2014-02-07
22:21
[e7bb0587ad] part of check-in [5a88b6a7ae] Add opcodes OP_InitCoroutine and OP_EndCoroutine. Use these to remove the need for separate boolean registers to record when a co-routine has finished. (user: drh branch: trunk)
18:27
[10ddcf5fd2] part of check-in [1ec0e9dd4b] Get rid of the OP_Undef and OP_IsUndef opcodes in favor of higher-level OP_InitCoroutine and OP_EndCoroutine. (user: drh branch: coroutine-refactor)
13:20
[8697f15ad8] part of check-in [6fb7448550] Add the OP_Undef and OP_IsUndef opcodes. With these, use the first register in the result register range as the flag to indicate EOF on an INSERT from a SELECT, rather than allocating a separate boolean register for that task. (user: drh branch: coroutine-refactor)
03:28
[575189caf3] part of check-in [be24fbc221] More comment updates. No changes to code. (user: mistachkin branch: trunk)
02:29
[962cb7aad1] part of check-in [1122b410de] Update comments in vdbe.c. No changes to code. (user: drh branch: trunk)
2014-02-06
23:56
[5e3a494f6e] part of check-in [2f3376ebf1] Delete the OP_VerifySchema opcode. Enhance OP_Transaction to do the schema version checks that OP_VerifySchema used to do. (user: drh branch: trunk)
2014-02-05
18:15
[2e46c464e9] part of check-in [2997e18157] Use a new opcode, OP_OpenHash, to indicate that ephemeral tables can be unordered, rather than using the BTREE_UNORDERED bit in the P5 field. (user: drh branch: subquery-codegen-refactor)
17:08
[361f6e5557] part of check-in [a332908b70] Make the root page of an ephemeral index be page 1 instead of page 2. (user: drh branch: subquery-codegen-refactor)
2014-02-03
14:04
[e703913e9a] part of check-in [6c643e45c2] Provide hints to the btree layer Next and Previous primitives to let them know if they can be no-ops if the underlying index is unique. (user: drh branch: trunk)
2014-01-28
18:06
[7b5d45ba9b] part of check-in [7b5f377386] Bring in the latest updates from trunk. (user: drh branch: sessions)
00:49
[73d27c7058] part of check-in [a2c347faf9] Provide hints to the btree layer Next and Previous primitives to let them know if they can be no-ops if the underlying index is unique. (user: drh branch: branch-3.8.2)
2014-01-24
22:58
[5fe94e13fa] part of check-in [87bf60637e] Fixes for various clang warnings. (user: drh branch: trunk)
14:05
[c41493ca68] part of check-in [9b43e55919] Bring in all the latest trunk changes, including the Common Table Expressions implementation. (user: drh branch: sessions)
2014-01-22
18:16
[dede894c29] part of check-in [b6cea42006] Change the WITH RECURSIVE implementation to use a queue instead of a pair of tables. Add support for ORDER BY, LIMIT, and OFFSET on recursive queries. (user: drh branch: trunk)
2014-01-18
15:22
[98d96d04d9] part of check-in [2ad4583c0c] Add asserts() for a couple of unreachable conditions. Add the Mandelbrot Set query as a test case. (user: drh branch: trunk)
2014-01-17
15:15
[ccc8594e89] part of check-in [0171e3bb4f] Add support for common table expressions (WITH clauses). (user: dan branch: trunk)
2014-01-15
19:42
[b06d79951a] part of check-in [3908e2ea2e] Fixes so that SQLITE_OMIT_CTE builds work. (user: dan branch: common-table-expr)
2014-01-14
20:14
[9b918126af] part of check-in [a5c2a54a07] Add code to handle recursive CTEs. (user: dan branch: common-table-expr)
2013-12-24
12:09
[ad89fac32d] part of check-in [cfd110bf5d] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2013-12-23
11:33
[b110887e41] part of check-in [25b8a1c9ba] Remove a stray tab character. (user: drh branch: trunk)
2013-12-20
15:59
[6bcf27a80c] part of check-in [2ae22dc0cb] Combine adjacent single-register OP_Copy instructions into a single multi-register OP_Copy, where possible. Fix the Synopsis comment for multi-register OP_Copy instructions to show the correct register ranges. (user: drh branch: trunk)
2013-12-14
18:24
[d8df062f9b] part of check-in [32477642d7] Merge in all recent preformance enhancements from trunk. (user: drh branch: sessions)
2013-12-11
11:00
[919422843c] part of check-in [a7e5fcd666] Fix harmless compiler warnings. (user: drh branch: trunk)
00:59
[bdc4a981fb] part of check-in [4d0781473a] Do not run the tool/vdbe-compress.tcl script that generates the vdbeExecUnion object that reduces the size of the sqlite3VdbeExec() stack frame unless the SQLITE_SMALL_STACK compile-time option is specified as on of the OPTS in the makefile. The vdbeExecUnion object gets in the way of C-compiler optimizer and results in slightly slower code. (user: drh branch: trunk)
2013-12-10
21:38
[02fac31f39] part of check-in [079c04a501] Avoid unnecessary calls to sqlite3VdbeSerialType() from within sqlite3VdbeSerialPut(). (user: drh branch: trunk)
20:53
[c5b1730904] part of check-in [1c6ee9b85f] In the OP_MakeRecord opcode, factor out affinity changes into separate loop, for a slight performance advantage. (user: drh branch: trunk)
2013-12-09
23:17
[4bfb1fe75a] part of check-in [7277a76969] Simplifications to the OP_MakeRecord opcode and the sqlite3VdbeSerialPut() helper function. (user: drh branch: trunk)
21:06
[5338567d17] part of check-in [6b51863553] Reduce the number of times that OP_Column calls sqlite3VdbeMemMakeWriteable(). (user: drh branch: trunk)
2013-12-08
23:33
[6ccb107de5] part of check-in [f2f5a3ce9d] Another simplification to the OP_MakeRecord opcode, making it slightly faster and very slightly smaller. (user: drh branch: trunk)
22:59
[7f51e9d422] part of check-in [7a234fc3c5] Avoid unnecessary calls to sqlite3VarintLen() from the OP_MakeRecord opcode. (user: drh branch: trunk)
2013-12-07
20:39
[88a037e012] part of check-in [3a9bec524e] If the SQLITE_ENABLE_CURSOR_HINTS macro is defined, then invoke the sqlite3BtreeCursorHint() interface to provide hints to the storage engine about rows that need not be returned. Hints can be disabled using SQLITE_TESTCTRL_OPTIMIZATIONS with SQLITE_CursorHints (0x2000). Cursor hints are not used by the built-in storage engine of SQLite but might be useful to applications that provide their own storage engine. The current code is work-in-progrss and contains bugs. (user: drh branch: cursor-hints)
2013-11-27
21:53
[9c6fb9ed1b] part of check-in [3a2a1bd478] Merge all recent trunk changes. (user: drh branch: sessions)
21:07
[54894fde8d] part of check-in [81891288d9] Remove unnecessary local variables from sqlite3VdbeExec() in order to reduce stack-space requirements of that routine. (user: drh branch: trunk)
2013-11-26
23:27
[c2b3cd6bad] part of check-in [0978bac6b8] Make sure the update hook is not invoked for WITHOUT ROWID tables, as the documentation specifies. This bug was found while adding requirements marks, so a few extraneous requirements marks are included in this check-in. (user: drh branch: trunk)
18:22
[d9c63f5c56] part of check-in [8b12a15a2a] Reduce the amount of code used to implement OP_SeekGe and similar. (user: dan branch: trunk)
18:00
[520dcda659] part of check-in [fc9ae83956] Merge in performance enhancements from trunk. (user: drh branch: sessions)
15:45
[061d30aea5] part of check-in [6f53fc7106] Change the REAL-to-INTEGER casting behavior so that if the REAL value is greater than 9223372036854775807.0 then it is cast to the latest possible integer, 9223372036854775807. This is sensible and the way most platforms work in hardware. The former behavior was that oversize REALs would be cast to the smallest possible integer, -9223372036854775808, which is the way Intel hardware works. (user: drh branch: trunk)
2013-11-25
20:50
[23d0cfba65] part of check-in [032e89934f] Optimizations to the sqlite3BtreeMovetoUnpacked() routine in storage engine making it about 17.8% faster, which in turn makes SQLite over 1.2% faster overall. (user: drh branch: trunk)
2013-11-21
21:59
[4d637218b7] part of check-in [4e8c5d0795] Changes some offset and amount parameters from "int" to "u32" to avoid harmless signed/unsigned comparison warnings. (user: drh branch: trunk)
04:18
[bfbbaf9dad] part of check-in [70b056fb6f] Another improvement to OP_Function and an improvement to OP_Move. (user: drh branch: trunk)
03:43
[9d8490d65b] part of check-in [b890eefd57] A simple change to the OP_Function opcode improves overall performance by about 0.5%. (user: drh branch: trunk)
03:12
[1aabde6813] part of check-in [ecaac28a2e] Performance optimization to the OP_Next and OP_Prev opcodes. (user: drh branch: trunk)
01:33
[c375ba0385] part of check-in [972881c6d3] Refactor the OP_Column opcode to make it clearer and easier to maintain. Overall, performance tests show about a 1% speed increase with this change. (user: drh branch: trunk)
00:10
[fb6007ac59] part of check-in [f8d5efcd7b] Unpack some fields, adding some space back to the VdbeCursor object, in order to help the code to run a little faster. (user: drh branch: OP_Column-refactor)
2013-11-20
21:51
[b55581dbd2] part of check-in [5f9d506885] Reduce the size of the VdbeCursor object from 144 to 120 bytes. (user: drh branch: OP_Column-refactor)
20:58
[987f375b8b] part of check-in [0e05679db7] Improved comments on the OP_Column changes. Optimize out loading of overflow pages for content with zero length. Add test cases for the latter. (user: drh branch: OP_Column-refactor)
19:28
[1a6e2c9413] part of check-in [0e3f5df695] Further performance tweaks to OP_Column. (user: drh branch: OP_Column-refactor)
17:25
[d4b8a9067a] part of check-in [7c914e3997] Refactoring the OP_Column opcode for improved performance and maintainability. (user: drh branch: OP_Column-refactor)
02:53
[da810a2b71] part of check-in [5562cd343d] Simplifications to the VdbeCursor object. (user: drh branch: trunk)
00:59
[9e2b906528] part of check-in [96a65388e7] Performance improvement for the OP_MustBeInt opcode in the VDBE. (user: drh branch: trunk)
2013-11-15
18:58
[5573893423a] part of check-in [cc17f1f05f] Fix comments on the OP_Divide and OP_Remainder operators, especially the "Synopsis:" comment, so that they agree with the actual implementation. (user: drh branch: trunk)
03:21
[d53b6b7e72] part of check-in [d99a30a25d] Fix a typo in the "synopsis" for the OP_Lt opcode that causes an incorrect comment to be added to EXPLAIN output. (user: drh branch: trunk)
2013-11-14
19:18
[b1939060dd] part of check-in [7596d1bf80] Merge the skip-scan optimization into the sessions branch. (user: drh branch: sessions)
00:09
[f9a4e08114] part of check-in [24ef16548e] Simplification to the progress callback check. One branch removed. (user: drh branch: trunk)
2013-11-13
23:48
[0057612c26] part of check-in [21f59b04f7] Make sure the progress callback is invoked prior to an SQLITE_ROW return if it is overdue to be called. (user: drh branch: trunk)
17:58
[3d73013b4e] part of check-in [8ce33f4c81] Add the "PRAGMA vdbe_eqp" command, only available with SQLITE_DEBUG. Simplify some of the other debugging logic. (user: drh branch: trunk)
2013-11-11
22:55
[8b6b4fcea0] part of check-in [5addd1234d] Merge in the WITHOUT ROWID changes. A few tests are failing now. They will be fixed in a follow-on check-in. (user: drh branch: sessions)
16:55
[fda0d2ba5a] part of check-in [924d63b283] Remove unreachable code, replacing it in most cases with assert() or NEVER() macros. (user: drh branch: trunk)
03:24
[aeef5c115c] part of check-in [acc40ff6b4] Convert several ALWAYS() macros in vdbe.c into assert() statements. (user: drh branch: trunk)
00:43
[cd3059de95] part of check-in [61d7d4753f] Fix a problem in OP_IdxDelete as used by REPLACE conflict resolution that comes up due to recent enhancements that reduce the work required for UNIQUE NOT NULL indices. (user: drh branch: trunk)
2013-11-08
15:19
[f635690f3f] part of check-in [6f187a0fb1] Performance improvements: Avoid unnecessary seeks when doing a single-row UPDATE on a WITHOUT ROWID table. (user: drh branch: trunk)
2013-11-07
16:08
[ff0170cd3c] part of check-in [c80e229dd9] Add support for WITHOUT ROWID tables. This change also includes (1) standardization of the error message returned from run-time constraint errors, (2) improved EXPLAIN comments, (3) the SQLITE_ENABLE_EXPLAIN_COMMENTS option, (4) the SQLITE_ENABLE_MODULE_COMMENTS option, and (5) a bug fix (see 573cc27427) in the handling of REPLACE on the rowid when secondary indices use FAIL or IGNORE. (user: drh branch: trunk)
2013-11-06
16:28
[3493de8d62] part of check-in [474555002d] Have the OP_NoConflict opcode set the VdbeCursor.seekResult variable. This speeds up subsequent OP_Insert and OP_IdxInsert opcodes. (user: dan branch: omit-rowid)
14:36
[1e4e3c25c2] part of check-in [a725a75f87] Allocate extra stack space for UnpackedRecord objects, reducing the need to malloc for them as often, and thereby get a performance improvement. (user: drh branch: omit-rowid)
14:05
[d4b81416ae] part of check-in [d70c78814b] Minor optimization to the OP_Halt opcode. (user: drh branch: omit-rowid)
2013-11-05
13:33
[94da71c028] part of check-in [54b2219297] Standardize the error messages generated by constraint failures to a format of "$TYPE constraint failed: $DETAIL". This involves many changes to the expected output of test cases. (user: drh branch: omit-rowid)
2013-11-04
15:23
[8bab888622] part of check-in [d072bcd0a8] Correctly handle changing counting when inserting and deleting on WITHOUT ROWID tables. Add more FOREIGN KEY test cases. (user: drh branch: omit-rowid)
2013-11-02
22:29
[3492f312ed] part of check-in [a7a18b65fa] Improved Synopsis on register comparison operators. Fix a bug on the constraint check generator. (user: drh branch: omit-rowid)
2013-11-01
22:02
[9f3dc84302] part of check-in [302a81390f] Size KeyInfo objects so that IdxInserts always compare the correct number of fields. (user: drh branch: omit-rowid)
2013-10-31
20:34
[613af4c9ac] part of check-in [9b6d9e106a] Fix the Synopsis on OP_Concat. Added test_addop_breakpoint() during SQLITE_DEBUG. Enhanced sqlite3VdbeChangeToNoop() to omit the instruction if it is the most recent added. Continue to fix problems with UPDATE and WITHOUT ROWID. (user: drh branch: omit-rowid)
17:38
[ba7829e8a4] part of check-in [cff1f55c52] Fix issues with quering from an auxiliary index that must refer back to the PRIMARY KEY index of a WITHOUT ROWID table. (user: drh branch: omit-rowid)
11:15
[da933a7c58] part of check-in [1adfca6019] Refactor the INSERT, DELETE, and UPDATE code generators to distinguish between the "data cursor" and the "first index cursor", which are no longer consecutive in the case of a WITHOUT ROWID table. (user: drh branch: omit-rowid)
2013-10-30
20:22
[05857502186641716e] part of check-in [0d4fea7462] Continue working to get UPDATE operational for WITHOUT ROWID tables. Fix PRAGMA integrity_check so that it works on WITHOUT ROWID tables. (user: drh branch: omit-rowid)
02:37
[3c98b77343] part of check-in [2fcac05607] Merge EXPLAIN enhancements from trunk. (user: drh branch: omit-rowid)
00:25
[de4018a314] part of check-in [d6b0c39281] Enhanced display of register ranges in the auxiliary comments added to EXPLAIN. (user: drh branch: trunk)
2013-10-29
20:47
[cb3df2d7b2] part of check-in [8bb51da130] Import the automatic comment generating changes from trunk. (user: drh branch: omit-rowid)
20:40
[3d0bd1f8a3] part of check-in [5f310c6a22] Automatically generated comments on many VDBE opcodes when in SQLITE_DEBUG mode. Comments derive from the "Synopsis:" field added to each opcode definition in vdbe.c. (user: drh branch: trunk)
2013-10-28
22:47
[7663e009b8] part of check-in [aa72ea8a00] Merge all trunk changes since 3.8.1 into the sessions branch. (user: drh branch: sessions)
2013-10-26
15:40
[7d23d61c84] part of check-in [086ec2a177] Work on the UPDATE and INSERT logic. This is an incremental check-in so that can switch over to trunk to work on an unrelated issue there. (user: drh branch: omit-rowid)
13:36
[115f2c06e4] part of check-in [e6650e16dd] Replace the OP_IsUnique opcode with OP_NoConflict. This code simplification might be useful to move onto trunk even if this branch is never merged. (user: drh branch: omit-rowid)
2013-10-25
14:46
[f7a2fb5d70] part of check-in [9eafafa31c] Basic DELETE operations now working on WITHOUT ROWID tables. (user: drh branch: omit-rowid)
2013-10-24
11:55
[cca2c5eb4e] part of check-in [53bb070c85] Remove an obsolete comment from the VDBE. No code changes. (user: drh branch: omit-rowid)
2013-10-23
13:30
[9970b726e0] part of check-in [b21d831b2a] Some inserts and queries working for multi-column primary keys and WITHOUT ROWID. (user: drh branch: omit-rowid)
2013-10-18
20:03
[3d960c844c] part of check-in [e801f35a96] Add the SQLITE_FCNTL_TRACE file control and generate it for OP_Trace when compiled with SQLITE_USE_FCNTL_TRACE. Update vfslog.c to make use of the new file control. Also update vfslog.c to log UNLOCK events before the fact, rather than afterwards. (user: drh branch: trunk)
2013-10-10
20:13
[bc9924611f] part of check-in [136445ba02] Synchronize with the trunk. (user: drh branch: sessions)
2013-09-16
12:57
[56e648f5ba] part of check-in [daf6ba413c] The date and time functions use the exact same notion of "now" for every invocation within the same call to sqlite3_step(). (user: drh branch: trunk)
2013-09-06
13:10
[a393a94c0d] part of check-in [97b10e66e9] Combine the FuncDef.iPrefEnc and FuncDef.flags fields into a single new FuncDef.funcFlags field. (user: drh branch: trunk)
2013-08-29
15:08
[8ebe0cbc71] part of check-in [e7ebc8f74f] Merge from trunk: (1) Recent bug fixes (2) STAT4 support (3) win32-longpath support. (user: drh branch: sessions)
2013-08-26
23:18
[2b1cd2c7e3] part of check-in [a32af0abe5] Merge the STAT4 capability into trunk. (user: drh branch: trunk)
2013-08-22
15:07
[08a46d04e5] part of check-in [831492dca8] Merge in minor bug fixes and performance tweaks from trunk leading up to the version 3.8.0 release. (user: drh branch: sessions)
2013-08-21
17:35
[d37aee2c89] part of check-in [854ba30490] If a virtual table xSync() returns an error message, copy it into a buffer allocated by sqlite3DbMalloc() before transfering it to Vdbe.zErrMsg. (user: dan branch: trunk)
2013-08-20
13:02
[76502f0813] part of check-in [3e4033285d] Merge performance enhancements and compiler warning fixes from trunk. (user: drh branch: sessions)
03:13
[938feb5340] part of check-in [7f72fc4f47] Performance optimizations in the VDBE and especially to the OP_Next and related opcodes and in the sqlite3BtreeNext() and sqlite3BtreePrevious() routines. This is a cherrypick of 6f99b54aedeb, d2efea1682a7, and d78c5d89de4b. (user: drh branch: trunk)
2013-08-19
23:18
[54d28e7fbe] part of check-in [d2efea1682] Performance improvement to SQL function calls in the VDBE. (user: drh branch: toTypeFuncs)
12:49
[fab5d86a09] part of check-in [67587a3348] Merge in all the latest updates and enhancements from trunk. (user: drh branch: sessions)
11:15
[0fbe7a904a] part of check-in [a0d9ca4f07] Fixes for harmless compiler warnings. (user: drh branch: trunk)
2013-08-15
16:18
[c9488a2558] part of check-in [71070c9fce] Change some assert() statements in vdbe.c to ensure that a memory cell used to store a VdbeCursor object is not also used for some other purpose. (user: dan branch: sqlite_stat4)
2013-08-07
18:42
[a3c98ec54d] part of check-in [08f74c45ec] Merge latest trunk changes with this branch. (user: dan branch: sqlite_stat4)
2013-08-06
14:52
[1d95ab3d4a] part of check-in [69d5bed017] Merge in the latest changes from trunk. (user: drh branch: sessions)
2013-08-05
19:11
[4914ae1d00] part of check-in [7301bedd94] Factor all KeyInfo object allocations into a single function: sqlite3KeyInfoAlloc(). Always allocate enough space so that sqlite3VdbeRecordCompare() can avoid checking boundaries and hence run faster. (user: drh branch: trunk)
2013-08-03
20:24
[91fa72a040] part of check-in [2beea303a1] Begin adding experimental sqlite_stat4 table. This commit is buggy. (user: dan branch: sqlite_stat4)
2013-08-02
20:44
[619306bc26] part of check-in [7e1acb3907] Merge in the latest trunk changes, including partial indexes, the MAX_PATH fix in os_win.c, and the sqlite3_cancel_auto_extension() API. (user: drh branch: sessions)
2013-07-25
16:27
[d6048a720c] part of check-in [4698a82ef8] Enhance the progress handler so that it keeps track of the number of VDBE cycles across sqlite3_step() calls and issues callbacks when the cumulative instruction count reaches threshold. (user: drh branch: trunk)
2013-07-18
18:29
[816e686198] part of check-in [153deac8fa] Ensure that all auxiliary data registered by calls to sqlite3_set_auxdata() is destroyed when the VM is halted. (user: dan branch: trunk)
17:12
[7fab3ee5ad] part of check-in [71effa59c9] Ensure that all auxiliary data registered by calls to sqlite3_set_auxdata() is destroyed when the VM is halted. Partial fix for [406d3b2ef9]. DRH adds: Stray text accidentally inserted into vdbe.c just prior to the commit breaks the build. (user: dan branch: typo)
2013-07-11
15:31
[4a9d00a91d] part of check-in [8dfc0b78c3] Merge recent trunk changes (such as the query_only PRAGMA, the defer_foreign_keys PRAGMA, and the SQLITE_DBSTATUS_DEFERRED_FKS parameter to sqlite3_db_status()) into the sessions branch. (user: drh branch: sessions)
15:22
[420ebf1d55] part of check-in [6557c40798] Add the experimental "query_only" pragma. (user: drh branch: trunk)
15:03
[0661945edc] part of check-in [527121ac3c] Add the "defer_foreign_keys" pragma and the SQLITE_DBSTATUS_DEFERRED_FKS value for sqlite3_db_status(). This is a cherry-pick of a sequence of five checkins in the sessions branch between 1d44e5d3c2 and d39e65fe70. (user: drh branch: trunk)
12:19
[26f19a4398] part of check-in [3a2ab74c85] Rename the SQLITE_DeferForeignKeys macro to shorter SQLITE_DeferFKs. Move the "defer_foreign_keys" pragma into the flagPragma() routine. (user: drh branch: sessions)
2013-07-10
13:33
[c714445b47] part of check-in [ece960c496] Experimental "PRAGMA query_only=BOOLEAN" statement that is able to turn write capabilities on and off. (user: drh branch: query_only)
03:05
[b4d29f875f] part of check-in [3e8b02011d] Run progress callback checks less frequently in the main VDBE evaluation loop. This makes up for the extra CPU cycles used to increment the cycle counter for SQLITE_STMTSTATUS_VM_STEP. (user: drh branch: trunk)
2013-07-09
13:05
[7e1654d4ac] part of check-in [af3ca4c6e5] Pull in all the latest changes from trunk. (user: drh branch: sessions)
2013-07-03
19:53
[e1782e4640] part of check-in [1d44e5d3c2] Experimental change to the handling of foreign key constraint violations when applying a changeset: all foreign keys, immediate and deferred, are deferred until the end of the transaction (or sub-transaction) opened by the sqlite3changeset_apply(). A single call to the conflict-handler (if any) is made if any FK constraint violations are still present in the database at this point. The conflict-handler may choose to rollback the changeset or to apply it, constraint violations and all. (user: dan branch: sessions)
2013-06-28
19:41
[2e3fc618ff] part of check-in [f308c48517] Allow read transactions to be freely opened and closed by SQL statements run from within the implementation of user-functions if the user-function is called by a SELECT statement that does not access any database tables (e.g. "SELECT user_function();"). (user: dan branch: trunk)
01:24
[9816247ea2] part of check-in [59f98c5c24] Refactor the Vdbe.noIO field as Vdbe.bIsReader. The meaning is inverted. (user: drh branch: trunk)
2013-06-27
23:54
[462058f28b] part of check-in [14f7969634] Refactor names of fields in the sqlite3 object: "activeVdbeCnt" becomes "nVdbeActive". Related fields becomes "nVdbeRead", "nVdbeWrite", and "nVdbeExec". (user: drh branch: trunk)
17:40
[f678101139] part of check-in [1937fd8eec] Make sure that sqlite3_stmt_readonly reports false for PRAGMA journal_mode and PRAGMA wal_checkpoint. Ticket [a589ec069e3]. Also keep track of whether a prepared statement does no reading or writing. (user: drh branch: trunk)
2013-06-26
13:31
[45a342e1bf] part of check-in [086a127236] Bring the sessions branch up-to-date with all the latest trunk changes. (user: drh branch: sessions)
13:22
[af2bc36018] part of check-in [bd4267f17b] Add the SQLITE_STMTSTATUS_VM_STEPS option for sqlite3_stmt_status(). (user: drh branch: trunk)
2013-05-28
12:11
[34929e1b5b] part of check-in [a0d5cc9315] Many small harmless comment changes. Removal of obsolete comments and fixing misspelled words. No changes to code. (user: drh branch: trunk)
2013-04-22
23:59
[349798f630] part of check-in [6994826c07] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2013-04-08
10:38
[5f0047130f] part of check-in [320b5295da] Fix an incorrect type cast in an assignment in vdbe.c. (user: dan branch: trunk)
2013-03-28
01:19
[fee31825a8] part of check-in [ee35a89712] Merge the changes for the 3.7.16.1 release candidate into the sessions branch. (user: drh branch: sessions)
2013-03-24
22:56
[1d56617d81] part of check-in [8b44d6fb15] Remove the SQLITE_OMIT_MERGE_SORT compile-time option and its related code. The merge sorter is now a required component. (user: drh branch: trunk)
2013-03-21
21:20
[f9622d5b22] part of check-in [6f6e2d5094] Many spelling fixes in comments. No changes to code. (user: mistachkin branch: trunk)
2013-02-13
13:42
[9e4164ac85] part of check-in [7e14dc734d] Enhancements to the query planner to make use of indices for ORDER BY even when IN constraints are in the WHERE clause. Add extended error codes for all SQLITE_CONSTRAINT errors. (user: drh branch: sessions)
2013-02-11
13:47
[292f8f7ced] part of check-in [939d828274] Add extended error codes for all SQLITE_CONSTRAINT errors. (user: drh branch: trunk)
2013-01-03
22:22
[4cf34269ba] part of check-in [7e068e39b3] Merge recent trunk changes into the sessions branch. (user: drh branch: sessions)
2012-12-10
22:19
[f51eb32075] part of check-in [bd7aeeb691] When an arithmetic operation with two integer operands must give a floating-point answer due to overflow, make sure the answer is not rounded back to integer by affinity. (user: drh branch: trunk)
09:08
[fb1d2b75d3] part of check-in [ee662c039d] Remove a reference to JumpOnce from a comment in vdbe.c. No code changes. (user: dan branch: trunk)
2012-12-08
23:37
[85576363e3] part of check-in [4f6d69ae94] Pull the latest trunk changes into the sessions branch, and in particular the collating-sequence refactorization. (user: drh branch: sessions)
21:51
[89138e8e8b] part of check-in [8542e6180d] Refactor collating-sequence handling as a fix for ticket [71e333e7d2e642]. The Expr.pColl field is removed from the Expr object. The COLLATE operator now becomes a separate instance of Expr in the expression tree. The code generator looks up the correct collating function as needed, rather than referring to Expr.pColl. (user: drh branch: trunk)
2012-12-07
22:18
[328cb259ca] part of check-in [0aaf52a339] Fix a long-standing issue with the distinct-as-aggregate optimization that only expressed when the new collating-sequence logic is turned on. (user: drh branch: ticket-71e333e7)
2012-12-06
20:19
[fed44fdc7c] part of check-in [0d7b5d455c] Cherrypick 557c69055a3 and 0064bab7714 (OP_Once-related fixes for triggers). (user: dan branch: branch-3.7.9)
2012-12-03
17:04
[5b49cb1f85] part of check-in [b0c1ba655d] Make sure that the optimization that set the maximum column that will be used on a particular query does not mistakenly change an opcode other than OP_OpenRead or OP_OpenWrite. In particular, make sure it does not overwrite the P4 field of an OP_SorterOpen. (user: drh branch: trunk)
2012-10-30
21:03
[640a7e140c] part of check-in [fce667f2d9] Pull all the latest trunk enhancements into the sessions branch. (user: drh branch: sessions)
18:09
[e1b2f881f8] part of check-in [9dca18f5fe] Enable the use of coroutines as an alternative to manifesting views used in a FROM clause. (user: drh branch: trunk)
14:39
[fbb695e32d] part of check-in [564631f3e4] Make it possible to disable the subquery-by-coroutine optimization using sqlite3_test_control(). Remove an always-false conditional. (user: drh branch: subquery-as-coroutine)
00:29
[f3310ec731] part of check-in [7af3acbbd4] Add an optimization that attempts to run a subquery as a coroutine rather than manifesting it into a temporary table. (user: drh branch: subquery-as-coroutine)
2012-09-28
13:05
[e8e2e34c23] part of check-in [6ca8eae1f8] Merge the latest trunk changes (especially "PRAGMA busy_timeout" and the ORDER BY query planner optimizations) into the sessions branch. (user: drh branch: sessions)
10:57
[fcb5bb6f48] part of check-in [6a5c59dd7e] Merge the latest trunk changes (PRAGMA busy_timeout and the ORDER BY query planner enhancements) into the apple-osx branch. (user: drh branch: apple-osx)
2012-09-21
00:04
[31523df2b9] part of check-in [79e922f7ae] Consolidate more of the DISTINCT processing logic into a single spot in the code. Reduce the number of OP_Column operations needed to perform a WHERE_DISTINCT_ORDERED. (user: drh branch: trunk)
2012-09-19
21:15
[b0ac98789b] part of check-in [94b48064db] Tighter VDBE code for the WHERE_DISTINCT_ORDERED case of DISTINCT keyword handling. (user: drh branch: trunk)
2012-09-18
13:20
[16e894bd59] part of check-in [e7db056a0d] Update the vdbe-compress.tcl script so that it accepts variable declarations inside of #ifdef...#endif. This enhancement is needed due to the change of check-in 39866c0ede5d6ef4. (user: drh branch: trunk)
2012-09-13
15:26
[fd82787f9f] part of check-in [39866c0ede] Fix an unused variable warning with SQLITE_OMIT_WAL. (user: mistachkin branch: trunk)
2012-09-04
21:34
[64de1142b9] part of check-in [39f763bfc0] Avoid repeating calls to the sqlite3_trace() callback when the same statement is evaluted multiple times by sqlite3_step() due to an SQLITE_SCHEMA reprepare. (user: drh branch: trunk)
2012-08-31
14:23
[b01b505ced] part of check-in [87995dc940] Update with latest trunk changes. (user: dan branch: sessions)
14:10
[7eee10a773] part of check-in [bc9b9cd058] Merge in latest trunk changes. (user: dan branch: apple-osx)
2012-08-29
10:28
[9c524bded3] part of check-in [9fbe858b62] Fix a typo in a comment in vdbe.c. No changes to code. (user: drh branch: trunk)
2012-08-25
01:38
[18781e846c] part of check-in [6723add4f4] Merge all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-08-22
15:16
[1a451790e5] part of check-in [acdc7d1270] Do not let the multi-core sorter use lookaside memory, which is not thread-safe. (user: drh branch: threads-sort-ex1)
2012-08-15
16:21
[9a1c2f78ae] part of check-in [fc07a4795e] Merge all the latest trunk changes into the sessions branch. (user: drh branch: sessions)
15:57
[93b560a418] part of check-in [2bb8c49261] Experimental change to speed up ORDER BY clauses that sort based on a single expression. (user: dan branch: sorter-exp)
2012-08-06
19:28
[75da79cdcd] part of check-in [e1e9cb08b0] Merge the sorter-coalesce-writes branch into the trunk. This improves CREATE INDEX performance on some platforms. (user: dan branch: trunk)
2012-06-08
01:13
[ae6803fd2e] part of check-in [9d1b851562] Merge trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-06-07
23:58
[687fdb8636] part of check-in [c621403983] Merge all trunk changes, including the WinRT enhancements, into the sessions branch. (user: drh branch: sessions)
17:57
[f5ad3c06dc] part of check-in [cfcbf9375f] Documentation and evidence mark updates. Remove a redundant assert(). (user: drh branch: trunk)
2012-06-06
19:01
[76ae5ef2a0] part of check-in [635e3a762d] Avoid resetting the shared-cache schema when on of the connections using the shared cache closes. Delay resetting the schema until the last connection closes. (user: drh branch: trunk)
2012-05-28
18:22
[15bcec4d80] part of check-in [df817e70af] Merge the unicode61 tokenizer and the shared-cache-memory database changes into the sessions branch. (user: drh branch: sessions)
2012-05-27
22:42
[b6cb2ac432] part of check-in [e72179f3a4] Merge into trunk the changes that permit :memory: databases to use shared cache. (user: drh branch: trunk)
2012-05-20
20:14
[dfb52b2868] part of check-in [0c0a03987c] Check-in included unrelated debugging code by mistake. Was: Fix a test case in the shell1.test script so that it works even for very long pathnames. (user: drh branch: mistake)
2012-05-15
18:28
[6ed3e89957] 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. (user: drh branch: shared-schema)
2012-04-19
20:43
[baed8c1e05] part of check-in [b72f07b4a2] Update the apple-osx branch so that it includes all of the latest trunk changes. (user: drh branch: apple-osx)
2012-04-18
01:41
[b79d6de881] part of check-in [87a0eab5d9] Import all the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2012-03-31
17:17
[e1d26b9828] part of check-in [79a4a3a84f] Do not abort pending queries on a RELEASE of a nested SAVEPOINT. This is a candidate fix for ticket [27ca74af3c083f787]. (user: drh branch: trunk)
02:46
[bcf472eecf] part of check-in [18ec60cacd] Merge all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2012-03-30
17:30
[9c6251931b] part of check-in [fb9b9987de] Merge all recent trunk changes into the sessions branch. (user: drh branch: sessions)
2012-03-28
16:22
[8913926230b] part of check-in [0733c98c32] Avoid loading overflow pages just to satisfy typeof() or length() functions if the correct result can be computed without the extra page fetches. (user: drh branch: trunk)
15:44
[ee62f850e5] part of check-in [4d516240d2] This change turned out to the code slower. Side track it. Was: Tweaks to the OP_Column opcode for clarity of presentation. (user: drh branch: mistake)
13:41
[807532457744a] part of check-in [ca09310343] Improvements to comments. Minor changes to code in the hot path of OP_Column - with the hope of get a few cycles of performance improvement. (user: drh branch: faster-typeof-and-length)
01:34
[b91a9135fa] part of check-in [b899dbeb60] Evaluate typeof(X) and length(Y) where X is any column and Y is a blob column without actually loading X and Y from disk. (user: drh branch: faster-typeof-and-length)
2012-03-05
16:39
[c4638fe3ad] part of check-in [504bf49086] Pull in all the latest trunk changes. (user: drh branch: apple-osx)
16:26
[2591c28c3b] part of check-in [ff86875ca3] Merge in the latest trunk changes. (user: drh branch: sessions)
2012-02-24
00:02
[32720e873e] part of check-in [f9df4063fb] A simple change that allows the SQLITE_32BIT_ROWID compile-time option to work better. (user: drh branch: trunk)
2012-02-13
21:24
[21c17c43e5] part of check-in [9c572d424a] Merge the non-blocking ROLLBACK changes into trunk. (user: drh branch: trunk)
16:43
[2afc9b0260] part of check-in [9b66c79e05] Change the ROLLBACK command so that pending statements to not block it. The pending statements instead return SQLITE_ABORT upon next access. Note: This causes separate shared-cache connections in read_uncommitted mode to abort as well. (user: drh branch: nonblocking-rollback)
13:44
[169a4384af] part of check-in [922bcbb423] Generalize the interrupt mechanism so that individual statements can be interrupted and so that codes other than just SQLITE_INTERRUPT can be returned as a consequence of an interrupt. (user: drh branch: generalize-interrupt)
2012-02-10
18:18
[f384d05653] part of check-in [e248598649] Pull the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
17:54
[a24b861d9d] part of check-in [361fb66a79] Pull all the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2012-02-02
18:46
[40b14dff04] part of check-in [fa13edd39c] When non-aggregate columns occur in an aggregate query with a single min() or max(), then the values of the non-aggregate columns are taken from one of the rows that was the min() or max(). (user: drh branch: trunk)
15:50
[43ea77c83e] part of check-in [0bc594e861] Data structure cleanup. Remove unused fields. Rearrange other files for tighter packing and reduced memory usage. (user: drh branch: trunk)
2012-01-25
20:43
[595a240233] part of check-in [11f68d997d] Only invalidate the schema when the OP_ParseSchema opcode fails, not on any general failure of a vdbe program. (user: drh branch: trunk)
2012-01-18
01:14
[fc1b97fa68] part of check-in [d0dabe2f37] Remove a redundant assignment from the VM. (user: drh branch: trunk)
2012-01-14
14:13
[7d3e9dda67] part of check-in [2cc414cd14] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
13:50
[502f3deb63] part of check-in [01c84fd391] Update sessions branch with latest changes from trunk. (user: dan branch: sessions)
2012-01-08
22:18
[64e3fc0bb5] part of check-in [fc9179e154] Fix typos in commands. Combine the ExpandBlob and expandBlob macros into one. (user: drh branch: trunk)
2012-01-05
13:02
[3338717cb2] part of check-in [a9bcb432f5] Merge all of the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2012-01-04
12:57
[d5062ca4c6] part of check-in [e9d05cbb76] Fix typos and comments and make minor changes to a few function names, as suggested by readership. (user: drh branch: trunk)
2012-01-03
21:54
[9a5ea29c68] part of check-in [8a048423f0] Pull all the latest trunk changes over into the apple-osx branch. (user: drh branch: apple-osx)
2011-12-31
21:51
[50f0cf69eb] part of check-in [6827338ecb] Fix typos in comments. No changes to code. (user: drh branch: trunk)
2011-12-09
18:06
[029add0c51] part of check-in [0064bab771] Change the VDBE so that all registers are initialized to "Invalid" instead of NULL and report errors on any attempted read of an Invalid register. This will help prevent future bugs similar to [7bbfb7d442]. (user: drh branch: trunk)
16:21
[9fc8110b1f] part of check-in [521d72bdf6] Make no assumptions about the initial state of VDBE registers. (user: drh branch: uninit-vdbe-mem)
13:24
[f49816f99b] part of check-in [557c69055a] Modify the OP_Once opcode so that it works correctly in trigger sub-programs. This is a candidate fix for [7bbfb7d442]. (user: dan branch: trunk)
2011-12-08
21:08
[6f7669fbd3] part of check-in [59e0d4f3d9] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-11-16
15:27
[a7ab9993ec] part of check-in [3b58f5f066] Where possible, take advantage of the rowid at the end of index records to optimize range constraints (<, >, <=, >=) on the rowid column. (user: dan branch: trunk)
2011-10-31
14:42
[cefc9d9bbb] part of check-in [4fa9ee7947] Pull the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
14:34
[f3d112340d] part of check-in [23580718e1] Merge in all changes found in the version 3.7.9 release candidate. (user: drh branch: sessions)
2011-10-25
20:36
[5fdbad94b5] part of check-in [14bc58ca70] Cherrypick changes 53f5cfe115 and 1f7ef0af8d in order to fix an issue with DISTINCT (user: drh branch: branch-3.7.2)
2011-10-22
21:00
[326994a64a] part of check-in [d980c5b22f] Avoid a harmless reference to an uninitialized variable following an error in FTS3. This is not a bug. The change is to silence a valgrind warning. (user: drh branch: trunk)
2011-10-21
17:18
[2ed980c8b2] part of check-in [be62ef058b] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
17:08
[9cccccebf8] part of check-in [8baef58170] Merge the latest trunk enhancements into the sessions branch. (user: drh branch: sessions)
2011-10-18
22:07
[251381bff4] part of check-in [d65f63531c] Fix the virtual table rename logic so that it works even if the database encoding is something other than UTF8. Ticket [8290242b2a9a81683] (user: drh branch: trunk)
2011-10-17
23:15
[054e1d5258] part of check-in [491ff5fb25] Change the OP_JournalMode implementation so that it works even if a substitute sqlite3PagerFilename() that might return NULL is used. (user: drh branch: trunk)
2011-10-14
21:49
[75e626a6e6] part of check-in [60fee9574b] Add assert() statements and eliminate needless variable assignments in order to get the clang scan-build utility to report zero problems against the SQLite core. Clang's static analysis did find one real problem - but it was in the command-line shell, not in the SQLite core. (user: drh branch: trunk)
2011-09-20
15:53
[f5de15d69f] part of check-in [892723575c] Add SQLITE_STMTSTATUS_CACHE_HIT/MISS and SQLITE_DB_STATUS_CACHE_HIT/MISS. For querying the number of pager cache hits and misses on a statement or connection basis. (user: dan branch: cache-stats)
2011-09-16
19:40
[a4d43779fd] part of check-in [5efb02949d] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
19:36
[26deb38f5b] part of check-in [070bf203bb] Merge the latest trunk fixes into the apple-osx branch. (user: drh branch: apple-osx)
01:38
[60340bfb23] part of check-in [95708ae223] Merge the [002caede898] fix into trunk. (user: drh branch: trunk)
2011-09-14
19:41
[f03941d412] part of check-in [c00e45ede7] Merge latest changes from the trunk into the sessions branch. (user: dan branch: sessions)
19:05
[e46c71dbce] part of check-in [2456b4d0d2] Merge in the latest changes from trunk. (user: drh branch: apple-osx)
2011-09-05
14:20
[7008edbf8f] part of check-in [f115b23035] Refactor the sqlite3VdbeRecordUnpack() interface to better accommodate the vdbesort.c module. (user: dan branch: trunk)
2011-09-03
17:07
[d4c8224cc9] part of check-in [4c43e8b2d2] Performance improvements to the external merge-sorter. Keep content on an in-memory linked lists rather than an ephemeral table prior to spilling to disk. Use the external merge-sorter to implement ORDER BY and GROUP BY in addition to CREATE INDEX. (user: drh branch: trunk)
2011-09-02
10:31
[da9c7efc48] part of check-in [7769fb988d] Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c. (user: dan branch: merge-sort)
2011-09-01
15:32
[9260e51388] part of check-in [bab2e560f6] Experimental code-generator changes to utilize new opcodes for sorting. (user: drh branch: merge-sort)
2011-08-29
03:08
[9165b35da9] part of check-in [5a00d24b27] Merge performance enhancements into trunk. (user: drh branch: trunk)
02:16
[dc84628c47] part of check-in [b6b73a747a] Small performance improvement to OP_Column. (user: drh branch: experimental)
2011-08-28
02:15
[8c9e0508ce] part of check-in [edff9d4a99] About a 3% improvement in the performance of OP_Column. (user: drh branch: experimental)
00:19
[47713d4005] part of check-in [087dc96086] Correctly display P4_ADVANCE values on opcode traces. Mark an always-taken branch in OP_Column as such. (user: drh branch: experimental)
2011-08-27
18:48
[d63854aef0] part of check-in [1a24984525] Experimental changes to improve the performance of OP_Next. (user: dan branch: experimental)
2011-08-26
19:20
[9bc9b5f123] part of check-in [eb036d6f81] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
19:18
[0d70d10e2e] part of check-in [55af80035f] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
00:34
[4a7191c0f8] part of check-in [c71d73201d] Create a new pager type, PAGER_SORTER, for use in the external merge sort. Such pagers are always held in memory but do report when they are under memory pressure by calling pagerStress. (user: drh branch: trunk)
2011-08-25
18:01
[8f18a857e7] part of check-in [5a69048681] Disable external merge source when SQLITE_TEMP_STORE==3. Add documentation to the OP_OpenSorter opcode. (user: drh branch: trunk)
2011-08-23
18:06
[859006c017] part of check-in [c5f7977b89] Merge latest trunk changes into the apple-osx branch. (user: dan branch: apple-osx)
2011-08-12
16:47
[22d0d5bc8e] part of check-in [346a453d1f] Merge the experimental changes to use a merge-sort when creating an index into the trunk. (user: dan branch: trunk)
16:11
[1f5bb8b8a0] part of check-in [1a8498d803] Remove an unused parameter from a function in vdbesort.c. Fix some comments and other details in the same file. (user: dan branch: experimental)
15:02
[eed17aa603] part of check-in [4ced2394b1] Add the SQLITE_OMIT_MERGE_SORT pre-processor directive. To omit the code in vdbesort.c. (user: dan branch: experimental)
2011-08-06
12:01
[ec7b04557d] part of check-in [8051c1767c] In temp files used for merge sorting, store the size of each packed-memory-array at the start of the array itself. This is to avoid having to store the offsets of all arrays in the (potentially very large) file in main-memory. (user: dan branch: experimental)
2011-08-05
22:31
[b46e0dde62] part of check-in [e93c248c84] Bug fixes to the sample-count logic for STAT2. A few test cases added. (user: drh branch: query-planner-tweaks)
21:13
[1215ce4536] part of check-in [eb43422827] Add a column to the sqlite_stat2 table that contains the number of entries with exactly the same key as the sample. We do not yet do anything with this extra value. Some tests in analyze2.test are failing. (user: drh branch: query-planner-tweaks)
2011-08-04
12:14
[379ccaa6e0] part of check-in [a4770d079c] Change to using packed-memory-arrays instead of b-trees when performing an offline merge-sort for CREATE INDEX. This makes it easier to control the number of disc seeks required when merging. (user: dan branch: experimental)
2011-08-03
21:46
[303d8b3bc9] part of check-in [c570903608] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
16:40
[49d834f0fe] part of check-in [a2135ad130] Update the OP_Move opcode to shift the pScopyFrom pointer of aliases when compiled with SQLITE_DEBUG. Ticket [d63523637517386191]. (user: drh branch: trunk)
2011-08-02
18:25
[30e1d38a11] part of check-in [77376b332b] Merge all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-07-22
12:49
[00061273468d] part of check-in [110cfd6920] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-07-12
14:28
[88a7068472] part of check-in [30dbf0feab] Experimental support for speeding up CREATE INDEX commands using an offline merge sort. (user: dan branch: experimental)
2011-06-29
17:11
[a9ced64f38] part of check-in [591de898f4] Pass the BTREE_UNORDERED hint into both sqlite3BtreeOpen() and into sqlite3BtreeCreateTable(). (user: drh branch: trunk)
2011-06-21
01:30
[80d511d709] part of check-in [76005fdca0] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
01:29
[df52db6162] part of check-in [f3d148e0d1] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-06-20
21:47
[50b5b4ef29] part of check-in [b9cbab739a] Fix more documentation typos. (user: drh branch: trunk)
11:57
[71a3e14a5d] part of check-in [4c69e827f4] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
10:44
[af4d8ba06e] part of check-in [4c5e276c90] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-06-14
14:18
[9eef9bb0d4] part of check-in [0185c4b689] Fix a memory leak that can follow an OOM error in a user-function that uses sqlite3_set_auxdata(). (user: dan branch: trunk)
2011-06-03
12:15
[edfa3827d7] part of check-in [93e0be2bbf] Fix an #ifdef of SQLITE_OMIT_VIRTUALTABLE that had an extra "_" character. (user: drh branch: trunk)
2011-06-02
13:07
[d671bedafc] part of check-in [ce5f95dee6] Merge the latest trunk changes, including the read-only shared memory enhancement, into the apple-osx branch. (user: drh branch: apple-osx)
2011-06-01
19:16
[2ec37637fa] part of check-in [e704e8690a] Avoid unnecessary duplication of SQL parameter names. (user: drh branch: trunk)
2011-05-30
23:42
[103827f560] part of check-in [f9950c6af1] Minor performance improvements. (user: drh branch: trunk)
13:39
[619fb3fc05] part of check-in [832886b1e6] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-05-28
19:24
[380dddc404] part of check-in [edb865c354] Fix a "#ifdef" from check-in 03f7d36a8a that should have been "#ifndef". (user: drh branch: trunk)
2011-05-26
14:19
[a8ff6724d4] part of check-in [03f7d36a8a] Changes to work with SQLITE_OMIT_VIRTUAL_TABLE. (user: drh branch: trunk)
2011-05-25
01:16
[4812f0e581] part of check-in [92f26a8b8f] Changes to savepoint in virtual tables for simpler and more consistent operation. (user: drh branch: trunk)
2011-05-24
00:35
[408cc051fa] part of check-in [a9d095660c] Make sure the savepoint index is correct one calls to sqlite3VtabSavepoint with SAVEPOINT_BEGIN. (user: drh branch: trunk)
2011-05-19
02:48
[af2e9d0ffd] part of check-in [5b1b536cf8] Merge all the latest trunk changes into the sessions branch, especially the disappearing WAL transaction fix. (user: drh branch: sessions)
01:51
[f997c49fa6] part of check-in [8d1a6bb002] Pull all the latest trunk changes, and especially the fix for WAL cache spills causing transactions to disappear, into the apple-osx branch. (user: drh branch: apple-osx)
2011-05-13
18:51
[343a068e8d] part of check-in [e569f18b98] Make arrangements so that virtual table inserts into shadow tables do not modify the sqlite3_last_insert_rowid() return. Document that this is how sqlite3_last_insert_rowid() works. (user: drh branch: trunk)
2011-05-12
15:32
[ed26685493] part of check-in [97b9801076] Pull in the patches to support read-only WAL databases into a new branch off of the apple-osx branch. This also pulls in all the other pending 3.7.7 changes such as URI support. (user: drh branch: apple-wal-readonly)
2011-05-06
18:55
[b2070c926a] part of check-in [88df33c45f] Merge the uri branch with the trunk. (user: dan branch: trunk)
2011-05-05
15:52
[bf969a6309] part of check-in [f9b149e538] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
15:46
[fa5bfc0c82] part of check-in [6883580e6c] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
2011-05-04
17:23
[672ec2f41b] part of check-in [8f9666af5f] Merge vtab-conflict branch with trunk. (user: dan branch: trunk)
2011-05-01
22:57
[67486fbf9c] part of check-in [7155e6f328] Backport check-ins 0900e35348f4b9bf3 and 4fead8e714c7e50 to the 3.7.2 branch. These check-ins provide hints to the btree layer for when it is possible to use a hash table rather than a btree to implement an index. The SQLite BTree layer does not use these hints, but alternative btree layers might. (user: drh branch: branch-3.7.2)
2011-04-26
19:21
[b6396cb75b] part of check-in [fb4a355871] Extra tests for fts3. And fixes for conflict-handling related problems in fts3. (user: dan branch: vtab-conflict)
2011-04-25
18:49
[ac7aab1148] part of check-in [6d2633a6d0] Add support for on conflict clauses to fts3/fts4. (user: dan branch: vtab-conflict)
2011-04-23
15:54
[a7f8f72ae8] part of check-in [68240e75e8] Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do. (user: dan branch: uri)
2011-04-09
18:13
[4a1b6078e0] part of check-in [4eaef4ad4c] Pull all the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
2011-04-06
22:33
[dd53dda1cf] part of check-in [435b57dc2b] Merge in the latest changes from the trunk. (user: drh branch: sessions)
22:05
[05deeec665] part of check-in [614de91a50] Fix a performance regression: Keep two btree masks in each prepared statement; one for btrees used and another for btrees that require locks. Only try to lock the btrees identified by the second mask. (user: drh branch: trunk)
2011-04-05
22:13
[b6bcbe5663] part of check-in [45f2026172] Merge the latest trunk changes into the sessions branch. (user: drh branch: sessions)
22:10
[ccedf7f22d] part of check-in [c77a767cbd] Merge the latest trunk changes into the apple-osx branch. (user: drh branch: apple-osx)
22:08
[ee58240a9b] part of check-in [3eeb0ff78d] Suppress many harmless compiler warnings, mostly signed/unsigned comparisons within asserts or unused parameters in extensions. (user: drh branch: trunk)
18:34
[228aa30631] part of check-in [a89f24e2c9] Remove dead code from the OP_JournalMode opcode in the VDBE. This code seems to have been useless since f88c6367d2 on 2010-08-07. (user: drh branch: trunk)
17:31
[b239d70f68] part of check-in [242ce7cff4] Remove the mutex counter and the logic that attempts to verify that btree mutexes are held continuously. We are not making that assumption at this time. (user: drh branch: trunk)
13:38
[f2a706e0df] part of check-in [8e885ddea0] Pull the latest changes from trunk (and hence from schema-parse-refactor) into the apple-osx branch. (user: drh branch: apple-osx)
13:27
[f38def1fc2] part of check-in [03ca83422f] Pull the latest trunk changes (and hence the schema-parse-refactor changes) into the sessions branch. (user: drh branch: sessions)
13:12
[0140a57f9c] part of check-in [5db4511d8a] Merge the scheme-parse-refactor changes into trunk: (1) added sqlite3SchemaMutexHeld() asserts, (2) Use -1 instead of 0 to mean "all" in sqlite3ResetInternalSchema(), and other cosmetic changes. (user: drh branch: trunk)
2011-04-04
18:22
[1e62a4f185] part of check-in [ae8374af05] Add a description of access rules for the Schema object and lots of asserts to verify that the access rules are followed. (user: drh branch: schema-parse-refactor)
13:19
[e4afe80d60] part of check-in [95d53c4432] Merge the latest changes of trunk into the session branch. (user: drh branch: sessions)
13:11
[01b975f07a] part of check-in [6d78a25ddc] Merge in the latest changes from trunk. (user: drh branch: apple-osx)
13:07
[48fe95bd84] part of check-in [47b79c40cf] Merge in the latest changes from trunk. (user: drh branch: schema-parse-refactor)
12:29
[6488f75992] part of check-in [425e3edb14] Move the expired-statement test for OP_Function until after all memory has been freed. The test is still commented out, however. (user: drh branch: trunk)
00:14
[e4d83957b4] part of check-in [d81708f7d1] Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish the same result. Add a generation counter to btree mutexes in order to assert that mutexes are never temporarily dropped over a range of instructions in order to do deadlock avoidance in some subroutine. Lock all btrees in any Vdbe program that uses OP_ParseSchema. (user: drh branch: trunk)
2011-04-03
18:19
[d975adcef8] part of check-in [e2a09ea73c] Make sure that the constant 1 is cast to yDbType before shifting to create an attached database mask. This check-in is a follow-up and fix to the 7aaf8772274422 change that increases the maximum number of attached databases from 30 to 62. (user: drh branch: trunk)
2011-04-02
16:28
[6b15a8fb9b] 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. (user: drh branch: schema-parse-refactor)
09:44
[a45a6a0daf] part of check-in [71a799b02a] Fix a race condition in OP_ParseSchema. (user: dan branch: trunk)
2011-03-31
18:36
[9fa023047c] part of check-in [a5aae1743a] Provide hints to the btree layer Next and Previous primitives to let them know if they can be no-ops if the underlying index is unique. (user: drh branch: branch-3.7.2)
2011-03-30
21:04
[4784ded3d2] part of check-in [6634521461e] Add the SQLITE_ENABLE_PREUPDATE_HOOK compile-time option. (user: drh branch: sessions)
02:03
[175a42d0f1] part of check-in [b11d941e92] Merge in all the latest changes from trunk. (user: drh branch: sessions)
2011-03-24
01:34
[e3f37ca0af] part of check-in [b6e268fce1] The changes to fix [f7b4edece25c9948] mean that the schema is always loaded whenever a prepared statement is running. This means that a couple of branches can be eliminated and one operand of OP_ParseSchema can be removed. (user: drh branch: trunk)
2011-03-19
08:38
[c90edafd94] part of check-in [24d4d5dd00] Fix a problem with INTEGER PRIMARY KEY columns and the pre-update hook. (user: dan branch: sessions)
02:37
[3f6d91163b] part of check-in [1b736ac293] Merge the fix to ticket [f7b4edece25c99485] into the sessions branch. (user: drh branch: sessions)
2011-03-18
21:55
[8430780c64] part of check-in [36c04dd169] Add a generation counter to the Schema object and enhance OP_VerifySchema to also check the Schema generation. Fix for ticket [f7b4edece25c99]. (user: drh branch: trunk)
12:35
[94cd191b1b] part of check-in [94fd5bb6da] Merge all the latest trunk enhancements into the sessions branch. (user: drh branch: sessions)
2011-03-16
19:59
[fbf11bd681] part of check-in [526545c49f] Add the sqlite3_preupdate_new() API, for retrieving the new.* values from within a pre-update callback. (user: dan branch: sessions)
09:49
[117644088f] part of check-in [b0015a1cfe] Remove the sqlite3_transaction_hook() API. (user: dan branch: sessions)
2011-03-06
21:28
[ac6e8b8264] part of check-in [01a79d5a7a] Remove dead code identified by the clang static analyzer. (user: drh branch: trunk)
2011-03-05
20:59
[038e5689e4] part of check-in [abf2139412] Fix all known instances of signed-integer overflow. Within SQL expressions, integer overflow now forces coercion to floating point. The shift operators work with any integer right-hand operand with negative values reversing the direction of the shift. (user: drh branch: trunk)
13:54
[953d44f0fb] part of check-in [04abab71ec] Fix an instance of signed arithmetic overflow and an one bit-shift overflow. Mark six other signed arithmetic overflow locations that need fixing. (user: drh branch: trunk)
2011-03-03
20:06
[2c523bc17f] part of check-in [093d8cd8e2] Add the experimental sqlite3_transaction_hook() API. (user: dan branch: sessions)
2011-03-01
18:42
[4330cc9459] part of check-in [6145d7b89f] Add the experimental sqlite3_preupdate_hook() API. (user: dan branch: sessions)
2011-02-22
03:34
[34305497d8] part of check-in [1bca0a7e19] When a stale schema-cookie is seen, expire only the one statement that encountered the bad cookie, not every statement on the database connection. Ticket [b72787b1a7cea1f] (user: drh branch: trunk)
2011-02-07
23:56
[167432ac0d] part of check-in [f611a5a879] Cleanup to the OP_Checkpoint opcode. (user: drh branch: trunk)
2011-02-02
16:34
[7f54982de4] part of check-in [bac7342c36] Merge in the blocking-checkpoint enhancement, including the new sqlite3_wal_checkpoint_v2() interface and the PRAGMA wal_checkpoint(full) statement. (user: drh branch: trunk)
2010-12-07
15:49
[624c618542] part of check-in [d2ccf7fc06] Merge in all changes to the trunk through version 3.7.4rc3. (user: drh branch: apple-osx)
2010-12-03
18:57
[5d310eaf1a] part of check-in [841cf7a7db] Remove an over-zealous call to memAboutToChange() from OP_MustBeInt. OP_MustBeInt will never invalidate the Mem.z pointer so the memAboutToChange() call is not necessary. (user: drh branch: trunk)
2010-11-26
16:49
[21a9285fed] part of check-in [c412f61229] Fix various compiler warnings. (user: drh branch: trunk)
2010-11-23
20:25
[7aef0a9e17] part of check-in [30c26c3b13] The previous check-in with changes to the max_page_count pragma was not quite correct. This check-in fixes the problem. (user: drh branch: trunk)
18:59
[c7e4f78c4d] part of check-in [2031974b60] Fix the max_page_count pragma so that it will not set to a value smaller than the current database size, as the documentation requires. Also, remove all occurances of atoi() from the core. (user: drh branch: trunk)
2010-11-19
23:50
[d623683612] part of check-in [c8bc057c7d] Merge all the latest changes from the trunk into the apple-osx branch. (user: drh branch: apple-osx)
2010-11-18
16:32
[06f868b6da] part of check-in [e376480f08] Merge with latest trunk changes. (user: dan branch: blocking-checkpoint)
12:31
[63bb1e56a0] part of check-in [501b743bcb] Prevent a possible segfault when the sqlite3_value_numeric_type() interface is misused to try to determine the numeric type of the NULL value returned from sqlite3_column_value() with an invalid column number. (user: drh branch: trunk)
12:11
[4bec828e70] part of check-in [72787c010c] Modify the interface to the blocking wal-checkpoint functionality. (user: dan branch: blocking-checkpoint)
2010-11-16
18:56
[b86b09beb3] part of check-in [7e3fc2c833] Add experimental command "PRAGMA wal_blocking_checkpoint", which uses the busy-handler to block until all readers have finished in order to ensure the next writer will be able to wrap around to the start of the log file. (user: dan branch: blocking-checkpoint)
2010-09-30
20:33
[e1aa917961] part of check-in [07ee080ec4] Merge experimental into trunk: Refactor the text-to-numeric conversion routines to work without zero-terminators and in UTF16 as well as UTF8. Avoid invalidating strings with doing affinity conversions. (user: drh branch: trunk)
16:51
[447577ca9d] part of check-in [43fef1cab6] Changes to remove sqlite3FitsIn64Bits(). (user: shaneh branch: experimental)
14:48
[597ef9acee] part of check-in [ce6cc16e3a] Fix the handling of default values for ALTER TABLE ADD COLUMN columns so that is able to deal with negative numbers, including large negative numbers. Ticket [8454a207b9fd2243c4] (user: drh branch: experimental)
00:50
[04cf7c1b0b] part of check-in [14eed3a0e0] Rework the text to numeric conversion routines so that they work with either UTF8 or UTF16 and do not require a NULL terminator. This allowed text to numeric conversion without reallocating the string. (user: drh branch: experimental)
2010-09-28
07:14
[69812aabf4] part of check-in [1f7ef0af8d] Merge fixes for ticket [b351d95f9cd5ef17e9d9dbae18f5ca8611190001] into the trunk. (user: drh branch: trunk)
06:00
[4b1e4b8939] part of check-in [ff49a5f00b] Tweaks to help facilitate structural test coverage. (user: drh branch: bug-b351d95f9c)
00:25
[56e4697a5f] part of check-in [d0342f4bb9] Continuing work toward detecting and fixing shallow-copy misuse. (user: drh branch: bug-b351d95f9c)
2010-09-27
21:09
[00f017d904] part of check-in [8b8e1732e8] Add assert() statements that fail when a shallow copy is accessed after the original has been modified. These assert() statements should detect the kinds of subtle SCopy bugs such as caused the fault in ticket [b351d95f9cd5ef17e9d9dbae18f]. (user: drh branch: bug-b351d95f9c)
2010-09-03
18:50
[1373d40f59] part of check-in [f06c7b1973] Documentation enhancements for sqlite3_db_status(). Evidence marks on the SQL function call intrface. (user: drh branch: trunk)
2010-09-01
11:50
[8a9f0c556f] part of check-in [740adca34e] Add an assert() with an evidence mark to show that automatically generated rowids are positive. (user: drh branch: trunk)
02:37
[20ef377f79] part of check-in [631423677b] Ensure randomly generated rowids never go negative. (user: shaneh branch: trunk)
2010-08-31
16:25
[41a186c0f2] part of check-in [c2a84430d3] Do not clear the internal "schema has changed" flag when performing a savepoint rollback. The schema changes may not have taken place within the savepoint being rolled back. (user: dan branch: trunk)
2010-08-30
22:15
[36d9521bfc] part of check-in [4fead8e714] Provide hints to the btree layer during the creation of transient tables for when it is possible for those tables to use a hash rather than a binary tree. No use is currently made of those hints, though assert() statement verify their accuracy. (user: drh branch: trunk)
15:02
[42b1454786] part of check-in [0900e35348] Remove the sqlite3BtreeFactory() wrapper routine. All modules now call sqlite3BtreeOpen() directly. (user: drh branch: trunk)
01:17
[6d78796498] part of check-in [49c05b4e08] Updates to comments on the VDBE opcodes. (user: drh branch: trunk)
2010-08-24
16:59
[d735223eca] part of check-in [d1c875320a] Fixes to allow fts3 tables to be renamed mid-transaction. (user: dan branch: trunk)
2010-08-18
00:24
[60ef76968e] part of check-in [866e9286ae] Merge the 3.7.1 pre-release snapshot changes as of 2010-08-18 into the apple-osx branch. (user: drh branch: apple-osx)
00:09
[a4c6eed89b] part of check-in [5e2ee7db0f] Updating apple-osx with minor source fixes, database truncate and replace private calls and a bunch of conditionalization for tests running in different environments (user: adam branch: apple-osx)
2010-08-06
02:10
[66c262a923] part of check-in [a7a15547cc] Change two automatic array variables into static constant arrays. Update and reformat some comments for cleaner presentation. (user: drh branch: trunk)
2010-07-26
16:24
[cefff41564] part of check-in [008368b2bd] Add support for SQLITE_DBSTATUS_SCHEMA_USED and SQLITE_DBSTATUS_STMT_USED to the trunk. (user: drh branch: trunk)
2010-07-14
00:22
[6294de3327] part of check-in [2b68e50268] Remove the xShmOpen method from the VFS. Shared-memory is opened automatically by a call to xShmMap. Rename the xShmClose method to xShmUnmap. (user: drh branch: trunk)
2010-07-08
17:40
[14d3e04d13] 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. (user: drh branch: trunk)
2010-07-03
12:31
[046cd38df1] part of check-in [48bf309391] Cherry-pick the correct changes out of the recent "mistake" branch while omitting the bugs. (user: drh branch: trunk)
2010-07-02
19:36
[3a241b2148] part of check-in [565ff65c61] Omit the OP_JournalMode opcode from the VDBE when SQLITE_OMIT_PRAGMA is defined. (user: drh branch: mistake)
2010-06-22
14:49
[8b3bae957a] part of check-in [4775b8f9a9] When trying to transition from journal_mode MEMORY to WAL, use OFF as an intermediate journal mode. (user: drh branch: trunk)
2010-06-21
12:47
[290d20ed92] part of check-in [ee0acef1fa] Merge the experimental UNDELETABLE_WHEN_OPEN optimization into the trunk. (user: drh branch: trunk)
2010-06-17
17:05
[e115585b14] part of check-in [9a949a3a5c] Apply b9b11855e8 (the alternate fix to [fc62af4523]) to the trunk. (user: dan branch: trunk)
2010-06-11
17:01
[8a910a1998] part of check-in [95cc3f6fde] Refactor and simplify the logic used to change journalmode. (user: drh branch: trunk)
2010-06-01
15:24
[965247d966] part of check-in [1d3e569e59] The incremental checkpoint feature is not perfect yet, but it is working well enough to merge it into the trunk. (user: drh branch: trunk)
2010-05-15
01:09
[950cd4e9df] part of check-in [b9af4ad2ef] Silently ignore errors trying to set the default journal_mode while doing an ATTACH. (user: drh branch: trunk)
2010-05-13
08:53
[8c6301a7dd] part of check-in [bce21c1838] The refactored of VFS SHM primitives are now working so merge the wal-refactor branch back into the trunk. (user: drh branch: trunk)
2010-05-12
13:50
[f41188f624] part of check-in [7838163d08] Remove the OP_Variable optimization of check-in 48b77b04935d894 since it can lead to malfunctions as described in ticket [26ff0c82d1e90]. (user: drh branch: trunk)
2010-05-11
14:00
[27edb0becb] part of check-in [cf3d1e0b8a] When an attempt to change journal_mode fails due to locks, be sure to leave internal structures in a consistent state. (user: drh branch: trunk)
2010-05-10
11:20
[066dab3af7] part of check-in [0bdea4cfbd] Enhance the OP_JournalMode opcode with an ignore-errors option and use that option the ATTACH command. (user: drh branch: trunk)
2010-05-06
21:37
[267e0431cc] 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. (user: drh branch: trunk)
16:06
[e4f1d6c20b] part of check-in [56a17dae91] After throwing an error to say that one cannot change into WAL mode within a tranactions, do not then go and change into WAL mode. (user: drh branch: trunk)
2010-05-03
14:08
[8be37a1b18] part of check-in [de9ae443cc] Merge the write-ahead-logging changes into the trunk. (user: drh branch: trunk)
2010-05-01
16:40
[b2e2b70e95] part of check-in [9b230c43df] Support compile-time option SQLITE_OMIT_WAL, for building without WAL support. (user: dan branch: wal)
00:59
[2a5ccf3a76] part of check-in [d1fcccecdc] Do not allow journal_mode=WAL if the underlying VFS does not support xShmOpen. (user: drh branch: wal)
2010-04-29
22:34
[21a96eeeb4] part of check-in [62db5fa3b6] Refactor wal.c to use the VFS. This check-in compiles and links and works ok as long as you leave WAL turned off, but WAL does not work. (user: drh branch: wal)
2010-04-26
17:42
[da7ee09fdb] part of check-in [30d0134454] Do not attempt to set journal_mode=wal on :memory: or temp file databases. (user: dan branch: wal)
2010-04-22
06:27
[09e88e8b01] part of check-in [1236318477787a] Further tests and changes related to switching between WAL and rollback modes. (user: dan branch: wal)
2010-04-21
18:37
[4d99d17526] part of check-in [9f4f933f2c] Tests for (and changes to) the code to switch between WAL and rollback modes. (user: dan branch: wal)
2010-04-20
18:53
[304851b32c] part of check-in [96bef18c14] Use the read and write version fields of the database header to mark a database as operating in wal-mode. (user: dan branch: wal)
2010-04-13
11:56
[2e2aaa765d] part of check-in [27dc5977c1] Remove old code to interpret an argument (no longer used) to "PRAGMA checkpoint". (user: dan branch: wal)
2010-04-12
19:00
[23e5462d1c] part of check-in [409d61baeb] Import experimental write-ahead-logging code. (user: dan branch: wal)
2010-04-08
01:16
[2abd931ea2] part of check-in [bf7b8d8636] Merge automatic index changes into the trunk. (user: drh branch: trunk)
2010-04-06
22:33
[fccdf72a63] part of check-in [abbf16e5e7] Veryquick.test is now working. The SQLITE_STMTSTATUS_AUTOINDEX counter added. (user: drh branch: experimental)
2010-04-05
15:11
[011f41a5bd] part of check-in [8e1d7ef47f] Minor comment changes to the OP_OpenEphemeral header. No changes to code. (user: drh branch: trunk)
2010-03-31
17:47
[760a0857cd] part of check-in [06b9ca3225] Clarification of the implementation of SQLITE_STMTSTATUS_FULLSCAN_STEP. No logical code changes - just commenting and layout changes to improve readability. (user: drh branch: trunk)
2010-03-30
22:58
[afd58607e7] part of check-in [79e22b9503] Continuing refinements to the filesize-in-header enhancement. (user: drh branch: trunk)
2010-03-05
16:32
[8acca6dab2] part of check-in [8858042fa1] Modify the vdbe so that the comparison operator opcodes do not modify the data type of operands. Fix for [aa92c76cd4]. (user: dan branch: trunk)
2010-03-04
00:53
[4d8ff247c3] part of check-in [5322d1df5b] Increase the maximum length of an sqlite3_log() result string. Provide more details on the statement abort log message. (user: drh branch: trunk)
2010-02-26
01:46
[8b705e48cf] part of check-in [4927c62d62] Minor changes to silence some compiler warnings with MSVC. (user: shaneh branch: trunk)
2010-02-25
14:44
[412c486b22] part of check-in [a255059786] Add some technically unnecessary variable initializations to silence compiler warnings. (user: dan branch: branch-3.6.1)
02:32
[1a07ddbd03] 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. (user: drh branch: branch-3.6.22)
01:47
[e65ccd13dc] part of check-in [9588259882541e] Start a new branch for release 3.6.22 plus limited enhancements and fixes. This first check-in includes the performance enhancements of check-ins 26cb1df735, 61a2c8d4d6, and 27dc5b1c52 (user: drh branch: branch-3.6.22)
2010-02-24
21:44
[6de14d95ad] part of check-in [1168763d2c] Add testcase() macros beside each sqlite3_log() call to make sure it is tested with both logging enable and disabled. (user: drh branch: trunk)
19:23
[815ec0f55b] part of check-in [69a493182f] Add a sqlite3_log() call on anonymous constraint failures. Fix the output of test cases having to do with improved reprepare reporting. Fix the VACUUM command to report more helpful error messages when things go wrong. (user: drh branch: trunk)
2010-02-23
20:11
[eb8b083191] part of check-in [edea3bb740] Continuing improvements to error reporting and the sqlite3_log() routine. (user: drh branch: trunk)
17:36
[b0769a0751] part of check-in [7c4cca6d1a] Remove the obsolete sqlite3SafetyOn() mechanism. Add additional logging output for CORRUPT, and CANTOPEN errors. (user: drh branch: trunk)
2010-02-15
15:17
[428411c6fb] part of check-in [9acfb06940] Fix a typo in the documentation for the OP_OpenPseudo opcode. (user: drh branch: trunk)
2010-02-05
14:12
[78f2167915] part of check-in [61a2c8d4d6] Remove the use of 64-bit math in the offset computations of the OP_Column opcode for a small performance improvement. (user: drh branch: trunk)
2010-01-13
16:25
[b0c18b5c5a] part of check-in [e12da0d316] When SQLITE_OMIT_FLOATING_POINT is defined, make sure the result of a mathematical operation is always tagged as an integer. (user: drh branch: trunk)
2010-01-12
23:54
[1e2c66f261] part of check-in [0209f17180] Make sure internal queries are well ordered, even when the reverse_unordered_selects pragma is in effect. Ticket [eb942c64a157]. (user: drh branch: trunk)
17:04
[9035d0ec1b] part of check-in [66bab85619] Use #ifdefs to disable unused code when SQLITE_OMIT_FLOATING_POINT is defined. (user: drh branch: trunk)
2010-01-01
18:57
[e057657365] part of check-in [0e918c5489] Add evidence marks associated with autoincrement. (user: drh branch: trunk)
2009-12-03
04:40
[5ed06318aa] part of check-in [e3aa0870fc] Fix a couple of compiler warnings under MSVC. (user: shaneh branch: trunk)
2009-11-25
18:03
[91b65712dc] part of check-in [545cfb3b63] Initial check-in of code that inserts tokenizations of the values for bound parameters into the output of sqlite3_trace(). (user: drh branch: trunk)
2009-11-24
16:26
[343175b0f5] part of check-in [cb74b81bb0] Fix a tracing macro in the VDBE in the VColumn opcode. (user: drh branch: trunk)
2009-11-20
15:02
[89d618dd0b] part of check-in [e493b093f8] If the root pages numbers of the internal schema are adjusted due to autovacuum on a DROP TABLE statement and that statement later aborts (for example, due to an OOM error) then reset the internal schema at the conclusion of the statement. Partial fix for ticket [564d412f15a]. (user: drh branch: trunk)
2009-11-18
23:01
[95fa2b51a4] part of check-in [85940468e6] Performance improvement by avoiding unnecessary calls to memset(). (user: drh branch: trunk)
2009-11-17
23:59
[ed60d48b50] part of check-in [9744ffb3f5] Enhancements to the VDBE opcode loop to reduce the number of machine-code instructions evaluated by about 10%. (user: drh branch: trunk)
18:31
[678dc43701] part of check-in [ebb0c8a3e9] Code generator tries to avoid pointless OP_IsNull and OP_Affinity opcodes. (user: drh branch: trunk)
2009-11-14
23:22
[0bc1c3aaa0] part of check-in [d622ac6ac7] Optimizations to the main loop inside sqlite3VdbeExec() to help VDBE byte code run a few percent faster. (user: drh branch: trunk)
18:04
[0abb88a10f] part of check-in [8bd3cc8272] Make the sqlite3VdbeExec() function about 2% faster by storing the opcode array in a local variable. (user: drh branch: trunk)
2009-11-13
20:52
[74158ea3fd] part of check-in [ed820f45cf] Performance improvements and size reductions on the OP_Seek* family of VDBE opcodes. (user: drh branch: trunk)
19:43
[bc7fe6c752] part of check-in [3352b3eba5] Simplify the OPFLG processing logic in the VDBE for a speed boost in the VDBE processing loop and a reduction in code size. (user: drh branch: trunk)
17:05
[3067cfcc86] part of check-in [bdc45ba77f] Force 8-byte memory alignment on memory allocated for VDBE cursors. (user: drh branch: trunk)
2009-11-12
19:59
[d035dd3b69] part of check-in [b9eab885cd] Enhance the OP_Found and OP_NotFound opcodes so that they can accept an array of registers as an unpacked record in addition to a record built using OP_MakeRecord. Use this to avoid OP_MakeRecord calls during IN expression processing. (user: drh branch: trunk)
17:52
[7c0238174a] part of check-in [fcff5b7e2d] Factor out the IN operator code generation into a subroutine. Use this subroutine to implement both logic and branching versions of the IN operator. (user: drh branch: trunk)
03:13
[393a676680] part of check-in [39d5b292d2] Adjustments to the implementation of LIMIT so that it uses fewer opcodes. (user: drh branch: trunk)
2009-11-10
01:30
[7e112c50e5] part of check-in [f6c045f649] Remove the obsolete "$Id:$" RCS identifier strings from the source code. (user: drh branch: trunk)
2009-10-29
13:48
[a435ffcf6b] part of check-in [e7984ad2f7] Reduce the memory required by prepared statements that use the IN operator with a list on the right and an INTEGER PRIMARY KEY on the left. (user: drh branch: trunk)
2009-10-16
16:21
[f0d6e7dbd4] part of check-in [50136840d5] Merge the sqlite3_reoptimize() changes into the trunk. (user: drh branch: trunk)
14:55
[b00293fa34] part of check-in [174477bca0] Experimental fix for [f777251dc7]. This may be changed yet. (user: dan branch: trunk)
2009-10-15
23:03
[1d3415dfa5] part of check-in [f256bc0796] When a forced rollback occurs, cause all active statements on the same database connection to halt immediately with an SQLITE_ABORT error code. This is a partial fix to ticket [f777251dc7]. (user: drh branch: trunk)
19:45
[fcf35978c5] part of check-in [c304b44cae] On any rollback, immediately interrupt all running statements on the same database connection. This is a partial fix for ticket [f777251dc7]. (user: drh branch: experimental)
18:35
[a03993ed18] part of check-in [9bd6f3d886] Add the experimental sqlite3_reoptimize() API. (user: dan branch: experimental)
2009-10-13
15:36
[93fb0b490d] part of check-in [bc1101179a] When a write transaction fails to being because the database is read-only, fail right away. Do not give the error code an opportunity to be overwritten with SQLITE_OK. Ticket [5ee23731f15]. (user: drh branch: trunk)
2009-10-07
18:41
[df2824f4f8] part of check-in [8382867956c] Add some tests of statements in foreignkeys.html. (user: dan branch: trunk)
2009-09-25
17:03
[cb9dae4c5c] part of check-in [519144ac43] Avoid checking if an insert or delete has "fixed" an outstanding FK constraint violation if the constraint counter indicates that the database contains no such violations. (user: dan branch: trunk)
2009-09-23
17:30
[a5da14fe8d] part of check-in [1a32149cc3] Do not check immediate foreign key constraints until the end of the statement. This matches the postgres behaviour. (user: dan branch: trunk)
02:29
[4946e2ac11] part of check-in [98853f6104] Generalize the IS and IS NOT operators so that their right-hand side can be an arbitrary expression and not simple the constant NULL. They work like = and <> except that NULL values compare equal to one another an unequal to everything else. (user: drh branch: trunk)
2009-09-22
07:13
[03857c07b8] part of check-in [c447cb37d6] Fix compilation errors when OMIT_FOREIGN_KEY is defined. (user: dan branch: trunk)
2009-09-19
17:00
[93040bd3b3] part of check-in [d5d3998118] Check in implementation of foreign key constraints. (user: dan branch: trunk)
2009-09-10
19:09
[30bf8ff531] part of check-in [5588cc96bb] Cleanup of warnings on MSVC build. (user: shane branch: trunk)
2009-09-09
15:06
[3c094e8566] part of check-in [9a4c59a2dd] Add some tests that involve BEFORE UPDATE or BEFORE DELETE triggers messing with the row being updated or deleted. SQLite behaviour in this scenario is undefined, so the tests just check that the behaviour is relatively sane and there are no crashes. (user: dan branch: trunk)
2009-09-08
19:15
[aba680ec9c] part of check-in [aec9dbd8d2] Combine the OP_Statement and OP_Transaction opcodes. (user: dan branch: trunk)
02:27
[5dc91d9b7d] part of check-in [b271e16621] Further simplifications to the VDBE - removing functionality that is no longer used. (user: drh branch: trunk)
01:14
[3ead9f6347] part of check-in [52449a9569] Code simplifications, especially to the pseudo-table logic, and comment improvements. (user: drh branch: trunk)
2009-09-07
18:14
[4e3c689547] part of check-in [d7dc8b4336] Add the SQLITE_LIMIT_TRIGGER_DEPTH option to sqlite3_limit(). (user: drh branch: trunk)
04:38
[a158f0f3ef] part of check-in [26cd015c0e] Warning cleanup from the MSVC compile. (user: shane branch: trunk)
2009-09-01
17:11
[addf5f6fef] part of check-in [e016cca363] Change "PRAGMA disable_recursive_triggers" to "PRAGMA recursive_triggers". Also a fix for compiling with OMIT_TRIGGER defined. (user: dan branch: trunk)
12:16
[fcc15fb2cf] part of check-in [38a9327bad] More fixes and comment updates. (user: dan branch: trunk)
2009-08-31
15:27
[69890b64d5] part of check-in [85d9f23be1] More fixes for test cases. (user: dan branch: trunk)
2009-08-30
11:42
[5e9d870ec3] part of check-in [9eb91efda5] Fixes for new triggers scheme. (user: dan branch: trunk)
2009-08-28
18:53
[e45309524c] part of check-in [9b9c192115] Changes to support recursive triggers. (user: dan branch: trunk)
2009-08-18
16:24
[464e2e30b1] part of check-in [ded9dec645] Change the sqlite_stat2 schema to be more flexible. (user: dan branch: trunk)
2009-08-17
17:06
[f2c07c6440] part of check-in [dd96bda2a8] First version of sqlite_stat2 (schema forces exactly 10 samples). (user: dan branch: trunk)
2009-07-24
17:58
[0ce57f8211] part of check-in [5d9e767a05] Allow virtual tables to be used in shared-cache mode. (CVS 6928) (user: danielk1977 branch: trunk)
2009-07-22
00:35
[3f4b02f592] part of check-in [96cfd07952] Further simplifications to btree.c, especially the sqlite3BtreeKey() and sqlite3BtreeData() functions. New assert() statements added to verify that these routines are called correctly. (CVS 6917) (user: drh branch: trunk)
2009-07-14
18:35
[b6fadd91f5] part of check-in [0c710c1be5] Add comments and assert() statements to show that the return value from sqlite3BtreeKeySize() and sqlite3BtreeData() usually do not matter. Ticket #3968. Also remove a NEVER() macro that can sometimes be true - discovered while testing the previous change. (CVS 6893) (user: drh branch: trunk)
02:33
[f76edc03ff] part of check-in [25dd342283] Make sure the IN operator works with zeroblobs. Ticket #3965. Other simplifications associated with structural testing. (CVS 6890) (user: drh branch: trunk)
2009-07-07
15:47
[4f702761ce] part of check-in [06dcfe72a6] Do not load the root-page of a b-tree table/index when opening a cursor. Instead, allow it to be loaded when the cursor is first used (in function moveToRoot()). Also move the root-page flags sanity checks that were a part of the OP_OpenRead/OpenWrite opcodes into the moveToRoot() function. (CVS 6856) (user: danielk1977 branch: trunk)
2009-07-03
16:25
[bdf25930bd] part of check-in [e2112d6160] Simplify the way the read-uncommitted flag is handled to facilitate test coverage. (CVS 6841) (user: danielk1977 branch: trunk)
2009-07-02
07:47
[7e5781773b] part of check-in [e3c055f167] Cause opening a transaction on a sharable b-tree module automatically obtain a read-lock on page 1. This means there is no way for sqlite3BtreeGetMeta() to fail. (CVS 6836) (user: danielk1977 branch: trunk)
2009-06-29
06:00
[f2462fdb71] part of check-in [f17ef37897] Cause incremental-blob read/write operations lock shared-cache tables in the same way as normal SQL read/writes. Add complex assert statements to make sure tehe correct shared-cache locks are held when accessing the database. Eliminate some redundant checks from btree.c. (CVS 6830) (user: danielk1977 branch: trunk)
2009-06-26
16:32
[dfd508c9f6] part of check-in [f01a9fc375] Removed a few compiler warnings under MSVC. (CVS 6825) (user: shane branch: trunk)
15:14
[e16028ce79] part of check-in [96729b2d49] Remove the priorNewRowid field from the sqlite3 structure. Use the last_insert_rowid as the initial value when searching for a new random rowid in the OP_NewRowid opcode. (CVS 6824) (user: drh branch: trunk)
2009-06-25
01:47
[e7831536dd] part of check-in [8b34076668] Improved handling of oversize string and blob errors. Other simplifications in support of full coverage testing. (CVS 6813) (user: drh branch: trunk)
2009-06-24
13:16
[5c4a595077] part of check-in [52eac078c7] Remove an ALWAYS() macro from vdbe.c that sometimes fails on thread tests. (CVS 6812) (user: drh branch: trunk)
2009-06-23
14:15
[5337789f2b] part of check-in [3ffc93d762] Simplifications to vdbe.c to promote better test coverage. (CVS 6802) (user: drh branch: trunk)
2009-06-22
19:05
[c5a0a20843] part of check-in [308f2e6152] Simplifications to vdbe.c and it service routines in support of coverage testing. (CVS 6799) (user: drh branch: trunk)
12:05
[e92e2f4136] part of check-in [bda38f5e86] Make sure sqlite3BtreeCreateTable() returns an error code if the largest rootpage field is invalid in auto_vacuum mode. Update file-format comments to describe all of the "meta" values. (CVS 6797) (user: drh branch: trunk)
11:10
[1507638139808e] part of check-in [c8f009bd24] More simplifications to vdbe.c. Remove a NEVER() from vdbe.c that is possible after all. (CVS 6796) (user: drh branch: trunk)
00:55
[67ec344095] part of check-in [16680f05bd] Simplifications to vdbe.c in support of coverage testing. (CVS 6794) (user: drh branch: trunk)
2009-06-19
22:23
[51b0d7394f] part of check-in [605520ec04] Do now allow a COMMIT to occur while even a single write operating is in progress. (CVS 6790) (user: drh branch: trunk)
14:06
[ad47fc3df7] part of check-in [37ae5f5e8f] Reorganize and cleanup the prepared statement object. Remove code that has been commented out for ages and is no longer relevant to anything. (CVS 6786) (user: drh branch: trunk)
2009-06-18
00:41
[09925c4628] part of check-in [767ef1e4a1] Remove the P3 operand from OP_IsNull since it was not being used. (CVS 6779) (user: drh branch: trunk)
2009-06-17
22:50
[52863ed40d] part of check-in [0def0b76b9] Avoid an assertion fault if an out-of-memory error occurs while trying to run the string-concatentation operator on a zero-blob. (This is an absurd thing to do, but even so, we still should not fault.) (CVS 6778) (user: drh branch: trunk)
21:42
[d382d0d12b] part of check-in [3d7327fd6a] Fix a problem in vdbe.c that could cause a double-free of memory if the SQLITE_LIMIT_LENGTH is changed after a statement is prepared but before it is run. Also remove debugging statements from tkt3841.test. (CVS 6777) (user: drh branch: trunk)
16:20
[a7b9ad4a19] part of check-in [392559465d] Use caution to avoid integer overflow when doing real to integer affinity operations. Ticket #3922. (CVS 6776) (user: drh branch: trunk)
2009-06-15
20:45
[ba87db5471] part of check-in [1591b8322b] Changes to allow a clean compile with no floating-point instructions generated when SQLITE_OMIT_FLOATING_POINT is used. (CVS 6763) (user: drh branch: trunk)
2009-06-09
18:58
[20cf0b0b38] part of check-in [0bd84e7387] Fix compiler warnings with MSVC build. (CVS 6741) (user: shane branch: trunk)
18:14
[60ca5ae05f] part of check-in [9d3329891c] Avoid a false failure report in the test scripts caused by the vdbe stack "compression" script. (CVS 6740) (user: shane branch: trunk)
2009-06-05
16:46
[434e3803de] part of check-in [302ab855e6] Do not cast an unsigned int into an int for comparison. (CVS 6720) (user: drh branch: trunk)
14:17
[7f8639cf36] part of check-in [38b20327a8] Take care that a corrupt variable-length integer does not cause 32-bit integer overflow when parsing a record format, nor cause excessively large memory allocations. (CVS 6719) (user: drh branch: trunk)
2009-06-03
11:25
[d105cc58a6] part of check-in [6dbf4eca00] Define a set of constants to use as the "index" argument to sqlite3BtreeGetMeta and UpdateMeta. This makes some parts of the code easier to follow. (CVS 6709) (user: danielk1977 branch: trunk)
2009-06-02
16:06
[6bb5bc9531] part of check-in [6f2aab3f7b] Tweaks to vdbe.c to further reduce stack space requirements. (CVS 6706) (user: drh branch: trunk)
15:21
[2f2c4b5a1b] part of check-in [7f43391831] Add the vdbe-compress.tcl script which automatically refactors the sqlite3VdbeExec() routine to use less stack space. Use this script when constructing the amalgamation. (CVS 6704) (user: drh branch: trunk)
2009-05-18
16:14
[09e2a26881] part of check-in [2a277c55b2] Port patches from the trunk into the 3.6.14.1 branch: the group_concat() fix of check-in (6616), ticket #3841 and the pcache fix of check-in (6619), ticket #3844. (CVS 6652) (user: drh branch: branch_3_6_14)
2009-05-07
12:17
[b859cb2740] part of check-in [4a86de35d5] Make sure the iteration counter on aggregate functions is reset each time the aggregate is used in an correlated subquery. Ticket #3841. (CVS 6616) (user: drh branch: trunk)
2009-05-06
18:57
[3cecc2bb87] part of check-in [df599237e1] Changes to silence compiler warnings under MSVC. (CVS 6613) (user: shane branch: trunk)
2009-05-04
11:42
[e7c3355a39] part of check-in [cac4f3d812] Speed up INSERT operations that add data to UNIQUE or PRIMARY KEY indexes by rationalizing duplicate seek operations. (CVS 6599) (user: danielk1977 branch: trunk)
2009-04-30
09:10
[5fe07cce9f] part of check-in [38f8c5a14c] When SQLite is configured to use in-memory temp files (either by setting SQLITE_TEMP_STORE during compilation or using the temp_store pragma at run time), store statement/savepoint journals in memory also. Ticket #3825. (CVS 6575) (user: danielk1977 branch: trunk)
2009-04-22
17:15
[b7a27b4c3d] part of check-in [ecbef45011] Eliminate the OP_VRowid opcode. The regular OP_Rowid now work for both regular and virtual tables. (CVS 6537) (user: drh branch: trunk)
15:32
[ff8870fd2a] part of check-in [1c508a9982] Change the OP_Rowid opcode so that a deferred OP_Seek is pending, it simply pulls the rowid from the deferred seek target and does not actually move the cursor or do a seek. Other where.c cleanups. (CVS 6536) (user: drh branch: trunk)
02:15
[13f976672c] part of check-in [e963bed0fe] Remove the rowhash object from the code. Rowset now fills its role. (CVS 6535) (user: drh branch: trunk)
00:47
[cbef2e1fd2] part of check-in [b101cf70b7] Extend the Rowset object to contain all the capabilities of Rowhash in addition to its legacy capabilities. Use Rowset to replace Rowhash. In addition to requiring less code, This removes the 2^32 result row limitation, uses less memory, and gives better bounds on worst-case performance. The Rowhash implementation has yet to be removed. (CVS 6534) (user: drh branch: trunk)
2009-04-21
16:15
[9d6ecf5718] part of check-in [9b30ab7199] Allocate the initial RowHash object using lookaside. (CVS 6530) (user: drh branch: trunk)
15:05
[6df1766d2c] part of check-in [b8cb4f3e24] New comments and minor refactoring of rowhash.c. (CVS 6529) (user: drh branch: trunk)
09:02
[60db222db8] part of check-in [f61e4cd936] Attempt to optimize virtual table queries with 'OR' expressions in the WHERE clause. (CVS 6527) (user: danielk1977 branch: trunk)
2009-04-10
12:55
[88bc70921c] part of check-in [683e4bd747] Changes to ensure that when running in shared-cache mode with a non-threadsafe build, the correct busy-handler callback is always invoked. (CVS 6481) (user: danielk1977 branch: trunk)
00:56
[146b72ae07] part of check-in [2cc68272b1] Force 8-byte alignment of sqlite3_value objects in the sqlite3VdbeUnpackRecord() primitive. Ticket #3777. (CVS 6479) (user: drh branch: trunk)
2009-04-07
09:16
[3d252f7066] part of check-in [cdad29b582] Have OP_IdxRowid handle the case where the index entry it is reading from is deleted. (CVS 6461) (user: danielk1977 branch: trunk)
2009-04-02
20:27
[bddddefc5c] part of check-in [e0c1a780f5] Make sure count(*) works on the sqlite_master table of an empty database. Ticket #3774. (CVS 6443) (user: drh branch: trunk)
2009-03-23
17:11
[624922027b] part of check-in [92ec597512] Fix an obscure race condition that can occur when multiple threads, shared cache and DDL statements are combined. Enhance notify2.test to test this scenario. (CVS 6373) (user: danielk1977 branch: trunk)
2009-03-18
10:33
[f8164c2830] part of check-in [a60f419179] Fix some cases where executing SQL from within a user-function callback could cause problems related to statement-transactions. (CVS 6355) (user: danielk1977 branch: trunk)
2009-03-17
22:33
[2ae831d43c] part of check-in [189785832a] Move the rowid cache out of VdbeCursor and into BtCursor. When multiple BtCursors are open on the same table, set their rowid cache all at the same time. Ticket #3731. (CVS 6354) (user: drh branch: trunk)
2009-03-16
13:19
[230b0b7e73] part of check-in [b649a6cc5b] Add the sqlite3_unlock_notify() API. (CVS 6348) (user: danielk1977 branch: trunk)
2009-03-05
04:20
[a193ab2ce1] part of check-in [6404afa0c5] Corrected typos and misspellings. Ticket #3702. (CVS 6336) (user: shane branch: trunk)
2009-02-24
18:57
[e03512022e] part of check-in [b99c1815fe] Changes to comments and functions/procedure names for clarification. No changes to logic. (CVS 6322) (user: drh branch: trunk)
10:01
[13194e2961] part of check-in [d4aa659318] Optimize queries of the form "SELECT count(*) FROM <tbl>" by adding a sqlite3BtreeCount() interface to the btree layer. (CVS 6316) (user: danielk1977 branch: trunk)
2009-02-20
10:58
[23a620da91] part of check-in [e43ed64963] Instead of using SetNumColumns, specify the number of columns in a table or index using the P4 argument. (CVS 6310) (user: danielk1977 branch: trunk)
03:55
[3bd3acffdd] part of check-in [48b77b0493] Add a count parameter to the OP_Variable opcode and use it to simplify prepared statements that copy consecutive unnamed parameters into consecutive registers (a common case). (CVS 6309) (user: drh branch: trunk)
03:02
[4533be29b9] part of check-in [feccad8d0d] Add the OP_HaltIfNull opcode and use it to simplify prepared statements for INSERTs and UPDATEs of tables with NOT NULL columns. (CVS 6308) (user: drh branch: trunk)
2009-02-19
14:39
[d7b996a5b7] 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) (user: danielk1977 branch: trunk)
2009-02-16
17:55
[02e70c48ff] part of check-in [68f15442e8] Changes to remove some compiler warnings from MSVC. (CVS 6294) (user: shane branch: trunk)
2009-02-10
11:17
[473169c195] part of check-in [f6590dac46] Reenable triggering vdbe tracing by creating file-system entries. Add a (redundant) test that modifying the temp schema expires all prepared statements. (CVS 6274) (user: danielk1977 branch: trunk)
2009-02-09
13:19
[0be895a0c3] part of check-in [e20bf38466] Better error message when DISTINCT is used on an aggregate function that takes two or more arguments. Ticket #3641. (CVS 6269) (user: drh branch: trunk)
2009-02-04
03:59
[c719017876] part of check-in [5cef400023] Changes to completely remove all floating point ops if SQLITE_OMIT_FLOATING_POINT defined. Note that w/o fp, date/time, round, nan, etc. are all gone or limited in functionality. Updated some of the test scripts to support missing fp and 64-bit functionality. Ticket #3029. (CVS 6250) (user: shane branch: trunk)
2009-02-01
00:29
[81120d5a5b] part of check-in [0d2abbbff5] Adjust comments in vdbe.c to use OP_MakeRecord instead of the obsolete OP_MakeIdxRec. Ticket #3619. (CVS 6225) (user: drh branch: trunk)
2009-01-20
16:53
[e14b330e7b] part of check-in [1041abd678] When not compiling for an EBCDIC system, use built-in alternatives to the tolowe r(), toupper() and other ctype.h library functions. Ticket #3597. (CVS 6196) (user: danielk1977 branch: trunk)
2009-01-14
00:55
[b917020da4] part of check-in [d28b58209b] Make sure the OR-clause optimizer takes the cost of sorting into account. Reset the rowid cache on the OP_Rewind and OP_Last opcodes. Bump the version number so that we can do an emergency release. Ticket #3581. (CVS 6173) (user: drh branch: trunk)
2009-01-05
22:30
[4e9b83e758] part of check-in [5f80140a2d] The fix in (6111) was not quite right. This version works better. (CVS 6113) (user: drh branch: trunk)
18:02
[d30c6c3e02] part of check-in [b2131e868a] Make sure the MEM_Zero flags is cleared whenever removing MEM_Blob. (CVS 6111) (user: drh branch: trunk)
2009-01-02
21:08
[687e481528] part of check-in [3e9efb7638] Reinitialize page 1 of the database file following a ROLLBACK TO of a transactional SAVEPOINT on an initially empty database. (CVS 6103) (user: drh branch: trunk)
2008-12-29
10:39
[aa4674ce5d] part of check-in [03d0350441] Set the OPFLG_IN1 flag on a couple of extra opcodes. (CVS 6070) (user: danielk1977 branch: trunk)
2008-12-23
13:35
[fb84f5ce76] part of check-in [d77a702358] Multi-index OR-clause optimization now works for simple tests. There are no test scripts for it yet, though. And it is disabled by default, pending further testing and optimization. We need a lot of both. (CVS 6058) (user: drh branch: trunk)
2008-12-18
18:31
[e9a7825d25] part of check-in [d915718d0b] Increase test coverage of new savepoint code. (CVS 6040) (user: danielk1977 branch: trunk)
2008-12-17
17:30
[79d3ec97b2] part of check-in [34b56600ec] Add the savepoint feature. This feature is largely untested at this point. (CVS 6036) (user: danielk1977 branch: trunk)
2008-12-15
15:27
[3fd1fe6408] part of check-in [ea9b747efb] Convert the "~" and "NOT" operators to be two-address instructions. Ticket #3541. (CVS 6028) (user: drh branch: trunk)
2008-12-12
17:56
[ee98938f76] part of check-in [e545490a28] Rework the rowid lookup logic in the query optimizer to fix various boundary value problems. Ticket #3536. Renamed the OP_MoveXX opcodes to OP_SeekXX. (CVS 6024) (user: drh branch: trunk)
2008-12-11
20:03
[0f9f19520c] part of check-in [f6c50f357c] Previous change to the OP_ForceInt opcode did not work correctly when the input is a negative floating point value. This change is the fix. Ticket #3536. (CVS 6023) (user: drh branch: trunk)
19:50
[78e2499543] part of check-in [6a049c6595] Make sure the OP_ForceInt vdbe opcode does not cause a rowid overflow. Ticket #3536. Tests to verify this change will be checked in separately. (CVS 6022) (user: drh branch: trunk)
16:17
[46eed1fc5f] part of check-in [da2ec96422] Guard against attacks from deliberately corrupted database files. (CVS 6021) (user: drh branch: trunk)
13:05
[3a184e2654] part of check-in [0d316160fc] Initialize a local variable so as to avoid a valgrind warning. (CVS 6019) (user: drh branch: trunk)
02:58
[4b004af10e] part of check-in [72fd92bd67] Removed a few more harmless warnings from MSVC. (CVS 6018) (user: shane branch: trunk)
2008-12-10
22:32
[99e6c72bd3] part of check-in [50352950df] Try to remove compiler warnings from vdbe.c. (CVS 6014) (user: drh branch: trunk)
19:26
[0244413f3d] part of check-in [c872d55493] Never use strlen(). Use our own internal sqlite3Strlen30() which is guaranteed to never overflow an integer. Additional explicit casts to avoid nuisance warning messages. (CVS 6007) (user: drh branch: trunk)
18:03
[b99af9ad17] part of check-in [14e6d19c31] More explicit type casting to silence VC++. (CVS 6006) (user: drh branch: trunk)
2008-12-09
02:51
[fce160c74a] part of check-in [1522c2c667] Suppress more silly compiler warnings. (CVS 5995) (user: drh branch: trunk)
2008-12-06
16:46
[c7da272744] part of check-in [9d061e20d8] Make sure a memory allocation error did not prevent UTF16 to UTF8 conversion prior to doing a string comparison. (CVS 5988) (user: drh branch: trunk)
2008-12-04
22:17
[3e849f1cff] part of check-in [cb0f1658d3] Fix a segfault that can occur in the RowSet object following a malloc failure. (CVS 5978) (user: drh branch: trunk)
20:40
[5c46d3742f] part of check-in [39a0750b49] Replace the VDBE Fifo object with the new RowSet object. (CVS 5977) (user: drh branch: trunk)
12:17
[3291fb0fe3] part of check-in [760333de65] Always enable the OP_Blob opcode in the VDBE even when SQLITE_OMIT_BLOB_LITERAL is defined, since that opcode is used for other purposes as well. Ticket #3518. (CVS 5974) (user: drh branch: trunk)
2008-11-17
15:31
[c5270245fc] part of check-in [9939dd839a] Modifications to avoid signed/unsigned warnings in vdbe.c. (CVS 5912) (user: danielk1977 branch: trunk)
2008-11-13
18:29
[c15dc80bd1] part of check-in [9b7a52e952] Fixed several more crashes due to corrupt db files. Added corruptC.test to soak.test. (CVS 5905) (user: shane branch: trunk)
2008-11-05
16:37
[b6b989bbd0] part of check-in [51f04aaff2] The COMMIT command now works even if there are pending queries, as long as the pending queries are reading and not writing the database. (CVS 5864) (user: drh branch: trunk)
2008-11-03
20:55
[d2c9b71d0a] part of check-in [fdb98fd8c1] Change the name of the Cursor object to VdbeCursor. (CVS 5857) (user: drh branch: trunk)
2008-10-30
15:03
[e3629776ef] part of check-in [4c6a90a166] Add the sqlite3_extended_errcode() interface. Change to return SQLITE_BUSY instead of SQLITE_ERROR when a COMMIT is attempted and one or more queries are still pending. (CVS 5850) (user: drh branch: trunk)
2008-10-27
13:59
[be81532805] part of check-in [e68e4282ad] Make sqlite3_count_changes() and total_changes() work with "DELETE FROM ". (CVS 5844) (user: danielk1977 branch: trunk)
2008-10-08
17:58
[b78adf571b] part of check-in [af679f6170] After an OP_NullRow is executed on a cursor, cause any subsequent OP_Next or OP_Prev to behave as if there were no more rows to traverse. Ticket #3424. (CVS 5782) (user: danielk1977 branch: trunk)
2008-10-07
23:46
[374961d5ac] part of check-in [de473efb35] Add the experimental sqlite3_stmt_status() interface. (CVS 5781) (user: drh branch: trunk)
19:53
[b1c79e640b] part of check-in [79df72ee83] Raise the hard upper bound on SQLITE_MAX_FUNCTION_ARG to 1000 from 100. The default upper bound is still 100, but it can now be raised as high as 1000 at compile-time. (CVS 5780) (user: drh branch: trunk)
2008-09-22
06:13
[c9499f1824] part of check-in [915679431a] Remove unused macro Release() from vdbe.c. (CVS 5728) (user: danielk1977 branch: trunk)
2008-09-02
11:05
[ebc6f6bc86] part of check-in [29c9a80294] Add a 'const' to the opcodeProperty array in vdbe.c. (CVS 5661) (user: danielk1977 branch: trunk)
2008-08-21
19:28
[adcc179a31] part of check-in [30077ece45] Remove references to OP_MoveTo in comments of vdbe.c - that opcode no longer exists. Ticket #3327. (CVS 5584) (user: drh branch: trunk)
2008-08-20
22:06
[ae37f60142] part of check-in [00b177985e] Modify the sqlite3VdbeUnpackRecord() interface to force the temporary space to be 8-byte aligned. This might be important for Sparc. Ticket #3318. (CVS 5573) (user: drh branch: trunk)
2008-08-13
19:11
[e2dd0c78c5] part of check-in [0b92cbf525] Additional changes toward fixing ticket #3292. (CVS 5562) (user: drh branch: trunk)
14:07
[cda10a8e6a] part of check-in [055f173ab1] A partial fix for ticket #3292. This fixes the original problem but there are other similar problems lurking in the code still. (CVS 5561) (user: drh branch: trunk)
2008-08-11
18:44
[2eff8c2206] part of check-in [0e1d8d14a1] Do not allow indexing of any table whose name begins with "sqlite_". Ticket #3284. Improve handling of databases with malformed schemas - just in case somebody has actually indexed a system table. (CVS 5553) (user: drh branch: trunk)
2008-08-02
15:10
[96e0527ad1] part of check-in [6e41455f2c] Increase the ref-count on the sqlite3_vtab structure before calling either the xNext or xFilter methods. (CVS 5524) (user: danielk1977 branch: trunk)
2008-08-01
20:10
[a548d1dd6c] part of check-in [2cd6bae809] Bring test coverage up to 99%. (CVS 5522) (user: drh branch: trunk)
17:37
[90296a45d2] part of check-in [007359b770] Test that virtual table methods xBestIndex, xOpen, xFilter, xNext, xColumn, xRowid, xUpdate, xSync and xBegin can all return error messages using the sqlite3_vtab.zErrMsg variable. (CVS 5519) (user: danielk1977 branch: trunk)
2008-07-30
13:27
[caa1694759] part of check-in [da0e4bff30] Implicit string->numeric conversion should go to an integer value when possible. Ticket #3257. (CVS 5502) (user: drh branch: trunk)
13:14
[4a5b78debc] part of check-in [aee6330831] Remove unused sqlite3VdbeMemDynamicify() function from the VDBE. (CVS 5500) (user: drh branch: trunk)
2008-07-29
10:18
[78171c3fba] part of check-in [9ebee8401b] Speed up OP_Column by eliminating some double handling. (CVS 5490) (user: danielk1977 branch: trunk)
2008-07-28
19:34
[40b188e5be] 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) (user: drh branch: trunk)
2008-07-26
18:47
[aa0922d62e] part of check-in [75c2a532f4] Remove a branch that could not be taken from OP_IsUnique. (CVS 5485) (user: danielk1977 branch: trunk)
18:26
[acc17bc1e3] part of check-in [7aecabacf9] Fix a case where database corruption was causing an invalid reference. (CVS 5484) (user: danielk1977 branch: trunk)
2008-07-23
21:07
[cc4c19b88d] part of check-in [4a9dd5e782] Error messages from virtual tables store on the sqlite3_vtab->zErrMsg field are reported back up to the application interface and memory is reclaimed. (CVS 5466) (user: drh branch: trunk)
18:17
[2868150723d] part of check-in [e2c6771d44] Read the sqlite3_vtab.zErrMsg after each call to a virtual table method and transfer any error into the database connection. Fix the fts2.test and fts3.test scripts to that they return silently rather than failing the test sequence if the appropriate FTS implementation is unavailable. (CVS 5463) (user: drh branch: trunk)
2008-07-11
21:02
[179dbe5f08] part of check-in [c80a5d0993] Detect and handles the case where a row is modified or deleted while it is being read during SELECT processing. (CVS 5399) (user: drh branch: trunk)
2008-07-10
00:32
[14d98d1d47] part of check-in [636cd72329] Remove unused code. Test coverage enhancements. Modify the algorithm used to select column names for VIEWs of joins so that the constructed column names omits the underlying table names. (CVS 5386) (user: drh branch: trunk)
2008-07-08
19:34
[4b3c7d0c7f] part of check-in [8ed04b1e26] Completely rework the sqlite3SetString() primitive so that it honors the SQLITE_LIMIT_LENGTH and avoids the use of strlen(). (CVS 5374) (user: drh branch: trunk)
2008-07-07
17:13
[fb6df1bd31] part of check-in [acfb2b41ae] Fix an error checked in as part of (5350). (CVS 5353) (user: danielk1977 branch: trunk)
14:56
[8adaa7524e] part of check-in [b96bcaa197] Test a couple of specific malloc() failures that were not tested before. (CVS 5350) (user: danielk1977 branch: trunk)
2008-06-26
18:04
[b1528683ff] part of check-in [d45a97be71] Fix handling of "x IN (...)" and "x NOT IN (...)" expressions when the set contains an SQL NULL value. (CVS 5314) (user: danielk1977 branch: trunk)
2008-06-25
00:12
[c0daf1d1fb] part of check-in [8bbfa97837] The compound-select merge optimization passes quick.test with no errors. (CVS 5299) (user: drh branch: trunk)
2008-06-23
18:49
[3674e10c76] part of check-in [f8238770bf] Fix a bug in handling queries on the sqlite_master table with an empty (0 bytes in size) database file. (CVS 5286) (user: danielk1977 branch: trunk)
2008-06-22
12:37
[98d8d2f7a7] part of check-in [663a590e30] Fix a bug in the KEYINFO handling within select.c. Change the OP_Move opcode to take a count and to move multiple registers. Initial code for the compound-select merge optimization is added but is incomplete and is commented out. (CVS 5272) (user: drh branch: trunk)
2008-06-20
18:13
[b733eaea9b] part of check-in [083113652f] Add new Compare and Jump codes to the virtual machine. Use them in the implementation of aggregate queries. (CVS 5257) (user: drh branch: trunk)
15:24
[d4b0efeedb] part of check-in [6b9d92fc3f] Change the SRT_Subroutine mode into SRT_Coroutine. Use co-routines in the INSERT processing logic. (CVS 5255) (user: drh branch: trunk)
14:59
[7f80262db0] part of check-in [56c8af1452] Add a mode to the sqlite3_test_control() interface to register hooks called at the beginning and end of "benign malloc failure" blocks. This allows malloc() failure testing to be done using public APIs only. (CVS 5254) (user: danielk1977 branch: trunk)
2008-06-15
02:51
[f6866986de] 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) (user: drh branch: trunk)
2008-06-07
08:58
[1936425c34] part of check-in [e9f01c0186] Change the signature of sqlite3PagerPagecount() so that it can return an error code. (CVS 5195) (user: danielk1977 branch: trunk)
2008-06-06
15:04
[a113a62ae6] part of check-in [ef1956eebc] Remove the subroutine return stack from the VDBE. Return addresses for subroutines are now stored in registers. (CVS 5191) (user: drh branch: trunk)
2008-06-05
11:39
[04fec4d3c8] part of check-in [4226ac54be] Modify the signatures of the sqlite3_vfs.xAccess and sqlite3_vfs.xCheckReservedLock functions. (CVS 5188) (user: danielk1977 branch: trunk)
2008-05-30
15:59
[bad9123e80] part of check-in [0613569424995207c] Fix typos in comments in vdbe.c. (CVS 5182) (user: shane branch: trunk)
2008-05-29
20:22
[37d3237ad5] part of check-in [9883b406ce] Consolidated inline assembly versions of "hwtime()" into hwtime.h. Provided MSVC version. Modified code for consistent use of hwtime(). Changed implementation to use sqlite_uint64 and sqlite_int64 instead of unsigned long long int and long long int for MSVC compiler support. (CVS 5178) (user: shane branch: trunk)
05:23
[efe92d0925] part of check-in [5f6eab65db] Fix cosmetic issues spotted while working on ticket #3146 (CVS 5177) (user: drh branch: trunk)
03:12
[4666906aa7] part of check-in [0d55328e68] Fix an obsolete comment on the OP_Rowid opcode in the VDBE. (CVS 5174) (user: drh branch: trunk)
2008-05-15
17:48
[25a362a4fd] part of check-in [eb6985e69c] Add the "page_count" pragma. Returns a single integer - the number of pages in the specified database file. (CVS 5135) (user: danielk1977 branch: trunk)
2008-05-13
13:27
[81035a619a] part of check-in [a9d1d93135] Make the benign-fault setting recursive. Make all malloc failures during a rollback benign since there is nothing we can do about them. (CVS 5128) (user: drh branch: trunk)
2008-05-09
18:03
[56c11eb149] part of check-in [18b1ee10b8] Reformulate the constants for the minimum and maximum 64-bit signed integer to work better with some compilers. Ticket #3105. (CVS 5113) (user: drh branch: trunk)
2008-05-07
18:59
[2bc3352c81] part of check-in [530c636061] Added test cases for corrupt SerialTypeLen header values, and additional check to improve detection of corrupt values. (CVS 5101) (user: shane branch: trunk)
2008-04-29
00:15
[26964ba7ed] part of check-in [9b07e59e51] Always convert IEEE NaN into NULL. Ticket #3060. Add test cases to verify that this is happening. (CVS 5066) (user: drh branch: trunk)
2008-04-28
16:55
[1e0ee231e5] part of check-in [07fd9a8c6c] Change the implementation of the NaN recognition to be more cross-platform. Ticket #3089. (CVS 5060) (user: drh branch: trunk)
2008-04-25
12:25
[2d75ac15ec] part of check-in [7f80539225] Clarify some comments. No changes to code. (CVS 5049) (user: drh branch: trunk)
2008-04-24
19:15
[062c597e16] part of check-in [0d04ccd978] Consolidated varint macro usage from btreeInt.h, vdbe.c, and vdbeaux.c into sqliteInt.h and made their use consistent. Slight improvements to varint32 macros. (CVS 5045) (user: shane branch: trunk)
2008-04-18
11:31
[e0cc1de84b] part of check-in [df02175ec0] Remove unused code from OP_IdxLt and OP_IdxGE. (CVS 5030) (user: danielk1977 branch: trunk)
10:25
[892a871879] part of check-in [9a97681924] Combine cases 3 and 4 in where.c, since case 4 is now a special case of case 3. (CVS 5029) (user: danielk1977 branch: trunk)
09:01
[6b3a227325] part of check-in [c448f15aa5] Allow OP_MoveGt and similar to use an array of registers instead of a serialized record. Modify one type of index range scan to use this. (CVS 5028) (user: danielk1977 branch: trunk)
2008-04-15
12:14
[e4a3df1221] part of check-in [d04246a463] Fix a code generator bug caused by the new CSE optimization. Add test cases to prevent a recurrence. (CVS 5011) (user: drh branch: trunk)
2008-04-10
14:00
[444ab9ecc9] part of check-in [55591fc49c] Make sure changes to virtual tables are counted the same as real tables. Ticket #3038. (CVS 4976) (user: drh branch: trunk)
2008-04-05
18:41
[edee197463] part of check-in [b2517a7d8f] Add the sqlite3PutVarint32 routine as an alternative to sqlite3PutVarint. Gives 0.5% speed increase. (CVS 4968) (user: drh branch: trunk)
2008-04-03
20:09
[66ca98cce0] part of check-in [1d67f41c88] Fix to the previous check-in so that it works on a intel Mac. (CVS 4962) (user: drh branch: trunk)
19:40
[da3f91d8f6] part of check-in [b4eba9c533] Use an improved RDTSC access routine. (CVS 4961) (user: drh branch: trunk)
2008-04-02
16:29
[1f8c02fc58] part of check-in [66c5d715bb] Simplifications to the LockTable opcode. (CVS 4954) (user: drh branch: trunk)
2008-04-01
00:36
[1a8f3ececa] part of check-in [53e533d3a7] Break up the implementation of OP_Move, OP_Copy, and OP_SCopy to reduce the number of branch instructions. (CVS 4945) (user: drh branch: trunk)
2008-03-31
18:19
[07f500db38] part of check-in [2126db3985] Factor constant subexpressions out of loops. (CVS 4942) (user: drh branch: trunk)
2008-03-28
19:16
[09dd6f4c5e] part of check-in [2b6d3e015e] Fix a memory leak that can occur when the library API is misused. (CVS 4932) (user: danielk1977 branch: trunk)
15:44
[a1413f2dd7] part of check-in [d0bf73d814] Changes to the Mem structure to reduce the frequency of freeing and reallocating the dynamic buffer. (CVS 4928) (user: danielk1977 branch: trunk)
2008-03-27
22:42
[ecad5d197f] part of check-in [3cb704c4c4] Allow the xAccess method in the VFS to return -1 to signal an I/O error, and in particular an SQLITE_IOERR_NOMEM. (CVS 4925) (user: drh branch: trunk)
17:59
[f8e6d7f96f] part of check-in [1a58a87023] Allow creation of ephemeral pseudo-tables - pseudo-tables that copy a pointer to a row when inserted instead of copying the row data. (CVS 4924) (user: danielk1977 branch: trunk)
2008-03-25
17:23
[0068703495a] part of check-in [ee381b4356] Modify the {quote: IdxDelete} opcode so that it takes an array of registers rather than a record formed using {quote: MakeRecord.} This avoids a needless packing and unpacking of the record to be deleted. (CVS 4916) (user: drh branch: trunk)
09:47
[bdcbf54cf9] part of check-in [047153648155654b] Use a vdbe memory cell to allocate the space required for vdbe cursors. (CVS 4912) (user: danielk1977 branch: trunk)
00:22
[d81771c67e] part of check-in [0e1d84f2f4] Removed the direct btree tests - part of the ongoing effort to test by calling only public interfaces. Modify the sqlite3VdbeRecordCompare interface to used a pre-parsed second key - resulting in a 13% performance improvement on speed1p.test. (CVS 4911) (user: drh branch: trunk)
2008-03-21
17:13
[43b261f50b] part of check-in [13e388cecf] Make sure the text result of an aggregate function has the correct encoding. Ticket #3009. (CVS 4903) (user: drh branch: trunk)
2008-03-20
14:03
[5ac49cf526] 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) (user: drh branch: trunk)
2008-03-19
21:45
[86033e43d8] 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) (user: drh branch: trunk)
14:15
[aaf93d6de7] part of check-in [15110ea027] Add a new api sqlite3_randomness() for providing access to SQLite's internal PRNG. Add sqlite3_test_control() verbs for controlling the PRNG. (CVS 4882) (user: drh branch: trunk)
2008-03-17
17:18
[c63fcb1c12] part of check-in [fcf3d0a3d5] Fix an uninitialized variable in the Prev and Next opcodes. (CVS 4873) (user: drh branch: trunk)
16:54
[abb9232dbb] part of check-in [57db14067f] Detect the failure to zero-terminate a result string due to a malloc failure. (CVS 4871) (user: drh branch: trunk)
2008-02-13
18:25
[a172f5134d] part of check-in [990237e27e] Where possible, avoid freeing buffers allocated for vdbe memory cells in case they can be reused. (CVS 4783) (user: danielk1977 branch: trunk)
2008-02-06
14:11
[1049375248b] 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) (user: drh branch: trunk)
2008-01-31
19:34
[451ead624d] part of check-in [ebeac2a499] Fix a problem with virtual tables and left joins introduced by check-in (4761). Ticket #2894 and #2913. (CVS 4765) (user: drh branch: trunk)
15:53
[a21942ef43] part of check-in [face510bc1] Make sure virtual table interfaces are not invoked after EOF when the virtual table appears in an outer join. Ticket #2894. (CVS 4761) (user: drh branch: trunk)
2008-01-23
03:03
[299e18e426] part of check-in [5375ad6b4b] Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when compiling without -DSQLITE_DEBUG=1. (CVS 4744) (user: drh branch: trunk)
2008-01-22
21:30
[a3ac8efb7c] part of check-in [1a335e1801] Add the fault injector module in fault.c. Use it as a basis for memory allocation failure testing. (CVS 4742) (user: drh branch: trunk)
2008-01-21
16:22
[e7ec3089f1] part of check-in [720bc20a11] Miscellaneous test coverage improvements. (CVS 4734) (user: drh branch: trunk)
2008-01-19
23:50
[7d193674c4] part of check-in [010f7b780c] Additional test coverage improvements. Test coverage now stands at 98.73%. (CVS 4731) (user: drh branch: trunk)
20:11
[65a3ad903f] part of check-in [af129b6d15] Miscellaneous code simplifications and cleanup and test coverage enhancements. (CVS 4730) (user: drh branch: trunk)
03:35
[986d1b4034] part of check-in [d9ebe9d78c] Cleanup and simplification of constraint processing. Simplifications to the VM for better test coverage. (CVS 4729) (user: drh branch: trunk)
2008-01-18
14:08
[3734b4b4fc] part of check-in [0e50c0200a] Remove the OP_HexBlob instruction and code OP_Blob directly. Reduce the amount of memory allocation required to encode blob literals. Remove the "out2" instruction type. Other minor optimizations. (CVS 4726) (user: drh branch: trunk)
2008-01-17
16:22
[94d3da7627] 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) (user: drh branch: trunk)
02:36
[9de1ce4ddf] part of check-in [b3a141b2b0] Registerification of the WHERE clause logic. (CVS 4716) (user: drh branch: trunk)
2008-01-16
17:46
[1c58599437] part of check-in [5807921f5a] Get all tests running without memory leaks. (CVS 4714) (user: drh branch: trunk)
2008-01-12
21:35
[f36700465f] part of check-in [110c000d86] The sqlite3_trace() callback now prints a message as each trigger fires within a statement. (CVS 4709) (user: drh branch: trunk)
19:03
[a05947fba0] part of check-in [426f31ecdd] Continuing work toward converting the VM to a register machine. (CVS 4708) (user: drh branch: trunk)
12:48
[20bd088657] part of check-in [a6dddebcc5] Continuing work toward converting the VM into a register machine. (CVS 4707) (user: drh branch: trunk)
2008-01-10
23:50
[2a62b69e83] part of check-in [8cbd46517f] More work toward converting the VM into a register-based machine. (CVS 4704) (user: drh branch: trunk)
2008-01-09
23:04
[b094a8834b] 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) (user: drh branch: trunk)
02:15
[cf1f4de3b9] part of check-in [92deff07bb] Continued work toward converting to a register-based VM. (CVS 4698) (user: drh branch: trunk)
2008-01-08
23:54
[926b4630c5] part of check-in [8862ce9cee] Registerify the comparison opcodes. (CVS 4697) (user: drh branch: trunk)
02:57
[e71595acce] part of check-in [b9bf509e39] Progress toward registerification of the constraint checking logic for INSERT and UPDATE. (CVS 4693) (user: drh branch: trunk)
2008-01-07
19:20
[3d84901355] part of check-in [aa48867cfa] Registerify the AUTOINCREMENT processing and the OP_IsNull and OP_NotNull operators. (CVS 4692) (user: drh branch: trunk)
2008-01-06
00:25
[d30764669b] part of check-in [8201f71729] Registerify the SRT_Subroutine destination for SELECT results. (CVS 4690) (user: drh branch: trunk)
2008-01-05
18:48
[2dda056501] part of check-in [6bb1b1bc18] Modify OP_RegMakeRec to take a base register and count and optionally store results in the register specified by P3. (CVS 4689) (user: drh branch: trunk)
16:29
[0c16e643e8] part of check-in [66396d2f02] Registerify binary operators. Add register tracing to debugging output. (CVS 4686) (user: drh branch: trunk)
06:51
[5174adfb84] part of check-in [6c78d2a49a] Expression code generator takes advantage of recent opcode changes. (CVS 4685) (user: drh branch: trunk)
05:38
[d96c341f07] part of check-in [32380dcabc] Register-ify the OP_ForceInt opcode. (CVS 4684) (user: drh branch: trunk)
05:20
[f8aabf9ae1] part of check-in [3e8a07dd3c] Register-ify the OP_AddImm and all casting opcodes. Omit the OP_MemIncr opcode. (CVS 4683) (user: drh branch: trunk)
04:06
[8a2d438d47] part of check-in [cc149eb9ca] Get rid of OP_Dup, OP_MemStore, OP_MemLoad, and OP_MemMove. Replace with OP_Copy, OP_SCopy, and OP_Move. Add the infrastructure for operation properties in1, in2, in3, out2, and out3 but do not yet use any of these. (CVS 4682) (user: drh branch: trunk)
2008-01-04
22:01
[a2d9e868ef] part of check-in [fe057a88d0] Implement the out2-prerelease opcode design pattern. (CVS 4681) (user: drh branch: trunk)
19:10
[9ccdc8ab9c] part of check-in [d9ac6beef5] Some modifications to insert.c to work without using the stack. (CVS 4678) (user: danielk1977 branch: trunk)
16:50
[8e42b5ce4d] part of check-in [042dcb9621] Replace the NOPUSH_MASKs with a bit-vector mechanism that can contain several different properties about each opcode. (CVS 4677) (user: drh branch: trunk)
13:57
[c562e01b49] part of check-in [2c913908a4] Modify FifoRead and FifoWrite to work exclusively with memory cells. (CVS 4676) (user: danielk1977 branch: trunk)
13:24
[55e1a0541f] part of check-in [173f281334] Modify the code generated for a DELETE to use registers instead of the vdbe stack. (CVS 4675) (user: danielk1977 branch: trunk)
11:01
[09caf5753f] part of check-in [8bb9f970dd] Add OP_MemSet, for setting a memory cell to a string value. (CVS 4674) (user: danielk1977 branch: trunk)
2008-01-03
18:44
[b49db80b9f] part of check-in [4f3967073d] Update OP_Rowid, OP_Column and related opcodes to use registers. (CVS 4671) (user: drh branch: trunk)
18:39
[0fa40511ae] part of check-in [253ed40aa3] Modify VFilter and VRename to use registers instead of the vdbe stack for inputs. (CVS 4670) (user: danielk1977 branch: trunk)
18:03
[4e72b3a23a] part of check-in [0b849805c3] Registers (aka memory cells) in the VM are now numbered starting with 1 instead of 0. A register number of 0 means "no such register". (CVS 4669) (user: drh branch: trunk)
17:31
[e54f89e877] part of check-in [955b15a020] Modify OP_VUpdate to read arguments from a range of memory cells instead of from the stack. (CVS 4668) (user: danielk1977 branch: trunk)
11:50
[ae8e6bc6eb] part of check-in [7e8330c804] Change the VdbeOp.p4 union to include specific pointer types for the various values of VdbeOp.p4type. (CVS 4667) (user: danielk1977 branch: trunk)
09:51
[5b19391899] part of check-in [46501f490a] Change the OP_Insert opcode to read the key and data to insert from memory cells, not the stack. (CVS 4666) (user: danielk1977 branch: trunk)
08:08
[429493ced3] part of check-in [c30f820635] Combine the OP_Column and OP_DfltValue opcodes. (CVS 4664) (user: danielk1977 branch: trunk)
07:54
[847acbfd9d] part of check-in [35da261daf] Change OP_OpenRead and OP_OpenWrite so that the database number is read from the P3 operand, not the stack. (CVS 4663) (user: danielk1977 branch: trunk)
07:09
[83dfa69800] part of check-in [b166c33a7b] Fix EXPLAIN and EXPLAIN query plan to work with new opcode format. (CVS 4662) (user: danielk1977 branch: trunk)
00:01
[fd5f6fc98e] 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) (user: drh branch: trunk)
2008-01-02
14:28
[85e44649ad] part of check-in [4c7f35da77] Add opcodes OP_ResultRow and OP_RegMakeRec which are register-based equivalents to OP_Callback and OP_MakeRecord. Use the new opcodes. (CVS 4656) (user: drh branch: trunk)
00:34
[56a6e80d33] part of check-in [051ec01f27] Begin setting a foundation on which to convert the VM from a stack-based to a register-based machine. Everything is still mostly stack based with this check-in. This change merely begins adding infrastructure to support a register-based architecture. (CVS 4652) (user: drh branch: trunk)
2007-12-17
16:20
[b2f1bcd4b9] part of check-in [07aeca3b9c] When SQLITE_MAX_SQL_LENGTH is 0, disable the limit. Make the default 0. Once again build the sqlite3 CLI from individual source files so that it can be built on systems that lack tclsh. Tickets #2845 and #2846. (CVS 4636) (user: drh branch: trunk)
2007-12-13
21:54
[cd669cd873] part of check-in [4e91a267fe] Change all instances of "it's" in comments to either "its" or "it is", as appropriate, in case the comments are ever again read by a pedantic grammarian. Ticket #2840. (CVS 4629) (user: drh branch: trunk)
2007-12-12
22:24
[a6f9fa3b97] part of check-in [c068940932] Minor cleanup changes on the OP_StackDepth opcode. Added the sidedelete test for additional testing of ticket #2832. (CVS 4619) (user: drh branch: trunk)
12:25
[94d41ad149] part of check-in [18e10f8167] Fix database corrupting code generation error for UPDATE OR REPLACE. ticket #2832. Still need to add test cases and additional defensive logic to avoid future occurrences of similar problems. (CVS 4613) (user: drh branch: trunk)
12:00
[24376fd0c2] part of check-in [3fd6a26753] Add a new OP_StackDepth opcode to help detect VDBE stack leaks early, before they cause damage. For diagnostics in ticket #2832. (CVS 4612) (user: drh branch: trunk)
2007-12-04
16:54
[a99beac116] part of check-in [bf34284ff0] Make sure statement journals are initiated when doing DROP operations (since the DROP might fail after sqlite_master changes). Also make sure statement journals are initiated if there are pending SELECT statements. Ticket #2820. (CVS 4591) (user: drh branch: trunk)
2007-11-29
17:05
[9859467b37] part of check-in [56d0e32677] Optimisations for expressions of the form "<value> IN (SELECT <column> FROM )". (CVS 4579) (user: danielk1977 branch: trunk)
2007-11-12
08:09
[791d056da2] part of check-in [af5af5dc26] Modify the order of assert() macros in vdbe.c as per the suggestion in #2768. (CVS 4536) (user: danielk1977 branch: trunk)
2007-10-23
15:39
[6a57753107] part of check-in [7e30fd6a09] Floating point and 64-bit integer constants store in the virtual machine opcodes in binary, not as text. Performance improvement. Ticket #2733. (CVS 4507) (user: drh branch: trunk)
14:55
[b21ea40c5b] part of check-in [27f846d089] Fix limit assertions in vdbe.c. Ticket #2740. (CVS 4506) (user: drh branch: trunk)
2007-10-05
16:23
[57e37b55c4] part of check-in [4424357d17] Remove #include <math.h> from all source files. It is no longer needed but causes compile problems when -DSQLITE_OMIT_FLOATING_POINT is defined. Ticket #2696. (CVS 4474) (user: drh branch: trunk)
2007-09-03
15:19
[b6c5392151] 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) (user: drh branch: trunk)
2007-08-30
11:48
[d2f156bbb6] part of check-in [d3e5022638] Fixes for failures in fuzz_malloc.test. (CVS 4334) (user: danielk1977 branch: trunk)
01:19
[9d22f69c81] part of check-in [e40d40a5d4] Fix for the sqlite3AbortOtherActiveVdbes() problem. (CVS 4328) (user: drh branch: trunk)
2007-08-29
12:31
[9f2ef52061] part of check-in [e38ef81b85] Modifications to the malloc failure tests to test transient and persistent failures. (CVS 4321) (user: danielk1977 branch: trunk)
2007-08-28
23:28
[f578e7f090] part of check-in [f84550be0a] The shared_err test runs with no errors. But a potential deadlock has been discovered and is still unfixed. (CVS 4317) (user: drh branch: trunk)
02:27
[62d210baba] part of check-in [b8cc493b47] Work toward correct btree locking in a multithreaded environment. (CVS 4307) (user: drh branch: trunk)
2007-08-21
19:33
[9d4d00589c] part of check-in [9287276191a] The sqlite3_value object now carries an sqlite3* pointer to use for recording malloc failures. This eliminates the need to pass sqlite3* pointers into many internal interfaces. Also added more mutexing. (CVS 4263) (user: drh branch: trunk)
10:44
[f1a9a29da4] part of check-in [fbbd5bda54] Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255) (user: drh branch: trunk)
2007-08-17
15:53
[b5cd895a05] part of check-in [af3e3c7acd] Begin migration to using sqlite3_vfs interface. (CVS 4240) (user: danielk1977 branch: trunk)
2007-08-16
10:09
[10052a4f1e] part of check-in [77b1671351] More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233) (user: danielk1977 branch: trunk)
04:30
[dd6f17be86] 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) (user: drh branch: trunk)
2007-07-26
06:50
[cf973bd1af] part of check-in [b88af1827b] Fix two obscure memory leaks that can follow a malloc() failure in sqlite3_set_auxdata(). Ticket #2534. (CVS 4185) (user: danielk1977 branch: trunk)
2007-07-22
19:10
[a58fe70f11] part of check-in [77ebc3feb0] Fix a bad sizeof in vdbe.c. Ticket #2522. (CVS 4174) (user: drh branch: trunk)
2007-07-21
19:41
[033d1e6b5a] part of check-in [1924ba5207] Work around a bug in GCC. Ticket #2469. (CVS 4173) (user: drh branch: trunk)
2007-07-01
21:18
[a96ce3799f] part of check-in [35ae398bd3] Remove an unnecessary temporary variable for clarity of presentation in a loop that GCC 4.2.0 is miscompiling. Ticket #2469. GCC 4.2.0 miscompiles this loop regardless of whether or not the temporary variable is used, but by removing the variable, we hope to make it easier to explain the problem to GCC maintainers. The error only appears if -ftree-vrp is used (which is turned on by -O2). (CVS 4150) (user: drh branch: trunk)
2007-06-27
15:53
[32f39e9cab] part of check-in [37d1f9f37e] Allow ALTER TABLE on virtual tables. (CVS 4142) (user: danielk1977 branch: trunk)
2007-06-26
12:52
[b776b68ad9] part of check-in [be2570c061] Use (((i64)1)<<63) instead of just (1<<63) to compute the most negative 64-bit integer. (CVS 4131) (user: danielk1977 branch: trunk)
11:13
[b01ec63187] part of check-in [c6dfd9e434] Fix for #2444: Avoid SIGFPE on 64-bit platforms when evaluating expressions like ((1<<63)/-1). (CVS 4130) (user: danielk1977 branch: trunk)
00:37
[99f53a0aa8] part of check-in [96190cf13d] Change the name of sqlite3_atoi64 back to sqlite3Atoi64 so that it is clearly and internal API. Modify the amalgamation to use a macro SQLITE_PRIVATE instead of the keyword "static" so the macro can be overridden to by nothing. (CVS 4124) (user: drh branch: trunk)
2007-06-25
17:28
[251e012104] part of check-in [5b3a490649] Rework the string to integer conversion logic to address tickets #2344 and #2454. (CVS 4123) (user: drh branch: trunk)
2007-06-24
16:11
[81714b7df6] part of check-in [bc61dcbf64] Fix for #2451. Code comment changes only. (CVS 4114) (user: danielk1977 branch: trunk)
10:14
[0f4d3085e0] part of check-in [c666fad151] Make setting "PRAGMA auto_vacuum = incremental" persistent if it is executed before the database file is created. (CVS 4113) (user: danielk1977 branch: trunk)
08:00
[219cfe3955] part of check-in [1fb4251a70] Add the "(database.)freelist_count" PRAGMA. For querying the size of the database free-list. (CVS 4112) (user: danielk1977 branch: trunk)
2007-06-20
15:29
[a7407f045e] part of check-in [406675bb1c] Remove the dependency on libm for isnan(). Ticket #2436. (CVS 4103) (user: drh branch: trunk)
2007-06-15
14:53
[4f3e832183] part of check-in [115e19fe22] Fix for #2415. The progress handler should abandon only the current query, not all active queries. (CVS 4067) (user: danielk1977 branch: trunk)
2007-06-13
16:49
[2653777a2b] part of check-in [33454b5691] Have queries interrupted by the progress-handler return SQLITE_INTERRUPT. Rollback any active transaction if a DML statement returns SQLITE_INTERRUPT. (CVS 4061) (user: danielk1977 branch: trunk)
2007-06-07
19:08
[265d7061e9] part of check-in [f40218434e] Make sure zeroblob does reasonable things with a negative argument or an argument that is larger than the maximum blob size. (CVS 4048) (user: drh branch: trunk)
2007-05-23
06:31
[74a82e8dc0] part of check-in [6e19ef7582] Make sure zeroblob() works with the concatenation operator. Ticket #2379. (CVS 4028) (user: drh branch: trunk)
2007-05-17
16:38
[38e902e80e] part of check-in [ae644bc7aa] Bring the autoconf based build system up to date with the recent changes. #2366, #2367 and #2368. (CVS 4022) (user: danielk1977 branch: trunk)
2007-05-16
17:28
[51baf9ba77] part of check-in [93f811ec74] Change a few selected functions to macros to speed things up. (CVS 4015) (user: danielk1977 branch: trunk)
14:23
[d0f6042021] part of check-in [1d89be287d] Omit some extra code when OMIT_INCRBLOB is defined. (CVS 4014) (user: danielk1977 branch: trunk)
11:55
[55b1d46273] part of check-in [2ac985a380] Keep the full precision of integers if possible when casting to "numeric". Ticket #2364. (CVS 4012) (user: drh branch: trunk)
2007-05-12
12:08
[5deb4cdccd] part of check-in [c08658e1f8] Make the ANALYZE command robust in the face of malloc() failures. (CVS 3989) (user: drh branch: trunk)
2007-05-11
10:10
[8dcd02c2ee] part of check-in [4e1bb41f30] Expand the expressions tested by fuzz.test. Fix for (CAST zeroblob() AS text). (CVS 3983) (user: danielk1977 branch: trunk)
07:08
[d1be8d8605] part of check-in [ccef5d2daa] Fix a problem with inserting zeroblob() into an indexed column. (CVS 3982) (user: danielk1977 branch: trunk)
2007-05-10
21:14
[308c698ad9] part of check-in [a57afaff42] When converting literal BLOBs to text using the encoding of the main database. Ticket #2349. (CVS 3975) (user: drh branch: trunk)
17:32
[c0b1cd6c7d] part of check-in [1e8fcb3fbe] Add cases to fuzz.test. Some tests in this file fail at the moment. (CVS 3973) (user: danielk1977 branch: trunk)
17:23
[a2e2a5d6f9] part of check-in [ffe615a711] Add some UTF-8 test infrastructure. Treat NaN as NULL. The printf routines print infinity as "Inf" not as "NaN". Ticket #2345. (CVS 3972) (user: drh branch: trunk)
2007-05-08
20:59
[a24290221c] part of check-in [5a0fe98548] Disable tracing pragmas when not in debug mode. This eliminates an external dependency on stdout. (CVS 3959) (user: drh branch: trunk)
20:37
[4e4951b690] part of check-in [e9f56ead05] Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958) (user: drh branch: trunk)
13:57
[07f70528ed] part of check-in [2f186e916c] Avoid evaluating (INT_MIN/-1) with 32 bit signed numbers. It can cause SIGFPE. (CVS 3945) (user: danielk1977 branch: trunk)
12:12
[c942cb1882] part of check-in [031a5915b6] Begin adding code to explicitly limit the size of strings and blobs. (CVS 3943) (user: drh branch: trunk)
01:08
[a839d32a1b] 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) (user: drh branch: trunk)
2007-05-04
18:30
[725a808e9b] part of check-in [b13e497a32] Change incremental vacuum to be triggered by a pragma rather than a command. We have a lot to learn about this yet and we do not want to paint ourselves into a corner by commiting to specific syntax too early. (CVS 3921) (user: drh branch: trunk)
13:15
[74f348b125] 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) (user: drh branch: trunk)
2007-05-02
16:51
[a4abf744b5] part of check-in [83ab25014e] More fixes and improvements to the zeroblob() mechanism. (CVS 3900) (user: drh branch: trunk)
13:30
[bb1baa9a35] part of check-in [e6d560ddee] Add support for zero-blobs to the OP_MakeRecord opcode. First test cases of zeroblob functionality. (CVS 3897) (user: drh branch: trunk)
01:34
[8cc851ca1d] part of check-in [7a01836dde] Begin adding the zeroblob API to support incremental blob i/o. (CVS 3894) (user: drh branch: trunk)
2007-04-26
14:42
[a3cf3792fd] part of check-in [f6a6d2b887] Add largely untested code for the incremental vacuum function. (CVS 3876) (user: danielk1977 branch: trunk)
2007-04-18
16:45
[814dab208a] part of check-in [165dc72d70] The sqlite3_step() routine reports SQLITE_ERROR after a commit failure, not SQLITE_DONE. This fix only effects the legacy sqlite3_prepare() interface. It already worked correctly with sqlite3_prepare_v2(). (CVS 3854) (user: drh branch: trunk)
2007-04-17
08:32
[cf7808e8db] part of check-in [61c1d06d10] Avoid reloading the db schema after a failed OP_VerifyCookie if the in-memory schema cookie already matches the database file. (CVS 3849) (user: danielk1977 branch: trunk)
2007-04-16
15:06
[8f5faea02c] part of check-in [8d6c3bfc4d] Ensure sqlite3_finalize() can be called from within the xDisconnect() method of virtual tables. (CVS 3845) (user: danielk1977 branch: trunk)
2007-03-30
18:42
[87e31f0790] part of check-in [28c7ed1eb7] Fix a memory leak in multi-database commit. Also enhance a comment that explains why a particular valgrind error is harmless. (CVS 3771) (user: drh branch: trunk)
11:23
[d5a4fc1e18] part of check-in [6b995259bc] Remove the anonymous union from the sqlite3_value structure since some compilers are unable to deal with it. (CVS 3758) (user: drh branch: trunk)
2007-03-29
05:51
[e214ce8f76] part of check-in [ad4a6b1a91] Change BtreeMoveto so that it can be biased to the right or to the center. Use a right bias when appending and a center bias when searching. This gives about a 15% reduction in calls to sqlite3VdbeRecordCompare. (CVS 3741) (user: drh branch: trunk)
2007-03-28
14:30
[9fc4520600] part of check-in [26348556d8] Correctly handle NULLs in IN operators. Ticket #2273. The changes in where.c and in the WhereLevel.aInLoop structure are not strictly necessary to fix this problem - they just make the code easier to read. Only the change in OP_Next/OP_Prev operator of vdbe.c is required. (CVS 3735) (user: drh branch: trunk)
2007-03-27
14:44
[b68f3a8617] 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) (user: drh branch: trunk)
13:36
[b452ec53e3] part of check-in [c8a8a189a8] More strict aliasing fixes. The single source file library now runs successfully with -fstrict-alias. (CVS 3725) (user: drh branch: trunk)
2007-03-26
22:05
[df2aa8cf69] part of check-in [0b832e218e] Modify sources to that they can be combined into a single sqlite3.c source file. Eliminate all type-pruned pointer warnings. (CVS 3722) (user: drh branch: trunk)
2007-03-15
12:05
[19e244e554] part of check-in [760ebf8076] Catch an IO error code that was being ignored in OP_RowData. (CVS 3688) (user: danielk1977 branch: trunk)
2007-03-01
00:29
[596199e4be] part of check-in [ed915f579a] Additional I/O Tracing support. (CVS 3667) (user: drh branch: trunk)
2007-02-14
09:19
[21bde8cca9] part of check-in [cb78f7cb0f] Use OP_VColumn instead of OP_Column when querying virtual tables for values to save in aggregate context records. #2230. (CVS 3644) (user: danielk1977 branch: trunk)
2007-01-27
13:37
[b5a2ad31c1] part of check-in [3eec703beb] Fix a documentation comment in vdbe.c. Ticket #2188. (CVS 3611) (user: drh branch: trunk)
02:24
[31fe3e1e3c] part of check-in [d564a039f2] Limit the number of errors returned by PRAGMA integrity_check to 100 by default. Specify an alternative limit using an argument to the pragma. Ticket #2176. (CVS 3609) (user: drh branch: trunk)
2007-01-12
23:43
[4d54659b7d] part of check-in [87248470362f] Fix a bug in sqlite3_prepare_v2() introduced by checkin (3578) and reported on the mailing list. (CVS 3592) (user: drh branch: trunk)
2007-01-09
14:01
[074cda8114] part of check-in [43fe7fc1c3] When an automatic re-prepare occurs, take care not to reset the internal schema symbol table. Ticket #2156. This change also includes some debugging enhancements. (CVS 3578) (user: drh branch: trunk)
2007-01-05
16:39
[dcf6b17660] part of check-in [520f6583e3] Clear a compiler warning when compiling with -DSQLITE_OMIT_VIRTUALTABLE. (CVS 3566) (user: drh branch: trunk)
2007-01-04
01:20
[180ea84f80] part of check-in [1773eb7bad] Add a comment to vdbe.c to explain the use of an uninitialized variable. (CVS 3551) (user: drh branch: trunk)
2007-01-02
18:41
[15060804371a] part of check-in [bf1afd016a] Update the vtab_err test to check for -DSQLITE_MEMDEBUG=1 and skip the tests if missing. Pager is more careful to clear its file size cache. Remove an assert() in VDBE that might fail on a corrupt database file. (CVS 3547) (user: drh branch: trunk)
2006-12-20
14:53
[5a1624c73b] part of check-in [6fdbd3bc91] The xFilter method is not optional. (CVS 3539) (user: drh branch: trunk)
14:31
[b967a1692c] part of check-in [951af8d5c5] Initialize a variable to avoid compiler warnings and human confusion. Ticket #2117. (CVS 3538) (user: drh branch: trunk)
2006-10-28
00:28
[3e31f2e494] part of check-in [64762a9d58] Enhance the optimizer so that IS NULL can use an available index. (CVS 3494) (user: drh branch: trunk)
2006-10-27
14:06
[1d64351d52] part of check-in [4d336e9ef5] Changes directed toward optimizing IS NULL terms in WHERE clauses. (CVS 3492) (user: drh branch: trunk)
2006-10-24
11:26
[59100995da] part of check-in [46b91807f7] Fix a bad variable reference. The reference is actually in unreachable code and is therefore harmless. The fix is to remove the code. (CVS 3483) (user: drh branch: version_2)
2006-09-23
20:36
[84a9c0b0dd] part of check-in [dc797bf4fa] Be sure to ignore PRAGMA encoding pragmas if the encoding has already been set for a database. Ticket #1987. This patch also includes some cleanup of the schema parser and initialization logic. (CVS 3436) (user: drh branch: trunk)
2006-09-21
11:02
[39f775380f] part of check-in [7e618db457] Be more aggressive with the SQLITE_OMIT_VACUUM macro. Saves about 150 bytes of code space. (CVS 3432) (user: drh branch: trunk)
2006-09-02
20:57
[a77869949d] part of check-in [61148f4c36] Do not call the xDisconnect method on a virtual table while xUpdate is pending. Instead, defer the xDisconnect until after xUpdate completes. (CVS 3387) (user: drh branch: trunk)
2006-08-15
14:21
[24c2cc3b08] part of check-in [3ebedbb6f9] Tighten an assert (ticket #1920). Change to "sqlite3.h" from <sqlite3.h> on the sqlite3ext.h header (ticket #1916). Fix a bug in the test scripts. (CVS 3354) (user: drh branch: trunk)
2006-08-08
13:51
[3cea0b930a] part of check-in [76e4d41877] Remove most static and global variables from a pure build. There are still a number of static and global variables used for testing. (CVS 3342) (user: drh branch: trunk)
2006-07-26
13:43
[106bc6216f] part of check-in [e431131d47] More work toward getting sqlite3_interrupt() to work from separate threads. Ticket #1897. (CVS 3336) (user: drh branch: trunk)
01:39
[c209116525] part of check-in [35fd67d7a0] Initial attempt at making sqlite3_interrupt() work even when called from a separate thread. (CVS 3335) (user: drh branch: trunk)
2006-06-28
18:18
[3ffc96ec2e] part of check-in [60616496b7] Changes to get tests to pass with OMIT_VIRTUALTABLE. Ticket #1877. (CVS 3318) (user: drh branch: trunk)
2006-06-24
11:51
[77679f2e01] part of check-in [255aa9121a] A few more test cases to improve coverage of virtual table module related code. (CVS 3292) (user: danielk1977 branch: trunk)
2006-06-23
14:32
[294e2f35fb] part of check-in [a56bfa5604] Allow xDestroy methods to execute "DROP TABLE" statements. (CVS 3287) (user: danielk1977 branch: trunk)
11:34
[1e16fbc5ba] part of check-in [b56cc035f2] Fix some memory leaks that occur when malloc() fails. (CVS 3286) (user: danielk1977 branch: trunk)
08:05
[b4232a43e8] part of check-in [5d1d907189] Add tests and fixes for handling malloc() failures related to the virtual table feature. (CVS 3285) (user: danielk1977 branch: trunk)
2006-06-22
09:53
[2c36e0badc] part of check-in [51b729d9d9] Test the handling of errors in virtual table methods. (CVS 3284) (user: danielk1977 branch: trunk)
2006-06-16
21:13
[4b55bfea65] part of check-in [2119e7bf55] Rework the way UPDATE works for virtual tables. (CVS 3262) (user: drh branch: trunk)
16:08
[704940e7c0] part of check-in [6125140228e] Add code to invoke the virtual table transaction interface. Untested at this point. (CVS 3261) (user: danielk1977 branch: trunk)
06:17
[f17a90ab6c] part of check-in [afa39a4632] Arrange for sqlite3_last_insert_rowid() to work with virtual tables. (CVS 3259) (user: danielk1977 branch: trunk)
2006-06-15
07:29
[4a66e5815c] part of check-in [88fa510e4c] Simple tests and fixes for writing to virtual tables. (CVS 3252) (user: danielk1977 branch: trunk)
2006-06-14
19:00
[64427e4b08] part of check-in [32c97b884b] Added code to INSERT, DELETE and UPDATE virtual tables. The new code is mostly untested. (CVS 3248) (user: drh branch: trunk)
13:03
[337ef4045a] part of check-in [418f3ca84a] Add the opcode OP_VUpdate and replace the xInsert/xDelete members of sqlite3_module with xUpdate. (CVS 3242) (user: danielk1977 branch: trunk)
2006-06-13
23:51
[51f94a1f16] part of check-in [29199eeea4] The echo module test is now running. Added the tclvar module test but have not yet done anything with it. (CVS 3234) (user: drh branch: trunk)
15:00
[1d5ae83b71] part of check-in [7a3e97f76b] Add the tentative sqlite3_allocate_queryplan() API. (CVS 3228) (user: danielk1977 branch: trunk)
14:16
[e2d6072b36] part of check-in [0f4657ea69] Add simple tests for the xFilter and xBestIndex methods. (CVS 3227) (user: danielk1977 branch: trunk)
10:24
[1f68000f86] part of check-in [1f20e1832b] Add implementations for opcodes required for linear scans of virtual tables. (CVS 3223) (user: danielk1977 branch: trunk)
2006-06-12
21:59
[59cb0d8cd1] part of check-in [010965433140f] Added code to iterate through virtual tables. All regression tests pass but the new code is completely untested. (CVS 3219) (user: drh branch: trunk)
16:01
[7002df8e88] part of check-in [f0c7c8d12c] Add code to invoke the xDestroy method of a virtual table when it is dropped. (CVS 3218) (user: danielk1977 branch: trunk)
06:09
[5c77e8b57c] part of check-in [8ffbab79d5] Incremental work on parsing/storing and invoking the xCreate callback for virtual tables. (CVS 3212) (user: danielk1977 branch: trunk)
2006-06-11
23:41
[2547e931ba] part of check-in [898ec36b41] Progress toward CREATE VIRTUAL TABLE. Still not even close to working... (CVS 3211) (user: drh branch: trunk)
2006-06-03
18:04
[a4c970bd74] part of check-in [d54750aefb] Remove unused variables from vdbe.c. (CVS 3199) (user: drh branch: trunk)
2006-05-26
19:57
[b28d2da323] part of check-in [ffc4730c05] Allow SQL statements to be executed from within a progress callback. Be warned, however, that the progress callback might be called recursively in this case. It is up to the program to disable the progress callback to prevent recursive invocations. Ticket #1827. (CVS 3193) (user: drh branch: trunk)
2006-03-22
22:10
[a56ef5de6d] part of check-in [15e3b183bc] Get the build to run with -DSQLITE_OMIT_SHARED_CACHE. (CVS 3145) (user: drh branch: trunk)
2006-03-17
00:26
[dcc469dabe] part of check-in [f3fbe72733] Code and comment cleanup for the sorting optimization of the previous check-in. (CVS 3142) (user: drh branch: trunk)
00:04
[0d19124eeb] part of check-in [6b3717aeb4] Much faster sorting when there are a large number of columns in the result set. (CVS 3141) (user: drh branch: trunk)
2006-03-13
14:28
[2c687d8cf6] part of check-in [255fdbe6fa] Changes to get the Serialized Statement Extension working again. (CVS 3131) (user: drh branch: trunk)
2006-02-24
02:53
[5fb9d3e64e] part of check-in [4b22e4b847] Remove unused parameters on internal APIs. Suppress warnings from CodeWarrior. (CVS 3110) (user: drh branch: trunk)
2006-02-10
14:02
[0a7fd81609] part of check-in [9e82b92749] Clean up pointer misuse in vdbe.c. (CVS 3078) (user: drh branch: trunk)
2006-02-09
22:13
[c92d7a4d34] part of check-in [9e04f8fdf1] SUM never gives an error. An integer result is returned for exact results and a floating point result is returned for approximate results. Tickets #1664, #1669, and #1670. (CVS 3066) (user: drh branch: trunk)
2006-01-31
19:31
[29c68f39ce] part of check-in [b922c8e45f] Fix some pointless warnings from overly-pedantic compilers. (CVS 3048) (user: drh branch: trunk)
2006-01-30
15:34
[fee677e052] part of check-in [4cd4efaf5e] Expire all prepared statements whenever there is a change to the schema of the TEMP database. Ticket #1644. (CVS 3036) (user: drh branch: trunk)
2006-01-24
13:09
[799e6280ae] part of check-in [c30705a00d] Return code was being dropped because of overridden variable in OP_IsUnique. Fix this and the test logic problem that hid it. (CVS 3025) (user: danielk1977 branch: trunk)
12:09
[bda7131d98] 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) (user: danielk1977 branch: trunk)
2006-01-23
17:43
[484a724611] part of check-in [dfe2823868] Bug fix in the ROWID generation logic of the VDBE. I think this is a benign bug - it never causes a real fault. But I am not certain. (CVS 3008) (user: drh branch: trunk)
13:09
[1b50083eb9] part of check-in [6ec8e6b785] Improve coverage of pager.c and fix an IO error handling bug found in the process. (CVS 2995) (user: danielk1977 branch: trunk)
00:04
[e04bf3035a] part of check-in [a65e85f0e0] Remove vestiges of the older TSD code for handling OOM exceptions. Prepare for the release of 3.3.2. (CVS 2991) (user: drh branch: trunk)
2006-01-20
15:45
[9eceb866b8] part of check-in [fd4a6bb1ac] Fix and test the processing of sqlite3_result_error() withing aggregate functions. Allow errors to come from the step function (a new capability). Ticket #1632. (CVS 2981) (user: drh branch: trunk)
2006-01-18
18:22
[2a3d5ea76a] part of check-in [c7b9d50d0a] Include the ThreadData structure in internal malloc() testing. Also fixes for revealed bugs. (CVS 2974) (user: danielk1977 branch: trunk)
16:51
[5af32281e9] part of check-in [ac090f2ab3] Use a global variable protected by a mutex instead of thread-specific-data to record malloc() failures. (CVS 2972) (user: danielk1977 branch: trunk)
2006-01-16
15:14
[3db9bfc86e] part of check-in [0d5d83bcbd] Fix some of the issues raised in #1615. (CVS 2959) (user: danielk1977 branch: trunk)
2006-01-15
14:11
[4db1a9000e] part of check-in [69f996e0fa] Correctly set the length of the string in bytes when transforming an OP_String8 to OP_String in a utf-16 vdbe program. (CVS 2949) (user: danielk1977 branch: trunk)
2006-01-13
17:12
[bf64026224] part of check-in [2d74cc22de] Tweaks to make OP_Column run a fraction faster. (CVS 2941) (user: danielk1977 branch: trunk)
15:58
[e2f081425c] part of check-in [0de729d914] Avoid parsing an entire record header when it is not required. (CVS 2940) (user: danielk1977 branch: trunk)
06:33
[9e64780853] part of check-in [dd70595542] Minor modification to restoreOrClearCursorPosition() to improve efficiency. Do not allocate the extra 8-bytes if memory-management is not enabled. (CVS 2936) (user: danielk1977 branch: trunk)
01:48
[f77826242c] part of check-in [a64e8251a6] Add a high-speed version of sqlite3GetVarint32 to vdbe.c for a 3% performance gain. (CVS 2933) (user: drh branch: trunk)
2006-01-12
17:20
[59df15f963] part of check-in [6d2a816ede] Cache the encoding value inside VdbeExec. (CVS 2927) (user: drh branch: trunk)
01:25
[6312ac70c7] part of check-in [a8c74febec] Improve performance by about 10% by avoiding excess calls to get the thread-specific data. (CVS 2921) (user: drh branch: trunk)
2006-01-11
21:41
[db592ade9a] 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) (user: drh branch: trunk)
2006-01-10
19:45
[aa4360d28c] part of check-in [1cf6855430] More pedantic changes to comments in VDBE. No changes to code. Ticket #1596. (CVS 2908) (user: drh branch: trunk)
18:44
[8500eee6b7] part of check-in [511ac9db12] Fix opcode name in comments. No changes to code. (CVS 2907) (user: drh branch: trunk)
2006-01-09
16:12
[490b9b48a8] part of check-in [3e75d3d5ef] Fix some errors to do with attached databases and text encodings in shared-cache mode. (CVS 2895) (user: danielk1977 branch: trunk)
06:29
[ce31105fc9] part of check-in [82b81f69c7] Rename DbSchema to "Schema" and SqliteTsd to "ThreadData". (CVS 2893) (user: danielk1977 branch: trunk)
2006-01-08
18:10
[1aee0e9d41] part of check-in [b2ac0be07e] Get LIMIT and OFFSET working again for negative limits and offsets. Ticket #1586. (CVS 2889) (user: drh branch: trunk)
05:26
[21a1cb8500] part of check-in [41aef6496a] Remove some cruft from the VDBE. Bring comments up to date. (CVS 2888) (user: drh branch: trunk)
2006-01-07
18:48
[87a796e288] part of check-in [0ae461313c] Invalidate all VDBE cursor row caches in between calls to sqlite3_step() since the emphemeral content that those caches point to might change if the statement is READ UNCOMMITTED. (CVS 2886) (user: drh branch: trunk)
18:10
[b061779067] part of check-in [19f71a6d19] Make sure there is no ephemeral data on the stack before returning from an sqlite3_step() call. Otherwise, if the statement is in READ UNCOMMITTED mode then the data might be deleted or changed out from under us. (CVS 2884) (user: drh branch: trunk)
13:21
[9ff36ae788] part of check-in [23b587b05b] In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881) (user: danielk1977 branch: trunk)
2006-01-06
14:32
[61f37ba6f3] part of check-in [2529c2e11f] Change the OS interface layer to use traditional direct function call implementations instead of the more complicated virtual function table. Omit the asynchronous I/O demo. (CVS 2870) (user: drh branch: trunk)
2006-01-05
23:42
[4dab34666e] part of check-in [448b3b9ded] Disable the update hook for the truncation optimization used by DELETE. (CVS 2863) (user: drh branch: trunk)
11:34
[ad844cc360] part of check-in [deeda0dc06] Add the shared schema/pager modifications. Very few tests so far. (CVS 2859) (user: danielk1977 branch: trunk)
2006-01-03
15:16
[99bfdfda01] part of check-in [837dc77ff9] Always case 0 to (char*) on varargs functions. Otherwise there are problems on 64-bit machines. (CVS 2854) (user: drh branch: trunk)
2005-12-29
19:23
[8b0d676bcd] part of check-in [ae301db8a6] Add serial-types 8 and 9 for integer constants of 0 and 1 that use zero bytes of storage. Make the default file format 4. Add the SQLITE_DEFAULT_FILE_FORMAT compile-time option to lower the default file format number so that newly created databases can be read and written by older versions of SQLite. (CVS 2845) (user: drh branch: trunk)
2005-12-21
18:36
[c04d2e517e] part of check-in [5638a11ed5] Bug fixes and additional testing of descending indices. (CVS 2841) (user: drh branch: trunk)
14:43
[ac5789b1d9] part of check-in [7064433e5b] Basic functionality for descending indices is in place. Lots more testing needed. (CVS 2840) (user: drh branch: trunk)
2005-12-16
15:24
[09aaed71f0] part of check-in [83c8ae5bee] Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824) (user: danielk1977 branch: trunk)
2005-12-15
15:22
[a9acffc91d] part of check-in [36229018817e] Add the sqlite3_update_hook() API. (CVS 2820) (user: danielk1977 branch: trunk)
2005-12-09
20:02
[d09c185f4b] part of check-in [83a5915155] Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810) (user: drh branch: trunk)
14:25
[4f78f1fe3b] part of check-in [601c335463] Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808) (user: danielk1977 branch: trunk)
2005-12-06
12:52
[7f4a2affee] 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) (user: danielk1977 branch: trunk)
2005-11-30
03:20
[91b9127244] part of check-in [bd8740d1ae] Restructure the OS interface yet again. This time make the OsFile object a virtual base class which is subclassed for unix, windows, and the crash test simulator. Add the new file "os.c" for common os layer code. Move all OS-specific routines into the sqlite3Os structure. (CVS 2795) (user: drh branch: trunk)
2005-11-26
00:25
[88a85e6815] part of check-in [1f69aec285] Modify the OS layer so that I/O routines are called through a virtual function table. The os_test.c module has been replaced by test6.c. The crash tests are busted now and need to be fixed. (CVS 2785) (user: drh branch: trunk)
2005-11-24
14:34
[f90a0fff5d] part of check-in [786e23b295] Comment changes. No changes to code. (CVS 2775) (user: drh branch: trunk)
2005-11-16
04:34
[3b73d37dc1] part of check-in [2e195e96bc] Avoid unnecessary strlen() calls in the OP_String opcode. (CVS 2768) (user: drh branch: trunk)
2005-11-15
02:14
[c4ff8b6ccf] part of check-in [25fa16a2e1] Fix a bug in UTF-16 handling introduced by the previous check-in. (CVS 2767) (user: drh branch: trunk)
2005-11-14
22:29
[afbfb3433b] part of check-in [ce06c123d0] Create separate affinities for INTEGER and REAL. (CVS 2766) (user: drh branch: trunk)
2005-11-01
15:48
[e83de8a017] part of check-in [e0d6f61c7d] Omit the SQLITE_AFF_INTEGER type affinity. All numeric values are now of type real, though an integer representation is still sometimes used internally for efficiency. (CVS 2753) (user: drh branch: trunk)
2005-10-29
15:48
[12cbad0abf] part of check-in [0d3357b5f6] Fix the shift operators so that they work with 64-bit quantities. (CVS 2752) (user: drh branch: trunk)
2005-10-20
07:28
[2a660920b0] part of check-in [e261b8b09a] Changes to prevent various compiler warnings. (CVS 2750) (user: drh branch: trunk)
2005-10-06
16:53
[c9aca7cc6d] part of check-in [edca8913ca] More efficient handling of the LIMIT clause. Scalar subqueries and EXISTS on compound SELECT statements now working properly. Ticket #1473. (CVS 2747) (user: drh branch: trunk)
2005-09-20
17:42
[3f1adcf453] part of check-in [2471957fee] Code cleanup and simplification. Three new Mem opcodes added. The sqlite3VdbeJumpHere function added. (CVS 2730) (user: drh branch: trunk)
13:55
[ae89c05fa7] part of check-in [f22d0f64a0] Cleanup the implementation and the documentation of the new 0x200 P1 flag on the VDBE comparison operands. (CVS 2729) (user: drh branch: trunk)
13:12
[2a5c9474c9] part of check-in [d9b0c97053] NULLs compare equal to each other when computing GROUP BY categories. (CVS 2728) (user: drh branch: trunk)
2005-09-17
15:20
[de007d59f0] part of check-in [c07330000b] Changes to make corruption errors easier to track down. (CVS 2709) (user: drh branch: trunk)
2005-09-16
02:38
[3cbb9bb5ab] part of check-in [4686d64975] Fix a whole host of newly discovered memory leaks the occur after a failure of realloc(). (CVS 2696) (user: drh branch: trunk)
2005-09-10
16:46
[7b20b81b26] part of check-in [986efb7b12] Add the experimental EXPLAIN QUERY PLAN diagnostic capability. (CVS 2685) (user: drh branch: trunk)
2005-09-08
14:17
[f722fbaf81] part of check-in [cdfe372a95] Remove a few unused variables detected by Borland C. Ticket #1412. (CVS 2675) (user: drh branch: trunk)
2005-09-07
23:05
[1caa733959] part of check-in [a1b6d910cd] More bug fixes. All of the "quick" tests pass. The full test suite still shows problems. (CVS 2665) (user: drh branch: trunk)
22:09
[71b0c1e63d] part of check-in [c3ac58592f] Bug fixes in aggregate processing. Fewer tests fail. (CVS 2663) (user: drh branch: trunk)
21:22
[e774761b45] part of check-in [17039ec3ff] Rewrite the aggregate handling logic so that it runs in O(1) space. This is the first cut at the code. Many regression tests fail. (CVS 2662) (user: drh branch: trunk)
2005-09-06
20:36
[5f0ed87252] part of check-in [7ecf3654aa] Cleanup the processing of MEM_Agg elements. (CVS 2660) (user: drh branch: trunk)
2005-09-01
12:16
[efde23f882] part of check-in [81259a01f1] All regression tests now pass with the new bounded-memory sort code. There is still lots of opportunity for optimization, however. (CVS 2654) (user: drh branch: trunk)
03:07
[70e2dd078b] part of check-in [09db0a2424] Sorting is now done using a sorting index rather than loading the entire result set into memory and doing a merge sort. The old merge sort technique was a carry-over from SQLite version 1. The new method uses a bounded amount of memory and scales to much larger result sets. There are still errors: some 39 regression tests fail. (CVS 2653) (user: drh branch: trunk)
2005-07-28
20:51
[69f33e22c7] part of check-in [4b02703dec] Test cases and tuning of the new optimizer code. (CVS 2567) (user: drh branch: trunk)
2005-07-23
03:18
[0145d877d0] part of check-in [1996bacfb9] The results of ANALYZE are now loaded into internal data structures where they can be used. But they are not actually used yet. (CVS 2562) (user: drh branch: trunk)
2005-07-21
18:23
[aa8b8d30aa] part of check-in [e2f822ac82] Split the OP_Integer opcode into OP_Integer and OP_Int64. This allows comments to be added to OP_Integer. Cleanup in the optimizer. Allow terms of the FROM clause to be reordered automatically. (CVS 2556) (user: drh branch: trunk)
2005-07-09
02:16
[7b41a1979d] part of check-in [af2a0ba4a3] Make sure there is only one busy counter. Ticket #1315. (CVS 2543) (user: drh branch: trunk)
2005-07-08
17:13
[971e08e918] part of check-in [3bb9ce5f20] Change the name of the OpenTemp opcode to OpenVirtual which is more descriptive of what it does. (CVS 2541) (user: drh branch: trunk)
13:08
[87dda3fc21] part of check-in [94c120bb78] Replace OP_List with OP_Fifo. This is the first step toward allowing recursive delete triggers and later foreign keys with cascading deletes. (CVS 2538) (user: drh branch: trunk)
2005-06-25
18:42
[56e892e351] part of check-in [17631785f9] Remove the blob(), text() and numeric() functions added in (2524) and replace them with the standard CAST operator. Ticket #1287. (CVS 2527) (user: drh branch: trunk)
2005-06-24
03:53
[5c1f7ccd6a] part of check-in [06a71b162b] NULL values in a row of a unique index cause the row to be distinct. Ticket #1301. More testing and optimization needs to be done on this before closing the ticket. (CVS 2526) (user: drh branch: trunk)
2005-06-22
02:36
[4745b575d9] part of check-in [60f752ed18] Fix a bug in an assert found while investigating ticket #1287 but otherwise unrelated to that problem. (CVS 2522) (user: drh branch: trunk)
2005-06-12
21:35
[c2511f3925] part of check-in [36f2da1f8d] Update older opcode names to be more meaningful in light of the latest code design. (CVS 2506) (user: drh branch: trunk)
12:01
[77c53143c3] part of check-in [97b348a5ad] Elminiate a VM opcode that was no longer needed. (CVS 2505) (user: drh branch: trunk)
2005-06-06
17:27
[e9bf69b2ba] part of check-in [0f7af62379] Any non-zero value is considered TRUE in a WHERE clause. Ticket #1211. (CVS 2496) (user: drh branch: trunk)
2005-05-26
14:41
[15b12cdaeb] part of check-in [7f67b9f0f3] If SSE is enabled, set the P1 field of OP_AggInit instructions to the number of arguments that will be passed to the aggregate function. (CVS 2484) (user: danielk1977 branch: trunk)
2005-04-01
10:47
[d2574042c4] part of check-in [e8391491a6] Make the ORDER BY clause return equal elements in the same order they were seen (a stable sort). It was returning them in exactly the reverse order. (CVS 2439) (user: drh branch: trunk)
2005-03-31
18:40
[8fa7934226] part of check-in [1d04c2ab29] Make sure integer primary keys larger than 2^31 are handled properly. Ticket #1188. (CVS 2436) (user: drh branch: trunk)
2005-03-29
13:07
[cb70131987] part of check-in [7e54d3c728] Change 'stack' to the more descriptive 'no-push' in vdbe.c. (CVS 2429) (user: danielk1977 branch: trunk)
08:26
[68c8f34cbf] part of check-in [7d6818da33] Reduce the space allocated for the runtime virtual machine stack. (CVS 2428) (user: danielk1977 branch: trunk)
03:10
[e93a28aaa2] part of check-in [c41d55443c] Add the SQLITE_OMIT_TEMPDB compile time macro. (CVS 2427) (user: danielk1977 branch: trunk)
2005-03-21
03:53
[c7973dc0ab] part of check-in [e7844a01c2] Assorted fixes to the handling of various malloc() failures. (CVS 2413) (user: danielk1977 branch: trunk)
2005-03-17
03:52
[086e4b42d5] part of check-in [3f45cf3516] Strengthen an assert() in vdbe.c. (CVS 2391) (user: drh branch: trunk)
03:15
[c35e65da49] part of check-in [bf82a04ff7] Fix a bug in the calculation of the table record header size. Ticket #1163. (CVS 2389) (user: drh branch: trunk)
2005-03-09
12:26
[1bf34fb915] part of check-in [9d5abc1ddf] Support for a future ALTER TABLE command to add columns with default values. (CVS 2367) (user: danielk1977 branch: trunk)
2005-02-19
08:18
[26b085c3a6] part of check-in [173aeb256e] Support for a future file format that includes 'short' records. (CVS 2351) (user: danielk1977 branch: trunk)
2005-02-17
00:03
[40de3ba927] part of check-in [c5366deaf5] Compile-time option to limit the size of AUTOINCREMENT rowids to 32-bits. (CVS 2349) (user: drh branch: trunk)
2005-02-08
07:50
[d9ec62c9f6] part of check-in [f0d3ca10c5] Fix for correlated subqueries where the parent is an aggregate. Ticket #1105. (CVS 2318) (user: danielk1977 branch: trunk)
2005-02-05
12:48
[5acf43749f] part of check-in [515e5033a5] Allow expressions (including variables) in LIMIT and OFFSET clauses. Ticket #1096. (CVS 2316) (user: danielk1977 branch: trunk)
06:49
[d2c29d2ada] part of check-in [6d91a1e91b] Detect database corruption in rootpage flags (see also (2313)). (CVS 2314) (user: danielk1977 branch: trunk)
2005-02-04
21:13
[ce4dea911a] part of check-in [9fc0a5cbf8] Detect and report a subtle case of database file corruption. (CVS 2313) (user: drh branch: trunk)
04:07
[b3e920b1df] part of check-in [2eb9087055] Remove code for SQL cursors. (CVS 2312) (user: danielk1977 branch: trunk)
2005-01-29
08:32
[84ccc6be09] part of check-in [b1b50f3158] Modify sub-query handling. Tickets #1083 and #1084. (CVS 2286) (user: danielk1977 branch: trunk)
2005-01-27
00:33
[8e877a9cdc] part of check-in [e4b5c16858] More changes to improve propagation of SQLITE_CORRUPT errors. (CVS 2282) (user: drh branch: trunk)
2005-01-26
21:55
[2f2fc0c785] part of check-in [2c54aba5ba] Propagate detected database corruption up through the call stack. (CVS 2279) (user: drh branch: trunk)
2005-01-24
10:25
[4fb54fd01c] part of check-in [d5233e0747] Modifications and bugfixes so that the test suite passes with the TCL statement cache turned on. (CVS 2271) (user: danielk1977 branch: trunk)
2005-01-21
08:13
[a5db9e8c1a] part of check-in [c6fc49e610] Exclude a few more lines of code using OMIT macros. (CVS 2253) (user: danielk1977 branch: trunk)
2005-01-20
22:48
[37afd35d6d] part of check-in [38401dfbd5] Bug fixes and enhancements entered while on jury recess. (CVS 2246) (user: drh branch: trunk)
2005-01-17
03:40
[c5a711f146] part of check-in [1edfdcbf14] Fix a memory leak that occurs as a result of an IO error. (CVS 2224) (user: danielk1977 branch: trunk)
2005-01-12
09:10
[a89bb4eefa] part of check-in [2b3e21ce2e] Tests to improve coverage of vdbeaux.c. (CVS 2201) (user: danielk1977 branch: trunk)
07:15
[b8e619fbaa] part of check-in [319bb4a906] Tests to improve coverage of vdbemem.c. (CVS 2200) (user: danielk1977 branch: trunk)
2005-01-11
13:02
[8ef389f567] part of check-in [a6b4572207] Test cases to improve coverage of vdbe.c. (CVS 2193) (user: danielk1977 branch: trunk)
11:08
[f20455da51] part of check-in [ce8e4e885a] Remove a C++ style comment that went in with the previous commit. (CVS 2192) (user: danielk1977 branch: trunk)
10:25
[c9f00cc029] part of check-in [8ced491588] Test cases to improve coverage of btree.c (and minor bugfixes). (CVS 2190) (user: danielk1977 branch: trunk)
2005-01-10
12:59
[53520958a7] part of check-in [a461988661] Extra test cases to improve coverage of btree.c (CVS 2189) (user: danielk1977 branch: trunk)
2005-01-07
01:56
[789e3c986f] part of check-in [bf14387697] Remove incorrect assert() and add extra option to account for non-standard 'sort' program in some linux versions. (CVS 2179) (user: danielk1977 branch: trunk)
2004-12-25
01:03
[40ab8e30ec] part of check-in [5fd1f47118] Fix ticket #1046 by removing code and simplifying the query optimizer. Remarkably, this simplification also makes the optimizer do a better job. Ticket #1051 was fixed as a side-effect. (CVS 2172) (user: drh branch: trunk)
2004-12-19
00:11
[caeb3f88d9] part of check-in [e5aa489453] The optimizer now uses only the index and ignores the table if it can get away with doing so, thus saving a single BTree search per row of result. This could potentially double the speed of certain queries. The code passes all regression tests but new tests to exercise the new functionality are yet to be added. (CVS 2170) (user: drh branch: trunk)
2004-12-07
14:06
[aaec606fb5] part of check-in [8e164ab277] Simplify the trigger logic for DELETE, INSERT, and UPDATE. (CVS 2157) (user: drh branch: trunk)
12:29
[fb9260cd92] part of check-in [7b20f2b71f] Remove the unused sqlite3_context.isStep element. (CVS 2156) (user: drh branch: trunk)
2004-11-23
01:47
[b6caad985b] part of check-in [8b61d1ae1c] More work on the implementation of cursors, but they are still not functioning. (CVS 2142) (user: drh branch: trunk)
2004-11-18
02:10
[ba3a920731] part of check-in [c93a9e18d2] Fix an obsolete comment that resulted in incorrect documentation. Ticket #1003. (CVS 2109) (user: drh branch: trunk)
2004-11-15
23:42
[aba1ca8278] part of check-in [33c9b647aa] Fix a typo in the header comment to the MakeRecord opcode so that the documentation generator will actually see the opcode description. Ticket #1001. (CVS 2102) (user: drh branch: trunk)
2004-11-14
21:56
[ab76044e19] part of check-in [98c7a55478] The SQLITE_OMIT_UTF16 macro now removes lots of code and all tests still pass. (CVS 2100) (user: drh branch: trunk)
2004-11-13
03:48
[312df85707] part of check-in [10c712a219] Autoincrement is now working and has regression tests. (CVS 2095) (user: drh branch: trunk)
2004-11-12
03:56
[0fd9437a28] part of check-in [8fde833c81] Autoincrement code installed. Simple smoke-testing only. No regression tests developed yet. (CVS 2091) (user: drh branch: trunk)
2004-11-10
11:55
[8bc549adf5] part of check-in [8e5c2e5df8] Ensure tables cannot be created/dropped when btree cursors are open. (CVS 2085) (user: danielk1977 branch: trunk)
2004-11-05
00:43
[b324acdaff] part of check-in [10c3d88305] Incremental check-in of changes that will ultimately lead to a working autoincrement. (CVS 2056) (user: drh branch: trunk)
2004-11-04
14:30
[cf7eb35b5a] part of check-in [1da361fae8] Support root-page allocation/deallocation in auto-vacuum databases. Still a few problems. (CVS 2054) (user: danielk1977 branch: trunk)
2004-11-03
16:27
[a156e1a2f3] part of check-in [b11fc9b3f3] Update tests to work even if some features of the library are disabled. (CVS 2050) (user: drh branch: trunk)
13:59
[c68b1e2b93] part of check-in [a82980fd70] More work on optionally removing unused features at compile-time. (CVS 2049) (user: drh branch: trunk)
2004-10-31
02:22
[253beaae66] part of check-in [be661acfa8] Insert #ifdefs that can optionally remove features at compiletime resulting in a database engine with a smaller footprint. (CVS 2034) (user: drh branch: trunk)
2004-10-19
16:40
[adbcdbc817] part of check-in [370ca53950] Reinsert code deleted by (1998) that we thought was unused but was in fact needed. Fix for ticket #966. (CVS 2025) (user: drh branch: trunk)
2004-10-06
15:41
[02fd01b718] part of check-in [d790c84c5a] Convert many constants to have type "const". (CVS 2006) (user: drh branch: trunk)
2004-10-05
02:41
[f7ebf1a20a] part of check-in [81ff8107ad] Add support for DEFERRED, IMMEDIATE, and EXCLUSIVE transactions. (CVS 2000) (user: drh branch: trunk)
2004-10-04
13:19
[49d4bda668] part of check-in [4c817e3f29] Save about 800 bytes of code space by aligning TK_ and OP_ constants so that we do not have to translate between them. (CVS 1998) (user: drh branch: trunk)
2004-10-01
15:11
[f78a26f5bb] part of check-in [bf90799d88] Fix for ticket #905. (CVS 1995) (user: drh branch: version_2)
2004-09-19
00:50
[0542852785220807f] part of check-in [eb9b501ad8] Merge the ListPush and ListPop VDBE opcodes into ContextPush and ContextPop. (CVS 1972) (user: drh branch: trunk)
2004-09-06
17:24
[b19de04c57] 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) (user: drh branch: trunk)
2004-09-02
14:57
[45f659497b] part of check-in [d1b2915655] Transactions commit on the last sqlite3_step(), not on sqlite3_finalize(). This allows the sqlite3_step() to return SQLITE_BUSY if the commit is blocked by a lock. Ticket #885. (CVS 1928) (user: drh branch: trunk)
2004-08-31
13:45
[28b0ea2a8c] part of check-in [8fd65e7048] Simplifications and optimizations. Also: disable the corrupt.test for now. (CVS 1924) (user: drh branch: trunk)
2004-08-29
17:30
[bc7717be59] part of check-in [988cb064ab] Back out an optimization that was causing problems in UTF-16 databases. (CVS 1913) (user: drh branch: trunk)
2004-08-28
18:17
[28a48fcee3] part of check-in [5f8d246852] Memory handling fixes and optimizations in the VDBE. Ticket #862. (CVS 1909) (user: drh branch: trunk)
2004-08-21
17:54
[ea662188cc] part of check-in [bd6649c5aa] Optimizations to the code generator. (CVS 1899) (user: drh branch: trunk)
2004-08-08
23:39
[281af7f601] part of check-in [81d91d14cf] Fix problems in the handling of malloc failures. (CVS 1882) (user: drh branch: trunk)
2004-08-07
23:54
[6eb69df6de] part of check-in [d33771a303] Do not invoke the busy callback when trying to promote a lock from SHARED to RESERVED. This avoids a deadlock. (CVS 1879) (user: drh branch: trunk)
2004-07-24
17:38
[f40f4ca4d9] part of check-in [ebdb661e0e] Prepared statements now work with CREATE and DROP. All tests pass. No memory leaks. (CVS 1866) (user: drh branch: trunk)
14:35
[cad659a06b] part of check-in [6db3f122aa] Fix more problems with deferred execution of CREATE. Still need to do DROP. There is now a memory leak. (CVS 1865) (user: drh branch: trunk)
03:30
[5d35f08682] part of check-in [49b9914924] Progress towards getting prepared statements and CREATE and DROP to play nicely together. Work is incomplete. Some tests are known to fail. (CVS 1864) (user: drh branch: trunk)
2004-07-21
02:53
[5a7d1ee9d7] part of check-in [65c3af74c1] Minor coding enhancements. (CVS 1839) (user: drh branch: trunk)
2004-07-19
19:30
[4b35f2c1a5] part of check-in [0cc612f8aa] Fix for ticket #813. (CVS 1820) (user: drh branch: version_2)
17:25
[a88514694b] part of check-in [c6c13dc460] Store schema cookies on the TEMP database. Ticket #807. (CVS 1817) (user: drh branch: trunk)
2004-07-18
21:33
[efda404921] part of check-in [b6e8b7a13c] An improved fix for the min() problem of ticket #800. (CVS 1804) (user: drh branch: trunk)
2004-06-30
23:04
[ed98f1d70b] part of check-in [2010ed8040] Omit the "LL" literal qualifier as it causes problems for some compilers. (CVS 1789) (user: drh branch: trunk)
11:41
[4e756ef91c] part of check-in [42553001954356c] Add the crashtest target to Makefile.in. Add LL suffix to long long constants in the vdbe. Comment changes to vdbeaux.c. (CVS 1780) (user: drh branch: trunk)
09:49
[4629151c99] part of check-in [152e9940b9] Coverage tests for vacuum.c (CVS 1776) (user: danielk1977 branch: trunk)
06:30
[6950e25d93] part of check-in [d256c14943] Add some tests for overlapping SELECT, COMMIT and ROLLBACK commands. (CVS 1774) (user: danielk1977 branch: trunk)
02:43
[32039b0870] part of check-in [e5e3976403] Allow strings that look like integers to be inserted into IPK columns in a UTF-16 database. (CVS 1771) (user: danielk1977 branch: trunk)
02:35
[b1a0357089] part of check-in [6c5c11e07e] Minor fixes for UTF-16 databases. (CVS 1770) (user: danielk1977 branch: trunk)
2004-06-29
13:54
[aa0339933c] part of check-in [76e0b74961] Fix TRACE7 in os_common.h. (CVS 1765) (user: drh branch: trunk)
2004-06-28
13:09
[dc9d25cb8d] part of check-in [332921041040b] More coverage testing. (CVS 1754) (user: danielk1977 branch: trunk)
01:11
[5a381d4a4c] part of check-in [fae7c6e004] Fix a bunch of harmless warnings. (CVS 1749) (user: danielk1977 branch: trunk)
00:17
[5125bfa987] part of check-in [e28d42cb5e] Fix a seg-fault caused by a malloc() failure. (CVS 1748) (user: danielk1977 branch: trunk)
2004-06-27
01:56
[b750a731c9] part of check-in [ad65c6e24e] Fix a bug in the handling of Mems inside of vdbe.c. (CVS 1745) (user: drh branch: trunk)
2004-06-26
08:38
[423b55e655] part of check-in [4e20720984] Remove the 'nMaster' argument from various pager and btree functions. (CVS 1737) (user: danielk1977 branch: trunk)
2004-06-22
22:54
[0d8f2fea38] part of check-in [cb4e242e83] Fix another uninitialized Mem.xDel problem. (CVS 1672) (user: drh branch: trunk)
17:59
[a6b9eaacea] part of check-in [d333ac8002] Make sure the result of a user-defined function uses the text encoding of the database. (CVS 1670) (user: drh branch: trunk)
13:22
[4fd24e0308] part of check-in [80151e7281] Fix some segfaults that could have occurred after a malloc() failure. (CVS 1661) (user: drh branch: trunk)
2004-06-21
11:30
[5da73f6101] part of check-in [84d6354fce] Remove unused OP_UtfXX opcodes. (CVS 1650) (user: danielk1977 branch: trunk)
10:45
[206ac8aa50] part of check-in [4d02df6349] Avoid opening a temp table for aggregate queries with no GROUP BY clause. (CVS 1649) (user: danielk1977 branch: trunk)
09:06
[78d675c104] part of check-in [bbd3e93348] Add the OP_Concat8 opcode, similar in concept to OP_String8. (CVS 1648) (user: danielk1977 branch: trunk)
06:50
[d8e533a537] part of check-in [ae2f4a0943] Update sqlite3_changes() to match the documentation and add sqlite3_total_changes(). (CVS 1645) (user: danielk1977 branch: trunk)
2004-06-19
15:40
[3931b2e4df] part of check-in [70680a34b4] Clear up another zero-length array. This seems to fix the segfault in func-13.4 too. (CVS 1641) (user: drh branch: trunk)
09:35
[324ad6157f] part of check-in [c94a9759ca] Remove the unused 'next_cookie' mechanism. (CVS 1634) (user: danielk1977 branch: trunk)
2004-06-18
04:24
[2a0e908e46] part of check-in [39a415eaa6] Optimisation for unicode encoding conversion routines. (CVS 1614) (user: danielk1977 branch: trunk)
2004-06-17
07:53
[22dcf0e98c] part of check-in [a71a9ff114] Remove redundant opcodes OP_MakeKey and OP_MakeIdxKey. (CVS 1612) (user: danielk1977 branch: trunk)
2004-06-16
12:02
[35ae18345a] part of check-in [b3d5ad6f78] Trivial modifications to prevent compiler warnings. (CVS 1608) (user: danielk1977 branch: trunk)
10:39
[fc94f84e43] part of check-in [b739ef2a1b] Fix handling of a failed malloc() in various places (CVS 1605) (user: danielk1977 branch: trunk)
2004-06-15
16:51
[208705994c] part of check-in [07b90f3690] Assorted memory leak fixes. (CVS 1600) (user: danielk1977 branch: trunk)
13:36
[6f022fdf6f] part of check-in [59db58ebd3] Memory leak fixes for tests in file select1.test. (CVS 1599) (user: danielk1977 branch: trunk)
11:40
[adf618cd90] part of check-in [e21a181376] Minor bugfixes and test case adjustments for version 2 test cases to work with version 3. (CVS 1598) (user: danielk1977 branch: trunk)
2004-06-14
13:14
[afbffe8d23] part of check-in [4cfc5a36e9] Schema modifications are committed internally when a statement transaction is committed. (CVS 1592) (user: danielk1977 branch: trunk)
05:10
[e6b6702fb2] part of check-in [4649abcbfd] Update the file change counter just before each transaction is committed. (CVS 1582) (user: danielk1977 branch: trunk)
2004-06-12
20:12
[c71e47262d] part of check-in [e42316f570] Speed up in the handling of VDBE cursors. (CVS 1578) (user: drh branch: trunk)
18:12
[9f941bbdf0] part of check-in [f687977a28] Improve the speed of OP_Column through better caching. (CVS 1577) (user: drh branch: trunk)
09:25
[026b78bc40] part of check-in [5903f53828] (1) Modifications to the user-function interface and (2) Internal changes to automatically created indices. (CVS 1575) (user: danielk1977 branch: trunk)
01:43
[230613d752] part of check-in [4f1cfca5ca] Change prototype for busy callbacks to "int xBusy(void *, int);" (CVS 1573) (user: danielk1977 branch: trunk)
00:42
[73b2c3d0de] part of check-in [9b84f2f488] Use the SQLITE_UTF* symbols instead of the old internal TEXT_Utf* symbols. (CVS 1572) (user: danielk1977 branch: trunk)
2004-06-11
13:19
[56a97efece] part of check-in [8d56118f64] Have the vdbe aggregator use a btree table instead of a hash table. (CVS 1569) (user: danielk1977 branch: trunk)
10:51
[688ae43191] part of check-in [66835ee670] Fix various collation sequence issues. (CVS 1568) (user: danielk1977 branch: trunk)
2004-06-09
21:01
[90e0e6bdbd] part of check-in [39b4ba95c4] If a commit fails due to lock contention right after the COMMIT command, take the database back out of autocommit mode. Do not rollback. This gives the user the chance to try the COMMIT again. (CVS 1551) (user: drh branch: trunk)
20:03
[5896c7462a] part of check-in [3674b25edc] Turn on the atomic multifile commit logic. It does not work right yet, but it has at least stopped failing asserts. (CVS 1550) (user: drh branch: trunk)
09:55
[fec13be8b6] part of check-in [c634e71f19] Some progress on user-defined collation sequences. (CVS 1544) (user: danielk1977 branch: trunk)
00:48
[3ffa1effb5] part of check-in [1086196460e] Start all transactions and verify all schema cookies near the beginning of of each vdbe program. (CVS 1543) (user: drh branch: trunk)
2004-06-06
09:44
[392c6b02c5] part of check-in [92337d8f79] Enhance user function API to support association of meta-data with constant arguments and the specification of text encoding preference. The LIKE operator takes advantage of both. (CVS 1534) (user: danielk1977 branch: trunk)
2004-06-05
10:22
[7f270f9a88] part of check-in [c2899b4373] Add the sqlite3_set_auxdata() and sqlite3_get_auxdata() APIs. (CVS 1532) (user: danielk1977 branch: trunk)
2004-06-04
06:22
[e1e6234721] part of check-in [ff70b6d2b6] Move the 'busy-callback' logic to the pager layer. (CVS 1527) (user: danielk1977 branch: trunk)
2004-06-03
16:08
[2cf1376f23] part of check-in [d57e5252c8] Untested updates to support atomic multi-file transactions (CVS 1526) (user: danielk1977 branch: trunk)
2004-06-02
01:22
[4ce596ee57] part of check-in [165d69a04c] Work toward combining the OP_MakeKey, OP_MakeIdxKey, and OP_MakeRecord opcodes into one. The work is incomplete. (CVS 1524) (user: drh branch: trunk)
2004-05-31
23:56
[cc754eddc0] part of check-in [af8e2006d8] Remove the sqlite3_error_string() API. (CVS 1514) (user: danielk1977 branch: trunk)
18:51
[bff63e4fe2] part of check-in [adf7e29ff6] Change all SQLITE3 preprocessor macros to SQLITE. Documentation updates. (CVS 1511) (user: drh branch: trunk)
10:01
[fdb990a681] part of check-in [6b43633a96] Add read-transactions to the btree and vdbe. The compiler doesn't invoke them yet. (CVS 1502) (user: danielk1977 branch: trunk)
08:26
[3cc9b3ab6c] part of check-in [b8ed812c92] Replace OP_Begin, OP_Commit and OP_Rollback with OP_AutoCommit. (CVS 1500) (user: danielk1977 branch: trunk)
2004-05-30
21:14
[8c99c3c1e4] part of check-in [e6685af815] Add 3-byte and 6-byte integer serial types. This makes databases smaller and faster. Should we go ahead and add 5- and 7-byte integer types too? (CVS 1499) (user: drh branch: trunk)
20:46
[a2131f7846] part of check-in [a0db15bba6] Various speed enhancements. (CVS 1498) (user: drh branch: trunk)
02:14
[61ac9d1927] part of check-in [a90264c0a4] Additional minor speed improvements. (CVS 1496) (user: drh branch: trunk)
2004-05-29
11:24
[c9658279c8] part of check-in [3225de8902] Transform OP_HexBlob and OP_String8 to OP_Blob and OP_String the first time they are executed. (CVS 1492) (user: danielk1977 branch: trunk)
02:37
[ea010d63df] part of check-in [4060a37d0b] Allow CREATE and DROP TRIGGER on attached databases. (CVS 1488) (user: danielk1977 branch: trunk)
2004-05-28
16:00
[68f3583ba2] part of check-in [6661bb5f9c] Factor common code for generating index keys into a procedure. Other speed improvements and bug fixes. (CVS 1487) (user: drh branch: trunk)
11:37
[3b208964ad] part of check-in [4984a130cc] Allow CREATE TABLE and CREATE INDEX on attached databases. (CVS 1483) (user: danielk1977 branch: trunk)
08:21
[c661752ea1] part of check-in [ebd564d10b] Tables and indices use the same record format. (CVS 1481) (user: drh branch: trunk)
01:39
[ea44f5bef3] part of check-in [321f8c4635] Remove the encoding argument from sqlite3VdbeSerialGet. Use the 32-bit version of sqlite3GetVarint for schema-level parameters. (CVS 1480) (user: drh branch: trunk)
2004-05-27
19:59
[c068f9ab3d] part of check-in [0c4d138807] Change the record format to include an extra varint at the beginning to record the number of bytes in the header. (CVS 1478) (user: drh branch: trunk)
17:22
[2f2c9859ad] part of check-in [287f86731c] Remove the COPY command. (CVS 1477) (user: drh branch: trunk)
09:28
[54a758cc50] part of check-in [67a140cf78] Various bugfixes. 68 Test cases still fail. (CVS 1471) (user: danielk1977 branch: trunk)
03:12
[e9d8818bbd] part of check-in [f33d15d95f] Fixes to the MEM changes. The library now links. (CVS 1470) (user: drh branch: trunk)
01:53
[06f02181b5] part of check-in [dbdd1a7f31] More MEM changes in the vdbe.c. Still will not compile. (CVS 1469) (user: drh branch: trunk)
2004-05-26
23:25
[4419d3b7e4] part of check-in [bba6684d50] Refactoring of the vdbe Mem functions and the APIs that deal with them. The code will not compile in its current state. (CVS 1465) (user: drh branch: trunk)
16:54
[a4b2f80013] part of check-in [36e0316259] Remove dataType and includeTypes flags from function definitions. Added new P3_FUNCDEF type for P3 arguments on opcodes. Fixes to several user functions. 28 tests fail now. (CVS 1464) (user: drh branch: trunk)
13:27
[0853b13a1b] part of check-in [ce8b152034] Ensure the type of an sqlite3_value* is not modified by calls to sqlite3_value_*() calls. (CVS 1463) (user: danielk1977 branch: trunk)
10:11
[f1dcfdc19d] part of check-in [d5659f2ee6] Add some tests for the new API. Many more to come. (CVS 1462) (user: danielk1977 branch: trunk)
06:18
[4db41e7cc5] part of check-in [0317bef4b0] Use the new form of the sqlite3_create_function() API. (CVS 1460) (user: danielk1977 branch: trunk)
02:04
[0c10b00364] part of check-in [17e7db488d] Use the new API calls more consistently. (CVS 1459) (user: danielk1977 branch: trunk)
00:07
[7f41e2f73d] part of check-in [e83138250c] More changes to do with the new sqlite3_step() API. (CVS 1458) (user: danielk1977 branch: trunk)
2004-05-25
23:35
[fe75ac3288] part of check-in [9385ad5ca8] Move the sqlite3_exec() function to legacy.c. (CVS 1455) (user: danielk1977 branch: trunk)
11:47
[bf205ee831] part of check-in [4eccae03b4] Use the new API for returning values and errors from user functions. (CVS 1453) (user: danielk1977 branch: trunk)
2004-05-24
23:48
[11bb4758ae] part of check-in [5c28ed5e9b] Aggregate functions also use sqlite_value* instead of const char * for arguments. (CVS 1451) (user: danielk1977 branch: trunk)
12:39
[92994b2877] part of check-in [1e47d7384d] Non-aggregate SQL functions use sqlite_value* instead of const char * for argument values. (CVS 1449) (user: danielk1977 branch: trunk)
09:15
[f80d8f0076] part of check-in [a554bf6c70] Fix typo in vdbe.c from previous commit. (CVS 1448) (user: danielk1977 branch: trunk)
09:10
[8030d32775] part of check-in [4bf925fcfc] Add the sqlite3_value_*() access functions. (CVS 1447) (user: danielk1977 branch: trunk)
07:34
[58ba70a221] part of check-in [8104baf23d] Fix for retrieving UTF-16 little-endian text from a big-endian database. (CVS 1446) (user: danielk1977 branch: trunk)
07:04
[d5d15429c0] part of check-in [b7155db2b1] Have the vdbe handle strings in the same encoding as the database. (CVS 1445) (user: danielk1977 branch: trunk)
2004-05-23
13:30
[b40ff0912d] part of check-in [f47de3a933] Begin changing the vdbe so all stack values use the database encoding. (CVS 1444) (user: danielk1977 branch: trunk)
2004-05-22
21:30
[316491eb9b] part of check-in [18e690e405] Remove the OP_SetInsert opcode. (CVS 1443) (user: drh branch: trunk)
11:09
[c1846f4b29] part of check-in [c36203de22] Bug fix in vdbe.c - variable declarations must come before code in ANSI C. (CVS 1440) (user: drh branch: trunk)
10:33
[a21826df11] part of check-in [d7551df8c3] Add a couple of tests for UTF-16 databases. (CVS 1438) (user: danielk1977 branch: trunk)
07:27
[3ce76c8088] part of check-in [b3581d2796] A few bugfixes related to UTF-16 databases. sqlite3_open() still assumes a UTF-8 database, and sqlite3_open16() still assumes a UTF-16 db. (CVS 1434) (user: danielk1977 branch: trunk)
03:05
[91e6663c69] part of check-in [c4a8246864] Steps towards UTF-16 databases. Some tests are failing because of this commit. (CVS 1433) (user: danielk1977 branch: trunk)
2004-05-21
13:39
[2944326a99] part of check-in [5524075ec0] Remove the OP_SetFound opcode and its cousins. (CVS 1430) (user: drh branch: trunk)
10:49
[f0e2440088] part of check-in [5eb94c9765] Pretty-print blobs in vdbe-traces. (CVS 1428) (user: danielk1977 branch: trunk)
10:08
[cafe464b80] part of check-in [fc94575d77] Further work on the new API. All the functions to execute queries are there now. (CVS 1427) (user: danielk1977 branch: trunk)
03:01
[4138d2f3ec] part of check-in [25643a0137] Eliminate the OP_SortMakeRec and OP_SortCallback opcodes. Sort using the standard record format. (CVS 1426) (user: drh branch: trunk)
02:14
[c722738619] part of check-in [3b55095e03] Most sorting problems are fixed. Dead code has been removed. 3 test failures remain but will be fixed by the new function API once it gets implemented. (CVS 1425) (user: drh branch: trunk)
01:29
[d1b6fdfc94] part of check-in [0736b7e840] Sorting bug fixes. Now only 17 tests fail. (CVS 1422) (user: drh branch: trunk)
2004-05-20
22:16
[09ba3911b8] part of check-in [a6cb09d7af] Add internal support for collating sequences. This breaks 244 tests. (CVS 1420) (user: drh branch: trunk)
13:54
[4aedca4e37] part of check-in [5c1e47a252] sqlite3MemCompare now takes a CollSeq* argument. (CVS 1419) (user: drh branch: trunk)
02:42
[fe412966e4] part of check-in [bf2181f13f] Bug fix associated with OP_SetNumColumns in insert.c. Also changed a variable name in OP_Column. (CVS 1413) (user: drh branch: trunk)
01:12
[973ffe763e] part of check-in [e8f980d842] Add support for the new sqlite3_bind_*() APIs. (CVS 1410) (user: danielk1977 branch: trunk)
2004-05-19
20:41
[0f1918d2a7] part of check-in [34f03ba6a9] Correctly handle 64-bit integers in SQL statements. (CVS 1408) (user: drh branch: trunk)
14:56
[42ecfcd3bf] part of check-in [8f249c45cb] Change opcode names and comments to better describe the operation of the incrKey flag. OP_MoveTo becomes OP_MoveGe. (CVS 1407) (user: drh branch: trunk)
13:13
[b646328804] part of check-in [7c31e257e2] Bug fixes in where.c. The where.test test works again. (CVS 1406) (user: drh branch: trunk)
11:31
[415b3b195e] part of check-in [821b0b297c] Really remove the OP_StrEq opcode this time - appearently I didn't save the file out of the editor before doing the check-in (1397). (CVS 1405) (user: drh branch: trunk)
11:24
[962092231f] part of check-in [45169ce015] Variable name change: azVar to apVar. (CVS 1404) (user: drh branch: trunk)
10:34
[f5451f1f71] part of check-in [4e602bb473] Tests for text encoding conversion functions. Also new sqlite3_bindXX APIs. (CVS 1400) (user: danielk1977 branch: trunk)
2004-05-18
22:17
[37c3d0c45f] part of check-in [238442bbd2] Remove the OP_StrEq opcodes. (CVS 1397) (user: drh branch: trunk)
09:58
[5cc6e41f2c] part of check-in [a62872aacd] Fix many problems with manifest types and column affinity. Most things are working now. (CVS 1392) (user: danielk1977 branch: trunk)
01:23
[8a6b971c13] part of check-in [202a470f2c] Omit the '\0' at the end of UTF-8 strings on disk (it is implied). Also don't store the number of rows at the beginning of each table record. (CVS 1390) (user: danielk1977 branch: trunk)
2004-05-17
10:48
[e8fd1b095f] part of check-in [0f6c9b05e6] More changes to support the new types model. Compound SELECTs are currently broken. (CVS 1389) (user: danielk1977 branch: trunk)
2004-05-16
11:57
[c2feeaaf0c] part of check-in [5cba8a510c] Fix two bugs that were causing lots of tests to fail. (CVS 1386) (user: danielk1977 branch: trunk)
11:15
[38a477ae68] part of check-in [a4af838f8d] More changes to support the manifest type model. A few things are currently broken. (CVS 1385) (user: danielk1977 branch: trunk)
2004-05-14
21:59
[c12726cf16] part of check-in [d8bacc1680] Allocates VDBE cursors one by one in separate memory so that pointers to cursors can persist through a realloc(). (CVS 1383) (user: drh branch: trunk)
21:12
[90018d7938] part of check-in [8d9eab178f] Cache record headers in the OP_Column opcode. (CVS 1382) (user: drh branch: trunk)
15:27
[fff79c08b3] part of check-in [cad4791726] Performance improvements (CVS 1379) (user: drh branch: trunk)
12:16
[b63179da52] part of check-in [c6604a94d2] Use B+trees for tables (CVS 1377) (user: danielk1977 branch: trunk)
11:16
[6966c27163] part of check-in [f24aedc2b0] Delete some code no longer in use (CVS 1376) (user: danielk1977 branch: trunk)
11:00
[a6e1bfe118] part of check-in [dbfe6e9316] Implement type affinity for table and index records (CVS 1375) (user: danielk1977 branch: trunk)
2004-05-13
13:38
[a6ba83386f] part of check-in [790226c944] Changes to make regression tests in rowid.test pass. (CVS 1373) (user: danielk1977 branch: trunk)
11:34
[7b81b1d624] part of check-in [dbe8385ecf] Various minor fixes and updates to make more test cases pass. (CVS 1370) (user: danielk1977 branch: trunk)
05:16
[773fb49293] part of check-in [9f2b6d9d3a] Manifest types in indices. At the moment indices use manifest typing, but some other parts of the SQL engine do not, which can lead to some strange results. (CVS 1368) (user: danielk1977 branch: trunk)
2004-05-12
11:24
[9b82d9ed19] part of check-in [2f16c9ef3c] Add some more code to support manifest typing in indices. Not activated yet. (CVS 1362) (user: danielk1977 branch: trunk)
07:33
[cd9889955e] part of check-in [0242c9e4f7] Change the table record format to support manifest typing. (CVS 1361) (user: danielk1977 branch: trunk)
2004-05-11
09:57
[6f29fdad7d] part of check-in [93deaf54c6] A different fix for the problem with opening existing files. See also check-in (1358). (CVS 1359) (user: drh branch: trunk)
09:31
[85da2e53c3] part of check-in [6d378cb7e7] Fix an offset problem in the meta values that was causing problems for many tests. (CVS 1357) (user: drh branch: trunk)
08:48
[b9a499da85] part of check-in [6dc6004684] More small changes to get test cases to execute. (CVS 1355) (user: danielk1977 branch: trunk)
06:55
[4ff07e5329] part of check-in [941d0fdc97] More minor changes to accomadate the new btree. All the select* tests pass now. (CVS 1353) (user: danielk1977 branch: trunk)
06:17
[06986aa8bb] part of check-in [16078fe0ea] Minor changes to the vdbe so that more tests pass. (CVS 1352) (user: danielk1977 branch: trunk)
04:54
[7ac68210a0] part of check-in [9ba0df4d77] Fix up a couple of little things in the vdbe. select1.test passes now. (CVS 1351) (user: danielk1977 branch: trunk)
02:10
[f2094463b6] part of check-in [7bc4f5543f] Fix a bug in the btree code for reading varints greater than 2^32. (CVS 1349) (user: danielk1977 branch: trunk)
00:28
[c6c763868e] part of check-in [c080fed7b5] Change to OP_PutIntKey to use new btree API. (CVS 1346) (user: danielk1977 branch: trunk)
2004-05-10
23:29
[24a2dbe73a] part of check-in [bc5a2dafa1] Work toward getting the new btree.c integrated with vdbe.c. (CVS 1345) (user: drh branch: trunk)
20:27
[0853ab9983] part of check-in [d596f513c3] Improvements to testing of sqlite_interrupt. More checking for interrupt inside of VACUUM. (CVS 1344) (user: drh branch: version_2)
10:34
[5cd18c8a3a] part of check-in [2242423e31] Change the names of external symbols from sqlite_XXX to sqlite3_XXX. (CVS 1338) (user: danielk1977 branch: trunk)
07:17
[3d90858d78] part of check-in [8a66a502ba] Add versions of OP_MakeRecord and OP_Column that use manifest typing (not activated yet). (CVS 1334) (user: danielk1977 branch: trunk)
2004-05-09
23:23
[bf7d4826cb] part of check-in [d8d1c91e55] Add a temporary sqlite2BtreeKeyCompare() function to help get regression tests passing again. (CVS 1332) (user: danielk1977 branch: trunk)
2004-05-08
10:56
[9b089e0b20] part of check-in [2bca92240b] Get the code back to the point where it will compile the btree.c tests. Move the default key comparison routine from btree.c into vdbeaux.c. Commented out code in vdbe.c that will need to be fixed. (CVS 1326) (user: drh branch: trunk)
08:23
[500d5140b6] 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) (user: danielk1977 branch: trunk)
2004-04-29
16:16
[f006200348] part of check-in [5a33e0b06f] Fix a stack overflow problem with INSTEAD OF triggers. (CVS 1310) (user: drh branch: version_2)
2004-03-03
01:51
[7c33f761fd] part of check-in [3cac4b7b52] A vdbe stack element might have a string value even after a call to Integerify(). Ticket #641. (CVS 1283) (user: drh branch: trunk)
2004-02-22
17:49
[af187d86cb] part of check-in [9b3bcde153] Code cleanup in the date and time functions. (CVS 1263) (user: drh branch: trunk)
2004-02-20
22:53
[f14e8e2ef8] part of check-in [3383413a53] Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1251) (user: rdc branch: trunk)
2004-02-16
03:44
[e1825bcb40] part of check-in [f72134852b] Remove the NullCallback opcode. Handle the empty_result_set pragma inside the sqlite_exec() function. (CVS 1244) (user: drh branch: trunk)
2004-02-14
23:59
[90debe895f] part of check-in [2dbc4593ca] Eliminate obsolete code associated with the older callback functionality. (CVS 1243) (user: drh branch: trunk)
17:35
[b3f7cfecd9] part of check-in [398bc294c8] Fix problems with malloc-failure handling. (CVS 1241) (user: drh branch: trunk)
16:31
[a1d90927d1] part of check-in [9771ad1e81] The sqlite_exec() function is now implemented using sqlite_compile() and sqlite_step(). This opens up lots of opportunity to remove old code. (CVS 1240) (user: drh branch: trunk)
2004-02-13
14:07
[13df29e02f] part of check-in [9f149fdc1c] Fix an uninitialized variable introduced by check-in (1202). (CVS 1235) (user: drh branch: trunk)
2004-02-12
13:02
[f665f4c1dc] part of check-in [2fe9f5101c] VACUUM returns SQLITE_INTERRUPT when interrupted. Ticket #593. (CVS 1228) (user: drh branch: trunk)
2004-02-11
09:46
[dfd8b36fc5] part of check-in [f2bdccf4bb] Refactor the interface to the randomness generator. (CVS 1224) (user: drh branch: trunk)
2004-02-10
13:41
[546bb0a816] part of check-in [cf1cec74ae] Perform updates in search order. Ticket #602. (CVS 1221) (user: drh branch: trunk)
2004-02-08
18:07
[81aee8e52d] part of check-in [93ccd1b1d6] Perpare for the 2.8.12 release. (CVS 1212) (user: drh branch: trunk)
06:17
[d2b7f2a2c0] part of check-in [42cfd541dc] Fix a bug in the VDBE that occurs when a CreateTable or CreateIndex fails. (CVS 1211) (user: drh branch: trunk)
2004-01-31
20:40
[fe0375e230] part of check-in [04cf22785e] Fix a bug introduced by the previous check-in. (CVS 1205) (user: drh branch: trunk)
20:20
[cdfe403fca] part of check-in [06e7ff4cb8] A few more optimizations to the VDBE. (CVS 1204) (user: drh branch: trunk)
19:22
[36a93b5e21] part of check-in [8273c74bd0] Rework internal data structures to make the VDBE about 15% smaller. (CVS 1203) (user: drh branch: trunk)
2004-01-30
14:49
[fcd5b6f27b] part of check-in [c0faa1c67a] Rework the VDBE data structures to combine string representations into the same structure with integer and floating point. This opens the door to significant optimizations. (CVS 1202) (user: drh branch: trunk)
2004-01-15
02:44
[802364c5b1] part of check-in [72bc84f2f1] Reinsert the experimental sqlite_commit_hook() API. (CVS 1179) (user: drh branch: trunk)
2004-01-14
21:59
[763ff006f6] part of check-in [c9ac3db8e0] Fix comparisons of ROWID against floating point numbers so that they work correctly. Ticket #377 and #567. (CVS 1178) (user: drh branch: trunk)
2004-01-07
20:37
[ff3551cbe9] part of check-in [5fd581787e] Rework the fix to ticket #461 so that we do not have to do redundant tests of WHERE clause terms looking for NULLs. See also check-in (1103). (CVS 1167) (user: drh branch: trunk)
19:24
[651fcdac5c] part of check-in [03636c94a5] Permit sqlite_exec() to be called from within user-defined functions. (CVS 1166) (user: drh branch: trunk)
18:52
[651f294e3a] part of check-in [d3e96da20d] Defer the {quote: MoveTo} opcode in VDBE until the data is actually needed. Sometimes the data is never needed, resulting in a performance increase. On an indexed order search with a large OFFSET, queries times can be an order of magnitude faster. (CVS 1165) (user: drh branch: trunk)
2003-12-23
02:17
[a16a084ca4] part of check-in [4d9edbc50f] Use a built-in atof() function instead of the one from the library to avoid problems with locale. Ticket #305. (CVS 1144) (user: drh branch: trunk)
2003-12-10
01:31
[46068de556] part of check-in [230a4ff2c8] Fix the code generator to a void a VDBE stack overflow on 3-way joins. Ticket #519. (CVS 1129) (user: drh branch: trunk)
2003-12-07
00:24
[b40c2a7002] part of check-in [614cbbafa1] Make the VACUUM command run out of the VDBE like all other commands. (Ticket #464). Make the VACUUM command work even if there are VIEWs in the SQLITE_MASTER table that come before tables they reference. (Ticket #515) (CVS 1128) (user: drh branch: trunk)
2003-12-06
21:43
[d61f720a83] part of check-in [656c90387a] Always use "(char*)0" to terminate the argument list of sqliteSetString(). This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126) (user: drh branch: trunk)
2003-10-18
09:37
[0928a242ce] part of check-in [ddb364635a] Add sqlite_progress_handler() API for specifying an progress callback (CVS 1111) (user: danielk1977 branch: trunk)
2003-09-27
00:56
[a9923a38a2] part of check-in [70a50bdda3] Add additional backslash escapes to the COPY command for compatibility with PostgreSQL. Ticket #460. (CVS 1104) (user: drh branch: trunk)
2003-09-06
22:18
[4570d43618] part of check-in [990bb11898] Update Makefile.in for the new vdbeaux.c file. Remove the experimental "sqlite_instantiate()" routine and replace it with "sqlite_bind()" which is more like ODBC and JDBC. (CVS 1095) (user: drh branch: trunk)
20:12
[00c547e77d] part of check-in [bfd69391d3] Split almost 1300 lines of code out of vdbe.c into separate files vdbeInt.h and vdbeaux.c. (CVS 1094) (user: drh branch: trunk)
01:10
[b6a2b0a8ee] part of check-in [912f47c72d] The beginnings of changes to support pre-compiled SQL. Mostly untested, though all regression tests to pass. (CVS 1093) (user: drh branch: trunk)
2003-08-26
11:35
[306f590117] part of check-in [cbe3221696] Try to work around a bug in VC++ by only passing unsigned characters to the isspace() routine. Bug reported on the mailing list. (CVS 1087) (user: drh branch: trunk)
2003-08-16
12:37
[fb7f2fc00c] part of check-in [ef58f163b0] Do not delete tables with the same name when dropping triggers. Ticket #430. (CVS 1074) (user: drh branch: trunk)
2003-07-27
17:16
[779fa3b151] part of check-in [7514c3db16] In the VDBE, when an integer value will not fit into a 32-bit int, store it in a double instead. Ticket #408. (CVS 1064) (user: drh branch: trunk)
2003-07-22
09:24
[b5feda6d6f] part of check-in [1d2fcb0178] Add experimental sqlite_reset() API (allows pre-compiled queries) (CVS 1060) (user: danielk1977 branch: trunk)
2003-07-09
00:28
[7bef599539] part of check-in [dd84f88f6c] Allow the output arguments in sqlite_compile and sqlite_step to be NULL pointers. Tickets #384 and #385. (CVS 1049) (user: drh branch: trunk)
2003-07-06
17:22
[3779009cc7] part of check-in [982aa3356b] Correctly handle comparing an INTEGER PRIMARY KEY against a floating point number. Ticket #377. (CVS 1045) (user: drh branch: trunk)
2003-06-29
20:25
[f5d5779b1f] part of check-in [fc490f677b] The prior fix of ticket #360 was incorrect and caused a memory leak. This check-in plugs the memory leak and correctly fixes ticket #360. (CVS 1040) (user: drh branch: trunk)
2003-06-24
10:39
[aa35237cd5] part of check-in [bad8b55833] In a SELECT, the rowid of a view or subquery which is really a join is set to NULL if the join is flattened. Ticket #364. (CVS 1034) (user: drh branch: trunk)
2003-06-22
01:41
[fba0a1d25b] part of check-in [cb70ee67ea] Make sure the source of a PULL opcode is not an ephemeral string. Ticket #360. (CVS 1031) (user: drh branch: trunk)
2003-06-15
23:42
[b011881412] part of check-in [c9734c2707] Enhance the "PRAGMA integrity_check" command to verify that all indices are correctly constructed. New calls to integrity_check are made in the test suite. These changes are intended to prevent any future problems such as seen in ticket #334. (CVS 1024) (user: drh branch: trunk)
2003-06-07
11:33
[828123ca4a] part of check-in [7d3405b95b] Use sqliteOsFileExists() in the debugging hook in vdbe.c, instead of access(). Ticket #341. (CVS 1014) (user: drh branch: trunk)
2003-06-04
16:24
[5602825b5f] part of check-in [af6f2bdf59] Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999). Also clean up some compiler warnings for VC++. (CVS 1005) (user: drh branch: trunk)
2003-06-02
23:14
[4170cba0a0] part of check-in [daf7b94017] The OP_Checkpoint opcode is now a no-op if invoked on a database that already has an active checkpoint journal. Ticket #333. (CVS 997) (user: drh branch: trunk)
06:15
[0f09d140c3] part of check-in [b648987de3] Additions and corrections to vdbe documentation comments. (CVS 992) (user: jplyon branch: trunk)
2003-05-17
17:35
[81b9868acd] part of check-in [01398fb78b] Fix problems with TEMP indices that lead to corrupt databases. These problems were discovered while working on ticket #317. No sure yet if that ticket is fixed. (CVS 981) (user: drh branch: trunk)
2003-05-10
03:36
[e9e560b0c5] part of check-in [8b388b2f69] Changes to comments. In particular, a lengthy comment was added to encode.c that explains how the encoder algorithm works. (CVS 966) (user: drh branch: trunk)
2003-05-02
14:32
[829fa31c21] part of check-in [be7aed2011] VDBE cursors numbers for tables in a join do not have to be consecutive. This is one step on the road to fixing ticket #272. (CVS 947) (user: drh branch: trunk)
2003-04-25
15:37
[48098080d2] part of check-in [8d3e879349] Add tests to insure VACUUM works in the presence of I/O errors. Fix some problems that came to light by these tests. (CVS 935) (user: drh branch: trunk)
2003-04-23
12:25
[f0868ac926] part of check-in [6289b86359] Remove the begin_hook and commit_hook APIs. They were a bad idea. Add a "trace" method to the TCL interface. (CVS 929) (user: drh branch: trunk)
2003-04-17
12:44
[d453e8c95c] part of check-in [98ef611006] Make sure the min() and max() optimizations work on empty indexed tables. Ticket #296. (CVS 914) (user: drh branch: trunk)
2003-04-16
21:03
[ef99c9f618] part of check-in [5cea7554ae] Rollback if a commit hook fails. (CVS 912) (user: drh branch: trunk)
02:17
[45f7167eeb] part of check-in [4326b52a39] Simplify the number processing code. Fix for ticket #281. (CVS 910) (user: drh branch: trunk)
2003-04-15
19:22
[6738153dc8] 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) (user: drh branch: trunk)
14:01
[0fa25d177b] part of check-in [96a717661a] Do not record the inserted rowid on when doing an INSERT within a trigger. Ticket #290. (CVS 906) (user: drh branch: trunk)
01:19
[cf9ef07b1f] part of check-in [e76787f877] Change some variable names and comments in the new in-memory database file implementation. Partial (non-working) implementation of the VACUUM command. (CVS 904) (user: drh branch: trunk)
2003-04-13
18:26
[45d2987a5f] part of check-in [96336bffde] Support in-memory databases for temp tables (CVS 903) (user: paul branch: trunk)
2003-04-03
15:46
[540c480912] part of check-in [5efbf62313] Added experimental APIs: sqlite_begin_hook() and sqlite_commit_hook(). (CVS 896) (user: drh branch: trunk)
01:50
[b3b840b555] part of check-in [087d1e83af] Use a intermediate table when inserting a TEMP table from a SELECT that reads from that same TEMP table. Ticket #275. (CVS 895) (user: drh branch: trunk)
2003-03-20
01:16
[7171dbe873] part of check-in [a5d8fc95ee] Record the database name in addition to the table name for DELETE, INSERT, and UPDATE statements. (CVS 879) (user: drh branch: trunk)
2003-03-19
03:14
[e2313377c4] part of check-in [875da9eed9] Modifications to the VDBE to support more than one database file. (CVS 878) (user: drh branch: trunk)
2003-03-07
19:50
[1b54fc0b5e] part of check-in [2aba40bea5] Do not allow an empty string to be inserted into an INTEGER PRIMARY KEY. (CVS 877) (user: drh branch: trunk)
2003-03-01
19:45
[f8fdbf03ac] part of check-in [620e1065e9] Get the non-callback API working with the EXPLAIN keyword and for PRAGMAs. Tickets #258 and #257. Update the API documentation on the sqlite_changes() routine to explain how it works with the non-callback API. Ticket #250. (CVS 875) (user: drh branch: trunk)
2003-02-20
01:48
[4906e666ff] part of check-in [6a45fe3bd7] When the right table in a LEFT OUTER JOIN contains an INTEGER PRIMARY KEY make sure that key is NULL if there is no row in the right table that matches the current row in the left table. Tickets #246 and #247. (CVS 873) (user: drh branch: trunk)
2003-02-16
22:21
[fc4c23e419] part of check-in [75ba78280f] Added test code to check for file descriptor leaks. All regression tests pass now on both win2k and linux. (CVS 868) (user: drh branch: trunk)
2003-01-29
22:58
[2ad2510bc3] part of check-in [af1e929946] Additional testing and bug fixing with the non-callback API. Updated the C/C++ interface document to describe the non-callback API. (CVS 855) (user: drh branch: trunk)
18:46
[de4c00495e] part of check-in [ccc82f1ab4] Better error messages on constraint violations. Additional tests and bug fixes for the callback-free API. (CVS 854) (user: drh branch: trunk)
14:06
[a9dd0f6875] part of check-in [162b259188] The callback-free API is now working, though much more testing is need. (CVS 853) (user: drh branch: trunk)
2003-01-28
23:13
[899b59df8a] part of check-in [065fa818ff] First code for the new callback-free API. All regression tests pass but the new API is mostly untested and is unlikely to work. (CVS 852) (user: drh branch: trunk)
2003-01-19
03:59
[7796485aa5] part of check-in [f6a8706872] Update comments. No changes to code. (CVS 841) (user: drh branch: trunk)
2003-01-16
13:42
[dc0a9c1b81] part of check-in [717523d375] Improvements to the pager to help large updates against a large database run faster. Also improved the testing of the pager rollback algorithms. (CVS 835) (user: drh branch: trunk)
2003-01-12
17:35
[e103bd5a15] part of check-in [0deaf563fd] Remove an unused variable from the VDBE. Ticket #223. (CVS 826) (user: drh branch: trunk)
17:28
[1585e3aadb] part of check-in [fc11fa50b8] Change the PopStack() routine so that it doesn't confuse bounds checkers. Ticket #222. (CVS 825) (user: drh branch: trunk)
2003-01-11
13:30
[e1f66bb2f5] part of check-in [86deb12d68] Remove the ColumnCount opcode, which had become a no-op. (CVS 821) (user: drh branch: trunk)
2003-01-07
13:55
[42577c260b] part of check-in [46d8f5e377] In the VDBE, allocate space to hold column names when the VDBE first starts. The ColumnCount opcode now just writes the null terminator into this space. (CVS 818) (user: drh branch: trunk)
13:43
[07570003d3] part of check-in [657c9fb513] When constructing records and index keys, use static string space rather than mallocing (when possible) for a small speed improvement. (CVS 817) (user: drh branch: trunk)
02:47
[a92cbde50a] part of check-in [a362981b20] More optimizations. (CVS 816) (user: drh branch: trunk)
2003-01-06
23:54
[1d396c7029] part of check-in [b96ec281ff] Remove unnecessary code from the VDBE. (CVS 814) (user: drh branch: trunk)
2003-01-05
21:41
[dfcb470866] part of check-in [5809132f5b] More optimizations. (CVS 813) (user: drh branch: trunk)
2003-01-02
14:43
[572ee028e0] part of check-in [db745e87dc] Code optimizations to help the library run faster. (CVS 808) (user: drh branch: trunk)
2003-01-01
23:06
[0baebb3f0c] part of check-in [a1c071ea18] If compiled with the -DVDBE_PROFILE=1 option, special code is inserted that uses the pentium RDTSC instruction to compute very precise runtimes on all VDBE opcodes. (This only works on i586 processors, of course.) The results are written into the vdbe_profile.out file for analysis. Hopefully, this new feature will reveal hot spots that can be optimized to make the VDBE run faster. (CVS 807) (user: drh branch: trunk)
2002-12-04
22:29
[aa6165ae4f] part of check-in [0051c87d5e] Fix a bug in the reverse scan logic that comes up when the table being scanned is empty. Add additional tests for the reverse scan. (CVS 797) (user: drh branch: trunk)
20:01
[84b224d0ec] part of check-in [c7a3487981] Scan the table backwards if there is an ORDER BY ... DESC clause that can be satisfied by an index. (CVS 795) (user: drh branch: trunk)
2002-12-02
04:25
[2c2472a93d] part of check-in [fa5c042585] Change to the pager to avoid opening journal files unnecessarily. This can sometimes results in a significant speed improvement. (CVS 791) (user: drh branch: trunk)
2002-11-11
00:05
[7d46f087c1] part of check-in [263a8ca40f] Replace the atoi() library routine with a faster home-grown version in the VDBE. This gives a dramatic speed improvement for some kinds of queries. (CVS 784) (user: drh branch: trunk)
2002-11-01
01:55
[a187467bc4] part of check-in [326e0983c3] Improvements in threadtest.c (for Unix) and some minor bug fixes that result from the better testing. (CVS 776) (user: drh branch: trunk)
2002-10-30
22:42
[921f75ea3f] part of check-in [8c4cbdd055] In the VDBE, check to make sure a set has been initialized before using it. Ticket #185. (CVS 772) (user: drh branch: trunk)
2002-10-22
15:04
[b5d25c18f3] part of check-in [562da534bb] Take care to track ephemeral strings in the VDBE and make copies of ephemeral strings that need to be preserved. Ticket #177. (CVS 769) (user: drh branch: trunk)
2002-10-19
20:16
[4144effb95] part of check-in [d0af59fe6b] Speed improvement by avoiding a call to sqliteBtreeLast() when inserting a new row into a table. (CVS 763) (user: drh branch: trunk)
2002-09-17
03:20
[ac4ccc17d9] part of check-in [29145746f3] Fix a bug in the OP_MemStore operator of the VDBE. A realloc() might occur but pointer to the old buffer were not being moved over to the new buffer. (CVS 752) (user: drh branch: trunk)
2002-09-14
13:47
[8e567db1f3] part of check-in [3f253afe15] Do not put a write lock on the main database file when writing to a temporary table. (CVS 750) (user: drh branch: trunk)
2002-09-08
17:23
[7e7392f2a9] part of check-in [23fe36c7e8] Fix for ticket #147: Honor the ORDER BY and LIMIT clauses in a SELECT even if the destination of that SELECT is a subroutine call. (CVS 747) (user: drh branch: trunk)
00:04
[8637ddb907] part of check-in [eb54d455b0] Modify the build process so that the VDBE opcode numbers and the table that contains the opcode names are both automatically generated. This makes it much easier to create new VDBE opcodes. (CVS 746) (user: drh branch: trunk)
2002-09-03
19:43
[b746742d6b] part of check-in [7f8fd5c75d] Always fill in the 5th parameter to sqlite_exec if there is an error. (CVS 742) (user: drh branch: trunk)
2002-09-01
23:20
[4a1744c905] part of check-in [8c2a083698] Relax the locking requirements on BTree cursors. Any number of read and write cursors can be open at the same time now, but a write cannot occur as long as one or more read cursors are open.    Before this change, one or more read cursors could be open on a table, or a single write cursor, but not both. Both policies have the same desirable effect: they prevent writes to a table while a sequential scan of that table is underway. But the new policy is a little less restrictive. Both policies prevent an UPDATE from occurring inside a SELECT (which is what we want) but the new policy allows a SELECT to occur inside an UPDATE. (CVS 739) (user: drh branch: trunk)
2002-08-28
03:00
[d4969d78fd] part of check-in [723362e74f] Slightly faster INSERTs from a SELECT by avoiding an intermediate table. But it didn't make nearly as much difference as I had hoped. (CVS 732) (user: drh branch: trunk)
2002-08-26
19:55
[ea41a3ac96] part of check-in [45847390d0] Fix for ticket #142: Make sure we get the correct sort order even when the columns being sorted contain NULLs. (CVS 730) (user: drh branch: trunk)
2002-08-25
19:20
[99b5714751] part of check-in [c602603e7c] Fix for ticket #136: Added the OP_RenameCursor VDBE instruction and used it to make cursor numbers right on nested subqueries. Also added OP_Gosub and OP_Return but have not actually used them for anything yet. (CVS 727) (user: drh branch: trunk)
18:29
[92bcd46616] part of check-in [b957dafc26] Fix the memory leak introduced by check-in (725). (CVS 726) (user: drh branch: trunk)
2002-08-15
01:26
[5b3bb8ac3b] part of check-in [66a0f6a8e2] Fixes and test improvements resulting from code coverage testing. (CVS 716) (user: drh branch: trunk)
2002-08-13
23:02
[aad57e6228] part of check-in [310ac4fbaf] Make the distinction between text and numeric data. (CVS 710) (user: drh branch: trunk)
2002-07-31
19:50
[aa647946d0] part of check-in [fe329e078f] Fix for ticket #124: Fix a stack VDBE overflow problem on joins on an INTEGER PRIMARY KEY. (CVS 700) (user: drh branch: trunk)
2002-07-30
17:20
[b35ea5d6af] part of check-in [be1315755e] Fix for ticket #71: Correctly handle CR and CRLF line terminators in the input files for the COPY command. (CVS 694) (user: drh branch: trunk)
2002-07-18
00:34
[7433a7811f] part of check-in [20d152fcdd] Fix for ticket #107: Fix a design defect in indices that was causing queries to fail when using an index on a column containing an empty string. This fix is an incompatible file-format change. (CVS 681) (user: drh branch: trunk)
2002-07-05
21:42
[0169270bb7] part of check-in [b4737a16c9] All the code is now in place for SQLite to distinguish between NUMERIC and TEXT datatypes. Still need to turn on the new code and test it. (CVS 659) (user: drh branch: trunk)
2002-06-29
02:20
[c83ece2aeb] part of check-in [91c0db66c8] Add a few more tests and fix a few bugs that the tests uncovered. (CVS 652) (user: drh branch: trunk)
2002-06-28
01:02
[0c7783ba52] part of check-in [c07e493b62] Fix for ticket #84: If the WHERE clause is too complex, issue an error message and refuse to do the SELECT. The cutoff is a WHERE clause with 100 terms. (CVS 650) (user: drh branch: trunk)
2002-06-26
02:45
[2d9e418e45] part of check-in [bdb006b809] The datatype of the i-th column in the result set is given by the azColName(argc+1+i) parameter to the callback. (CVS 647) (user: drh branch: trunk)
2002-06-25
13:16
[17cdbcb692] part of check-in [52eba4de30] Enhance the INTEGRITY_CHECK pragma to test the auxiliary database file in addition to the main database file. (CVS 642) (user: drh branch: trunk)
01:09
[0b1ad7c3cb] part of check-in [9c1432bf74] Added support for the "sqlite_temp_master" table. Increased the version number to 2.5.2. (CVS 640) (user: drh branch: trunk)
2002-06-21
23:01
[774f79483c] part of check-in [9d55231079] Fix for bugs #77 and #80: Rework the LIMIT mechanism to be reentrant and to clean up the VDBE stack properly. (CVS 636) (user: drh branch: trunk)
2002-06-20
11:36
[c33572f803] part of check-in [cbbc858d97] This patch contains the beginnings of the data-typing infrastructure. The new build-in TypeOf() function is added. New opcodes for doing pure text comparisons are added. Most changes are disabled pending the 2.6.0 release. (CVS 632) (user: drh branch: trunk)
2002-06-14
22:38
[7d9bb3701e] part of check-in [699cf36208] Make the LIMIT clause work even if the destination of the SELECT is something other than a callback. (Ticket #66) (CVS 619) (user: drh branch: trunk)
2002-06-11
02:25
[836f2c4f82] part of check-in [d4a2fb1006] Add RAISE() function, which allows more advanced flow-control in trigger programs (ticket #55) (CVS 614) (user: danielk1977 branch: trunk)
2002-06-08
23:25
[b315d7ad50] part of check-in [8481e841eb] Add optimizations for the IN operator in WHERE clauses. This is a partial implementation of enhancement #63. Still need to add test cases. (CVS 610) (user: drh branch: trunk)
2002-06-06
23:16
[27b71e3c6c] part of check-in [9ef795d1d7] Fix for ticket #62: Do not report an SQLITE_READONLY error until the application actually tries to write data into a readonly file. It is OK to start a transaction on a read-only file, and doing so will get you a read lock. This change allows TEMP tables to be read/write even though the main database is readonly. (CVS 607) (user: drh branch: trunk)
2002-06-01
21:41
[ee08fbae7f] part of check-in [df9cc852ad] Multiplying NULL by zero gives NULL, not zero. I misread the test data and coded it wrong. This check-in fixes the problem. (CVS 601) (user: drh branch: trunk)
2002-05-31
15:51
[81ae0a1ce5] part of check-in [da61aa1d23] Refinements to NULL processing: NULLs are indistinct for DISTINCT and UNION. Multiplying a NULL by zero yields zero. In a CASE expression, a NULL comparison is considered false, not NULL. With these changes, NULLs in SQLite now work the same as in PostgreSQL and in Oracle. (CVS 600) (user: drh branch: trunk)
2002-05-27
01:04
[ccbee9fb9b] part of check-in [0e268d0c0f] Bug fixes and additional test cases for the distinct-NULL patch. (CVS 592) (user: drh branch: trunk)
2002-05-26
20:54
[caa269517b] part of check-in [9051173742f] NULL values are distinct. A comparison involving a NULL is always false. Operations on a NULL value yield a NULL result. This change makes SQLite operate more like the SQL spec, but it may break existing applications that assumed the old behavior. All the old tests pass but we still need to add new tests to better verify the new behavior. Fix for ticket #44. (CVS 589) (user: drh branch: trunk)
2002-05-24
20:31
[bde1dad84e] part of check-in [99bd1f5b9a] Initial implementation of LEFT OUTER JOIN including the expanded SQL92 join syntax. The basic functionality is there but there is still a lot of testing to do. (CVS 587) (user: drh branch: trunk)
02:04
[46fd7cbefd] part of check-in [a167b71d8c] Split the IdList structure into IdList and SrcList. SrcList is used to represent a FROM clause and IdList is used for everything else. This change allows SrcList to grow to support outer joins without burdening the other uses of IdList. (CVS 584) (user: drh branch: trunk)
2002-05-23
22:07
[6c2eae8a1d] part of check-in [c53b0b9283] Change the names of the PushList and PopList opcodes to ListPush and ListPop so that they will appear together with the other List opcodes in the documentation. (CVS 583) (user: drh branch: trunk)
02:09
[67fbceb6fa] part of check-in [01ad352c3c] Fix some places where a malloc() failure would lead to a segfault. (CVS 580) (user: drh branch: trunk)
2002-05-19
23:43
[5fd717e6a4] part of check-in [8a4195c746] Style fixes to triggers code in various *.c files (partial fix to ticket #39) (CVS 571) (user: danielk1977 branch: trunk)
2002-05-15
11:44
[42281b4e0e] part of check-in [690f9a1631] Remove all tabs from the beginning of source code lines. Replace tabs with the appropriate number of spaces. (CVS 565) (user: drh branch: trunk)
08:30
[428d7dba1f] part of check-in [794bf67b6b] Added FOR EACH ROW triggers functionality (CVS 562) (user: danielk1977 branch: trunk)
2002-05-10
13:14
[c957417fa8] part of check-in [f42907ce45] Improvements to the SQLITE_MISUSE detection logic. Also added test cases for this logic, including the new test file "misuse.test". (CVS 559) (user: drh branch: trunk)
05:44
[aa5d5f76f2] part of check-in [a05fabd2df] Attempt to detect when two or more threads try to use the same database at the same time and return an SQLITE_MISUSE error. Also return this error if an attempt is made to use a closed database. (CVS 558) (user: drh branch: trunk)
2002-04-20
14:24
[0ed88fff32] part of check-in [51572bf717] Fix for ticket #1: Implement the GLOB and LIKE operators as functions that can be overridden. This way, a developer can change the LIKE operator to be case sensitive, for example. (CVS 537) (user: drh branch: trunk)
2002-04-12
10:08
[9213ff1ab1] part of check-in [6e71493b9d] Fix for bug #15: Add the sqlite_changes() API function for retrieving the number of rows that changed in the previous operation. (CVS 526) (user: drh branch: trunk)
2002-04-09
03:15
[ccc394cf72] part of check-in [f46acfc3b8] Fix for bug #10: Pop the stack by the right amount on an IGNORE so that the stack does not grow without bound. (CVS 523) (user: drh branch: trunk)
2002-04-02
01:44
[3cebe9f77c] part of check-in [734dde765b] Fix for bug #7: Correctly display the P3 operand in a VDBE trace when the operand is really a pointer to a structure. (CVS 512) (user: drh branch: trunk)
2002-03-18
13:03
[9fbe84ea33] part of check-in [3dcdeae7f6] Fix an uninitialized variable in AggReset() (CVS 432) (user: drh branch: trunk)
2002-03-10
21:21
[51e99d994d] part of check-in [02cc2d60b2] Bug fix: updates within a transaction would fail if there was existed a temporary table. (CVS 425) (user: drh branch: trunk)
2002-03-06
22:01
[ce375b8948] part of check-in [161c0c5f5d] Added the default_cache_size and default_synchronous pragmas. Added additional tests for pragmas. Added a new speedtest script. (CVS 421) (user: drh branch: trunk)
03:08
[fcbe9d3c1b] part of check-in [b7a7dae919] Optimizations to the processing of integer comparisons. (CVS 420) (user: drh branch: trunk)
2002-03-05
01:11
[0b634bbe3d] part of check-in [414da4af1f] Add the ability to turn of calls to fsync() using the "synchronous" pragma. Increased the default cache size from 100 to 2000 and made the "cache_size" pragma persistent. (CVS 418) (user: drh branch: trunk)
2002-03-03
02:49
[4989cd3e6f] part of check-in [2c05389eda] Bug fixes and additional tests for the subquery flattener. (CVS 411) (user: drh branch: trunk)
2002-02-28
03:31
[91311e99ef] part of check-in [e8611e0c05] Remove unused opcodes from the VDBE and fix a bug in the substr() function. (CVS 405) (user: drh branch: trunk)
03:04
[26a2b62f1d] part of check-in [b00cf110b1] The new function code passes regression tests. (CVS 403) (user: drh branch: trunk)
01:46
[b7dda08abd] part of check-in [6af10cc53a] Fix the coredump. There are still problems in the test suite though. (CVS 402) (user: drh branch: trunk)
00:41
[1c16db3ba6] part of check-in [50797fee50] Completely remove the old SQL function system and replace it with the new user functions. The code currently compiles but it coredumps on the test suite. Do not use in its present state. (CVS 400) (user: drh branch: trunk)
2002-02-27
19:50
[d1efbaf24a] part of check-in [c4f9e017b4] Try to reduce the number of malloc() for user-defined functions. Begin transfering built-in functions over to the user-define function mechanism. (CVS 399) (user: drh branch: trunk)
19:00
[1a53786256] part of check-in [633951f0fa] Revise the API for user-defined functions. (CVS 398) (user: drh branch: trunk)
2002-02-24
03:25
[b2c51a114c] part of check-in [1e037eb303] Code for user-defined aggregates added. Legacy tests all pass but there has been no testing of the new user-defined aggregate code. (CVS 392) (user: drh branch: trunk)
2002-02-23
23:45
[7d4c6e2f48] part of check-in [c490a1ff95] Added support for user-defined normal functions. Support for user-defined aggregates is pending. (CVS 390) (user: drh branch: trunk)
2002-02-21
12:01
[44832d804e] part of check-in [b2a9807fed] Change the SQLITE_MASTER format to version 2 in preparation for adding views. (CVS 386) (user: drh branch: trunk)
2002-02-19
22:42
[18b6e9ed3b] part of check-in [1686196a8a] New ROWIDs are numbered sequentially. (CVS 383) (user: drh branch: trunk)
15:00
[2b03a7d39f] part of check-in [cc5abfe392] Optimize simple min() and max() queries. (CVS 382) (user: drh branch: trunk)
13:39
[3c788341b5] part of check-in [c6e9048e66] Change the name of the sanity_check PRAGMA to "integrity_check" and make it available on all compiles. (CVS 381) (user: drh branch: trunk)
2002-02-03
19:06
[94704a5733] part of check-in [20ea737536] Fix a serious bug in INSERT when the source is a SELECT. (CVS 366) (user: drh branch: trunk)
03:34
[6e9851f14e] part of check-in [95d1f8389d] The VACUUM command now does a database sanity check. (CVS 364) (user: drh branch: trunk)
00:56
[df1c920e74] part of check-in [0115518f8e] Five-algorithm conflict resolution appears to be working. (CVS 363) (user: drh branch: trunk)
2002-02-02
18:49
[3e9d9dba06] part of check-in [9be4d4c6f1] Get the ABORT conflict resolution algorithm working. (CVS 362) (user: drh branch: trunk)
2002-01-31
15:54
[8e6f1bfff6] part of check-in [d0e7cf4a83] Change to five conflict resolution algorithms: ROLLBACK, ABORT, FAIL, IGNORE, and REPLACE. This checkin is code only. Documentation and tests are still needed. Also, ABORT is not fully implemented. (CVS 360) (user: drh branch: trunk)
2002-01-30
16:17
[14667d889d] part of check-in [cf1538d71c] Added ON CONFLICT support to COPY. Updates to documentation. Bug fixes. (CVS 359) (user: drh branch: trunk)
00:54
[893fa63487] part of check-in [8229b5f6a3] More bug fixes in the ON CONFLICT enhancement. (CVS 357) (user: drh branch: trunk)
2002-01-29
23:07
[abd60d3736] part of check-in [ac8a4189e2] The new ON CONFLICT logic is in and passes the legacy tests. But the new capabilities have not been tested and are likely broken. (CVS 356) (user: drh branch: trunk)
18:41
[5e51f9dfc3] part of check-in [e00a9ff8f9] Beginning to insert the infrastructure for ON CONFLICT clauses. (CVS 355) (user: drh branch: trunk)
2002-01-28
15:53
[71c0b7d368] part of check-in [dbcfe198fb] Bug fix: The IN operator was not working if either side derived from an INTEGER PRIMARY KEY. (CVS 354) (user: drh branch: trunk)
2002-01-16
21:00
[158bab65e4] part of check-in [f74d61aaf3] Added the last_insert_rowid API function. Improved documentation of the random ROWID algorithm. (CVS 349) (user: drh branch: trunk)
2002-01-14
09:28
[7c64ac039a] part of check-in [f3038d218c] Fix warning messages in VC++. Patches from nicolas352001. (CVS 347) (user: drh branch: trunk)
2002-01-06
17:07
[b27b256a59] part of check-in [9b0be4fcc1] Comment updates most. Also some small changes to the VDBE. (CVS 339) (user: drh branch: trunk)
2002-01-04
03:09
[90a561f7b9] part of check-in [011be9a9d2] An attempt to delete a single row using a WHERE clause that specifies the rowid would result in an error if the rowid did not exist. This problem has been resolved. (CVS 338) (user: drh branch: trunk)
2001-12-31
02:48
[b00fbd59e4] part of check-in [18e606f748] Comment changes. Change the use of BTree so that either the key is an integer or the data is empty. (CVS 337) (user: drh branch: trunk)
2001-12-22
14:49
[f97e2d5bc6] part of check-in [29cab124b4] Bug fixing in the new integer primary key code. (CVS 334) (user: drh branch: trunk)
2001-12-21
14:30
[49227b5291] part of check-in [236a54d289] Added support for the INTEGER PRIMARY KEY column type. (CVS 333) (user: drh branch: trunk)
2001-11-13
19:35
[f1afb7a820] part of check-in [94ce828236] Bug fix: Sometimes NULL results were not being passed as nulls to the callback function. (CVS 312) (user: drh branch: trunk)
2001-11-12
13:51
[1942750d24] part of check-in [6b3ccb37bf] Update change log prior to release of 2.1.0. (CVS 311) (user: drh branch: trunk)
13:10
[43005a896d] part of check-in [8437076c25] Fix to the SUBSTR() function and to the bigrow test. (CVS 310) (user: drh branch: trunk)
2001-11-10
13:51
[807d648da2] part of check-in [2d2ad264aa] Comment changes (CVS 308) (user: drh branch: trunk)
2001-11-08
00:45
[b4cdc0017b] part of check-in [262bcd17df] The new code for taking advantage of inequalities in WHERE clauses is in place. It appears to work. (CVS 305) (user: drh branch: trunk)
2001-11-07
16:48
[66e82eb4d0] part of check-in [decbeb9151] New Next opcode and indexing style implemented. (CVS 304) (user: drh branch: trunk)
14:22
[24306643be] part of check-in [e6ca23fa45] Incremental update. We are in the middle of modifying the index system to support range queries without doing a complete table scan. (CVS 303) (user: drh branch: trunk)
2001-11-06
04:00
[9f6ff3444a] part of check-in [eb07768ae9] Implement indices that occur in sort order and the LIMIT...OFFSET clause of SELECT statements. (CVS 301) (user: drh branch: trunk)
2001-11-04
18:32
[a71e73e9a4] part of check-in [7dd58fad39] Increase maximum row size to 1MB. (CVS 300) (user: drh branch: trunk)
2001-11-01
14:41
[9e4fd512dd] part of check-in [e1370276c2] Remove cruft: restrict the number of sorters and lists in the VDBE to one since no more than one was ever used anyway. This eliminates several op-codes and simplifies the implementation of several others. (CVS 297) (user: drh branch: trunk)
13:52
[4b0df66646] part of check-in [b2cb118fb7] Comment changes only. (CVS 296) (user: drh branch: trunk)
2001-10-22
02:58
[aa28392b90] part of check-in [f8328a5f11] More changes for 2.0.7. (CVS 293) (user: drh branch: trunk)
2001-10-20
12:30
[0aea4e8588] part of check-in [a835658e50] 2.0.7 (CVS 292) (user: drh branch: trunk)
2001-10-19
16:44
[e326ff611c] part of check-in [8467d84fc6] Version 2.0.6 (CVS 291) (user: drh branch: trunk)
2001-10-18
12:34
[01617df843] part of check-in [22948fc685] Support for UTF-8 and ISO8859 characters in identifiers. Bug fix in the column name generator for selects (was coreing). (CVS 290) (user: drh branch: trunk)
2001-10-13
21:56
[0f8ea6ca59] part of check-in [26972afd64] Bug fix. Raised version number to 2.0.4. (CVS 288) (user: drh branch: trunk)
02:59
[dd65cd51bd] part of check-in [75e90cf09b] 2.0.3 (CVS 287) (user: drh branch: trunk)
01:06
[e26521af3d] part of check-in [288ef1247b] Remove the P3 and label arguments from the internal sqliteVdbeAddOp() function. This makes the code easier to read and perhaps smaller as well. (CVS 286) (user: drh branch: trunk)
2001-10-09
04:19
[594050d9a8] part of check-in [484b82d8a1] Fix the locking protocol. (CVS 280) (user: drh branch: trunk)
2001-10-08
13:22
[469c36ce2e] part of check-in [9368c62e40] Support for temporary tables added. Still need more testing. (CVS 279) (user: drh branch: trunk)
2001-10-06
16:33
[5c865988f8] part of check-in [b63b3f3684] Adding table column query capability to support ODBC. (CVS 278) (user: drh branch: trunk)
2001-09-27
15:11
[173892798e] part of check-in [116fdad068] Fixed the support of UNIQUE and PRIMARY KEY. (CVS 268) (user: drh branch: trunk)
03:22
[d3cf685bd9] part of check-in [34c42967f3] Added basic support for enforcement of UNIQUE on indices and primary keys. Support for addition constraints is to follow. (CVS 267) (user: drh branch: trunk)
2001-09-24
03:12
[13907958b9] part of check-in [a462c85083] Tests for inserting lots of data (~64K) into a single row of a table. (CVS 264) (user: drh branch: trunk)
2001-09-23
20:17
[c5cd3a5340] part of check-in [bb4313a94b] RowIDs are now always expressed in native byte order. (CVS 263) (user: drh branch: trunk)
19:46
[b36ba796ec] part of check-in [bd7d6a64af] Additional test cases with locking fixes. Also, make the code thread-safe. (CVS 262) (user: drh branch: trunk)
02:35
[7132265f44] part of check-in [337b3d3b2a] Fixes to the locking and rollback behavior. (CVS 261) (user: drh branch: trunk)
2001-09-22
18:12
[1cf36bea58] part of check-in [9114420dd0] Put in a generic hash table system in place of the various ad-hoc hash table scattered everywhere. Except, the page hash table in the pager is unchanged. (CVS 260) (user: drh branch: trunk)
2001-09-18
22:17
[efe564f482] part of check-in [22132ce18c] Fix a problem in GROUP BY with multiple columns. (CVS 255) (user: drh branch: trunk)
02:02
[21f5d1c541] part of check-in [8f28a83aba] Bug fixes. Trying to make it go faster. (CVS 254) (user: drh branch: trunk)
2001-09-16
00:13
[33dcb7068d] part of check-in [4e926efe2b] Disclaimed copyright. Preparing for release 2.0. (CVS 250) (user: drh branch: trunk)
2001-09-15
14:43
[5fac42c8de] part of check-in [8e2f3f751e] Separate columns in keys using nulls instead of tabs. (CVS 249) (user: drh branch: trunk)
13:15
[1568f67737] part of check-in [8fdec4d8b6] Limit the total data in a single row to 2^16-1 bytes. (CVS 248) (user: drh branch: trunk)
00:57
[d5bb5d8dda] part of check-in [14474fa144] Everything is working on Linux. This is release 2.0-Alpha-1. (CVS 246) (user: drh branch: trunk)
2001-09-14
16:42
[244c86e406] part of check-in [7da856cd94] Bug fixes and speed improvements. Delete is still slow. (CVS 244) (user: drh branch: trunk)
03:24
[47b256d122] part of check-in [e7b65e37fd] All tests now pass. But there are still issues. For example, inserts are way too slow. And additional tests are needed for new features. (CVS 243) (user: drh branch: trunk)
2001-09-13
21:53
[826fcc8527] part of check-in [62c7bd11bc] Many problems fixed. Many problems yet to go. (CVS 242) (user: drh branch: trunk)
16:18
[d7d30c1933] part of check-in [9ac8399c99] It runs. Simple tables can be created. INSERT and SELECT work. Much more testing is needed, however. (CVS 241) (user: drh branch: trunk)
15:21
[d5f0a2de64] part of check-in [991ce81150] The new Btree code runs, but it does not yet work. (CVS 240) (user: drh branch: trunk)
14:46
[f502b592d1] part of check-in [a0a1e701ab] The BTree changes are now integrated and the whole thing compiles and links. I have not yet tried to run it, though. (CVS 239) (user: drh branch: trunk)
13:46
[16dce6e16b] part of check-in [6ecc8b20d4] The code is in place to replace GDBM with BTree. But I have not yet attempted to compile it. I am sure the code contains bugs. (CVS 238) (user: drh branch: trunk)
2001-08-19
18:19
[b019394ebe] part of check-in [c15f6ffc4d] Add index access methods to the DBBE in preparation for adding a new DBBE for the btree.c module. (CVS 236) (user: drh branch: trunk)
2001-04-28
16:52
[f93be4414b] part of check-in [73a1ed6126] :-) (CVS 214) (user: drh branch: trunk)
2001-04-11
14:28
[ee5a6ab95c] part of check-in [86b30cd097] better handling of out-of-memory errors (CVS 207) (user: drh branch: trunk)
2001-04-05
15:57
[5f5be70468] part of check-in [8390f6521a] i18n changes (CVS 201) (user: drh branch: trunk)
2001-04-04
21:22
[eec6c26547] part of check-in [490d08a8c1] Clean up some compiler warnings (CVS 200) (user: drh branch: trunk)
11:48
[53de79aa21] part of check-in [35a8feed0d] Added transaction support (CVS 196) (user: drh branch: trunk)
2001-03-20
22:05
[aa14a8aef0] part of check-in [daea156e24] Enhancements to the DELETE command (CVS 194) (user: drh branch: trunk)
2001-02-19
23:23
[e8254ae39d] part of check-in [4fb52b4824] Repairs to the previous fix (CVS 186) (user: drh branch: trunk)
2001-01-15
22:51
[6e613f25b0] part of check-in [c6ffb7ec6a] continued progress toward version 2.0 (CVS 177) (user: drh branch: trunk)
2001-01-13
14:34
[46abf920b0] part of check-in [c0730217a0] Changes to the DBBE. Moving toward having many more backend driver choices. (CVS 176) (user: drh branch: trunk)
2000-12-10
18:35
[3ddd7e3d17] part of check-in [b46f9a317b] speed tweaks and documentation updates (CVS 170) (user: drh branch: trunk)
18:23
[a627f1df4c] part of check-in [ced90c3f93] speed tweaks and documentation updates (CVS 167) (user: drh branch: trunk)
2000-10-23
13:16
[a19d5cefdd] part of check-in [356cdd6486] documentation and speed updates (CVS 164) (user: drh branch: trunk)
01:08
[d69f691d1a] part of check-in [738e3e49f6] remove unnecessary code when NDEBUG is defined (CVS 163) (user: drh branch: trunk)
2000-10-19
14:42
[45d40d614a] part of check-in [757668bd64] make it a little faster (CVS 160) (user: drh branch: trunk)
01:49
[a876c75429] part of check-in [979ef5d5d6] Break out DBBE drivers into separate files. (CVS 157) (user: drh branch: trunk)
2000-10-16
22:06
[7acc17367d] part of check-in [f7ea08b931] Added an interrupt capability (CVS 153) (user: drh branch: trunk)
2000-10-11
19:28
[b8b0bc26d6] part of check-in [3f0f1fa1fc] Misc cleanup. Notes on compiling for Win95. (CVS 152) (user: drh branch: trunk)
2000-09-14
01:21
[c0e3d29d2e] part of check-in [ea0e32828f] better handling of exponential notation (CVS 145) (user: drh branch: trunk)
2000-08-28
16:21
[4dd50dbbfb] part of check-in [b8cec9b938] adding length() and substr() tests. fix shell.c bug (CVS 144) (user: drh branch: trunk)
15:51
[a2372aebfc] part of check-in [0eef538f3d] Added length() and substr() functions (CVS 143) (user: drh branch: trunk)
2000-08-02
12:26
[bdedf21230] part of check-in [67f8af377c] file format change (CVS 120) (user: drh branch: trunk)
2000-07-30
20:04
[4308e226d5] part of check-in [c686c6076a] documentation updates (CVS 112) (user: drh branch: trunk)
2000-07-29
13:06
[b9ce143993] part of check-in [3bf434d93a] better column labels in select results (CVS 110) (user: drh branch: trunk)
2000-07-28
14:32
[72b533a452] part of check-in [4fe8e51c24] added the sqlite_busy_handler() interface (CVS 109) (user: drh branch: trunk)
2000-06-21
13:59
[38cec3e88d] part of check-in [e1bf96a467] :-) (CVS 104) (user: drh branch: trunk)
2000-06-11
23:50
[00b2ab7e0c] part of check-in [0f93c27cdd] added the fcnt() function for testing (CVS 92) (user: drh branch: trunk)
2000-06-09
14:14
[ec66bc50ac] part of check-in [d573b431ed] :-) (CVS 91) (user: drh branch: trunk)
01:58
[b7fb724aa6] part of check-in [3661b5ff93] :-) (CVS 87) (user: drh branch: trunk)
2000-06-08
16:26
[cc5598c009] part of check-in [33355b2d8d] :-) (CVS 82) (user: drh branch: trunk)
15:10
[8a92c95cf6] part of check-in [61c381e7e6] :-) (CVS 81) (user: drh branch: trunk)
13:36
[37f3b0824f] part of check-in [bf98cf82a7] remove all memory leaks (CVS 80) (user: drh branch: trunk)
2000-06-07
15:39
[0ce44df13c] part of check-in [a00b81b0e1] :-) (CVS 73) (user: drh branch: trunk)
01:27
[d2ac31f6c0] part of check-in [5d2e72e4bd] :-) (CVS 66) (user: drh branch: trunk)
00:12
[221e46a1e9] part of check-in [80ee166ed1] :-) (CVS 65) (user: drh branch: trunk)
2000-06-06
22:13
[d78231479a] part of check-in [65d2100d33] :-) (CVS 63) (user: drh branch: trunk)
21:56
[562b12a9ba] part of check-in [f4d9089c5d] :-) (CVS 62) (user: drh branch: trunk)
19:18
[73c93464c4] part of check-in [25984b4d3c] :-) (CVS 61) (user: drh branch: trunk)
17:27
[7a4909b44a] part of check-in [db88a0c2d4] GROUP BY and HAVING installed (CVS 58) (user: drh branch: trunk)
13:54
[1ab61ada50] part of check-in [54d198189b] added IN and BETWEEN operators (CVS 57) (user: drh branch: trunk)
03:31
[7d00f9ff05] part of check-in [b52dd82fe3] :-) (CVS 56) (user: drh branch: trunk)
01:50
[03177425b1] part of check-in [bd8b2645cc] :-) (CVS 55) (user: drh branch: trunk)
2000-06-05
21:39
[e14cf771e4] part of check-in [e9ed5d2a36] added Agg opcodes to the vdbe (CVS 54) (user: drh branch: trunk)
18:54
[b8b78d0eaa] part of check-in [c02268bdf4] :-) (CVS 52) (user: drh branch: trunk)
16:01
[108f0e58be] part of check-in [ce45dea902] separate Select structure (CVS 51) (user: drh branch: trunk)
02:07
[c101c98de9] part of check-in [1cf2873d55] :-) (CVS 50) (user: drh branch: trunk)
2000-06-04
12:58
[35e1c8fce3] part of check-in [6ea5cebf05] rework the VDBE engine. NULL is now distinct from "" (CVS 49) (user: drh branch: trunk)
2000-06-02
23:22
[a584da66af] part of check-in [3e88142e90] :-) (CVS 45) (user: drh branch: trunk)
23:21
[fa1480df9b] part of check-in [cd83d3cfeb] :-) (CVS 44) (user: drh branch: trunk)
15:05
[3145ceb090] part of check-in [939adb4d37] :-) (CVS 40) (user: drh branch: trunk)
01:51
[a92f66fa70] part of check-in [d3c31defba] :-) (CVS 36) (user: drh branch: trunk)
01:36
[01e8a9e274] part of check-in [a57ecd606c] :-) (CVS 35) (user: drh branch: trunk)
01:17
[8631fdffc2] part of check-in [52338f4ab5] :-) (CVS 34) (user: drh branch: trunk)
2000-06-01
11:16
[e2190038a8] part of check-in [6b9056364e] :-) (CVS 33) (user: drh branch: trunk)
2000-05-31
20:00
[a60a9316f2] part of check-in [1f0c4ffd98] added DISTINCT on select (CVS 27) (user: drh branch: trunk)
15:34
[11d8e4f6e2] part of check-in [dee7a8be88] added aggregate functions like count(*) (CVS 21) (user: drh branch: trunk)
02:27
[74ff55bc29] part of check-in [01d85b35e9] :-) (CVS 20) (user: drh branch: trunk)
2000-05-30
16:27
[117ce55411] part of check-in [8d66c7355d] :-) (CVS 15) (user: drh branch: trunk)
2000-05-29
14:26
Added [80132b6bb9] part of check-in [6f3655f79f] initial check-in of the new version (CVS 1) (user: drh branch: trunk)