SQLite

Timeline
Login

100 check-ins occurring around 2a832b19b6.

2009-11-12
13:32
Factor out the code generator for BETWEEN into a subroutine. check-in: 5735f60b user: drh tags: trunk
05:04
Update comment for substrFunc(). Added additional SUBSTR() test cases. check-in: d7b3801d user: shaneh tags: trunk
04:26
Suppress unnecessary OP_Noop instructions on when the right table of a LEFT JOIN uses the index-only optimization. check-in: e8aec08b user: drh tags: trunk
03:46
Suppress excess OP_Null opcodes caused by binary IS or IS NOT operators that are converted into unary ISNULL or NOTNULL operators. check-in: cff1b36a user: drh tags: trunk
03:13
Adjustments to the implementation of LIMIT so that it uses fewer opcodes. check-in: 39d5b292 user: drh tags: trunk
2009-11-11
23:58
If the sector size is unspecified (initially 0) then set it to 512, not to 32. check-in: 8861b5c1 user: drh tags: trunk
23:48
Remove an obsolete (and incorrect) comment from sqlite3MemCompare(). No changes to code. check-in: c15b70b3 user: drh tags: trunk
20:53
Tweaks to the SUBSTR() function to make it dramatically faster in the common case where the input string is large but the 2nd and 3rd arguments are small positive integers. check-in: 5a474a86 user: drh tags: trunk
13:17
Allow media sector sizes as small as 32. The former minimum size was 512. check-in: 5a32bfc1 user: drh tags: trunk
04:17
Modified CLI to raise an error when extra command line options are passed. Added tests to verify correct handling, as well as other basic handling of command line options. Ticket [f5cb008a65]. check-in: 09b4f19f user: shaneh tags: trunk
01:14
Additional test cases for the coalesce() and ifnull() functions. check-in: d0591258 user: drh tags: trunk
00:24
Generate VDBE code for the built-in COALESCE() and IFNULL() functions. This allows unused arguments to never be evaluated, which is a performance win when the unused argument is a subquery. check-in: 30055b25 user: drh tags: trunk
2009-11-10
17:55
Additional intarray test cases and tweaks to comments. check-in: 0c8db5d8 user: drh tags: trunk
17:24
Initial implementation and test cases for the "intarray" virtual table. check-in: 0e7d2925 user: drh tags: trunk
17:07
Fix for datbase name being ignored with the -batch option in the CLI. Ticket [aeff892c57]. check-in: 8097c64a user: shaneh tags: trunk
01:30
Remove the obsolete "$Id:$" RCS identifier strings from the source code. check-in: f6c045f6 user: drh tags: trunk
01:13
Remove from the TCL interface some old code associated with sqlite3_analyzer. check-in: 01f2271e user: drh tags: trunk
01:12
Omit some code that is not used when SQLITE_SECURE_DELETE is defined. check-in: 5a9e7463 user: drh tags: trunk
2009-11-09
19:30
Fix for lock structure sharing with AFP-style locking check-in: 62f15c0a user: adam tags: apple-osx
2009-11-06
17:20
Improved shell "dot" command argument handling. Ticket [f12a9eeedc]. check-in: 9fb69919 user: shaneh tags: trunk
04:13
Fix the backup API so that a backup from an empty database to a non-empty database works. Ticket [0bf974bdf9]. The only changes are in assert() statements. check-in: ddb71cd9 user: drh tags: trunk
03:33
Merged accidental fork. check-in: d410cd4e user: shaneh tags: trunk
03:22
Add some very basic tests for the commands available from the CLI. check-in: 6bf43338 user: shaneh tags: trunk
2009-11-05
18:46
Recover an ophaned branch that resulted from some ill-advised "shunning". This check-in should be identical to [bd443f39a9] except that it should be on the trunk. check-in: 38eaf1ab user: drh tags: trunk
18:31
Fix an undefined variable on non-Mac builds. check-in: 9552de8f user: drh tags: apple-osx
17:27
Do not limit the trigger recursion depth when SQLITE_SMALL_STACK is defined since trigger recursion uses the heap, not the stack. Closed-Leaf check-in: bd443f39 user: drh tags: shunning-error
16:29
Add a comment related to code coverage. No changes to code. check-in: 6bdc2c99 user: drh tags: shunning-error
04:14
Update maxRow size after shrinking the row buffer (CSV). Closed-Leaf check-in: d474195a user: shaneh tags: csv_ext
04:01
Removed line limit on rows. check-in: ec08b15f user: shaneh tags: csv_ext
02:34
Initial implementation of a virtual table for CSV files. check-in: 90e63b7d user: shaneh tags: csv_ext
2009-11-04
23:02
Fix a typo on the ynVar typedef that unfortunately caused 3.6.20 to be released with a "bug" that causes excess memory usage for Expr objects. This bug should be benign in the sense that the correct answer is still always obtained - it only uses more more memory than is really necessary. check-in: f1c09aca user: drh tags: shunning-error
21:49
Do not accept a codec no an in-memory database. check-in: 6f3081a8 user: drh tags: shunning-error
18:51
Fix documentation typos. check-in: 590d4ac1 user: drh tags: shunning-error
13:30
Version 3.6.20 check-in: eb7a544f user: drh tags: trunk, release
13:17
Create a new datatype "ynVar" to hold "nVar" (number of variable) values. This is normally 16-bits can can be 32-bits if SQLITE_MAX_VARIABLE_NUMBER is large enough. check-in: 24a4d520 user: drh tags: trunk
01:56
Report errors back up to the ATTACH command if the codec fails to initialize. check-in: a6c69610 user: drh tags: trunk
2009-11-03
22:34
Customizations for OSX contributed by Apple. check-in: 941a01eb user: adam tags: apple-osx
19:42
Fix compiler warnings on MSVC build. check-in: 01c4b5b8 user: shane tags: trunk
19:18
Enhancements to lemon to generate more compact action tables and to avoid making array bounds tests that can never fail on action table calculations. check-in: 27d8e684 user: drh tags: trunk
13:08
Force all qsort() calls in mkkeywordhash.c to be stable so that we get predictable results on different platforms. check-in: 3b02df27 user: drh tags: trunk
13:02
Adjust the lemon implementation so that it always computes the same PDA regardless of qsort() implementation on the host platform. In other words, make all sorts in lemon stable. check-in: d66a0f31 user: drh tags: trunk
01:22
All SQLITE_MAX_VARIABLE_NUMBER to exceed 32767. The sizes of some structures increase when the compile-time parameter is configured this way. check-in: 16a24b44 user: drh tags: trunk
2009-11-02
18:44
Bug fix in the recent changes to mkopcodeh.awk. check-in: 6610cac4 user: drh tags: trunk
18:14
Update the generator AWK script for opcodes.h so that it always generates opcode numbers in the same order and is not dependent on the hash order of opcode names within AWK. check-in: e730195f user: drh tags: trunk
18:01
Do not insert the date and time of generation into the amalgamation. check-in: 9f6cf13d user: drh tags: trunk
17:40
Update the configure script for version 3.6.20. check-in: f19cb105 user: drh tags: trunk
15:51
Comment changes in support of better documentation. No changes to code. check-in: 79ab4714 user: drh tags: trunk
2009-11-01
19:26
Fix compiler warnings. Better comments on some variables associated with LIKE/GLOB processing in the query planner. check-in: cfa2db0f user: drh tags: trunk
2009-10-30
14:27
Increase the version number to 3.6.20. check-in: 61295274 user: drh tags: trunk
13:26
Version 3.6.16.1 Leaf check-in: 2a832b19 user: drh tags: release, branch_3_6_16
13:25
Avoid storing the result register for EXISTS and SELECT in any field of the Expr object - simply return the register number as the return value of the function that codes those expressions. check-in: 7253f8fa user: drh tags: trunk
2009-10-29
18:38
Fix a 16-bit integer overflow that might occur in statements that use both an EXISTS clause and IN operator with a RHS holding in excess of 32K entries. check-in: 65a1f133 user: drh tags: branch_3_6_16
13:48
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. check-in: e7984ad2 user: drh tags: trunk
2009-10-27
18:06
Minor updates and corrections to comments in btreeInt.h. No changes to code. check-in: ad949fa1 user: drh tags: trunk
2009-10-26
22:32
Remove additional obsolete code from the sqlite3_release_memory() logic. check-in: 2eeb6ed8 user: drh tags: trunk
22:08
Remove some obsolete code within #if 0 that was causing developer concern. check-in: 1d64e945 user: drh tags: trunk
2009-10-24
15:51
Fix a compiler warning that occurs when building the TCL interface. check-in: fc36034b user: drh tags: trunk
03:04
Another attempt at getting the pTail pointer computations correct for sqlite3_prepare16(). Ticket [3fe897352e]. check-in: a96b4e8c user: drh tags: trunk
02:06
In shell, modified to not print informational messages during startup while in "batch mode". Ticket [2cb66577f6]. check-in: e3898e25 user: shane tags: trunk
02:00
In shell, changed ".tables" command to not add '%' to specified pattern. This is consistent with other commands that take a LIKE pattern (.dump, .schema, .indices). Updated internal help to better describe LIKE pattern usage. Fixed a few more inconsistencies in error messages. Ticket [6da68f691b]. check-in: 7201244e user: shane tags: trunk
01:55
Check-in [19064d7cea] broke the pTail return on sqlite3_prepare16() when the SQL contained surrogates. This check-in restores correct function. Part of ticket [3fe897352e]. check-in: 65b1e3a4 user: drh tags: trunk
2009-10-23
18:15
Make sure that UTF16 to UTF8 conversions to not read past the end of the UTF16 input buffer if the last two bytes of the UTF16 happen to be the first half of a surrogate pair. Ticket [3fe897352e] check-in: 19064d7c user: drh tags: trunk
01:27
In shell, ensure that do_meta_command() returns consistent error values. Adjusted the text of some error message to be more consistent. Ticket [beb2dd69ad]. check-in: 1ebac9ed user: shane tags: trunk
00:37
In shell, modified "import" handling to ensure error code returned correctly on exit. Ticket [bd770b2c52]. check-in: 009efad0 user: shane tags: trunk
2009-10-22
21:23
In shell, reworked .header and .echo handling. Updated shell_exec() to (really) handle multiple statements. Tickets [72adc99de9], [7b61b6c6ce], and [eb620916be]. check-in: 790402c1 user: shane tags: trunk
20:52
Merge the MD5 checksum logic into the TCL interface. This facilitates building a tclsh that contains both SQLite and MD5. The plan is to use this augmented tclsh to help build the documentation. check-in: a024c0a8 user: drh tags: trunk
20:50
Add some sample requirement implementation comments to where.c. check-in: 9854ad00 user: drh tags: trunk
18:12
In shell, in shell_exec() logic, use type info if available when outputting in "insert" mode for other types in addition to blobs. Changed shell_exec() to use sqlite_prepare_v2(). Ticket [72adc99de9] and [7b61b6c6ce]. check-in: ab99faca user: shane tags: trunk
17:30
Updated shell to output blobs in X'1234' form when in "insert" mode. Ticket [72adc99de9]. check-in: a2ad9e63 user: shane tags: trunk
00:20
Add markings on test evidence for R-30323-21917. check-in: e51af74c user: drh tags: trunk
00:14
Mention the sqlite3_column_count() function on the same documentation page with all of the other sqlite3_column... interfaces. check-in: 5354ace5 user: drh tags: trunk
2009-10-21
14:33
Merge accidental fork back to trunk. check-in: f63397ad user: shane tags: trunk
14:11
Modified shell to call output_html_string() for header values in .mode html. Updated output_html_string() to support the 5 basic HTML entities (<,>,&,',"). Ticket [dc3a6e5b31]. check-in: c8815fcd user: shane tags: trunk
13:53
Made detectSchemaProblem function and aSchemaTable array static. Ticket [6f8b0c5855]. check-in: c6f22f3e user: shane tags: trunk
13:48
Add evidence marks to parse.y. Fix a broken evidence link in e_fkey.tcl. check-in: 0441d28e user: drh tags: trunk
03:56
For the shell, changed the output of the errors on lines 2910 and 2914 to goto stderr. I left the timer values going to stdout as all of the other interactive shell commands (startup banner, help, etc.) go to stdout and I felt this was more consistent. Ticket [43db771bb2]. check-in: 8a8eeb0c user: shane tags: trunk
03:42
For Windows version of shell, add support for .timer command using the GetProcessTimes() API if available (in the same way getrusage() is used on UNIX.) Ticket [89668ca167]. check-in: 83216fbe user: shane tags: trunk
02:00
For Windows VFS, modified xGetLastError() to call FormatMessage() with the FORMAT_MESSAGE_IGNORE_INSERTS option. Additionally updated to ensure strings are returned as UTF8. Ticket [39c85e8a4e]. check-in: 761396f8 user: shane tags: trunk
2009-10-20
15:27
Clarify the use of sqlite3_shutdown(). Ticket [f9af981dd2a2]. Comment changes only - no changes to code. check-in: b2aa48b5 user: drh tags: trunk
15:01
Fix the VACUUM command so that when the MAIN and TEMP databases have identically named tables, content from the TEMP database does not accidently overwrite MAIN database content. Ticket [d82e3f3721296e905d7e8c9dee718f71a826b0eb]. Note that this bug could potentially lead to database corruption. check-in: 0bbd8d72 user: drh tags: trunk
14:23
Remove all mention of sqlite3_next_stmt() from the documentation of sqlite3_close(). check-in: f494ed38 user: drh tags: trunk
14:08
Update documentation on the sqlite3_prepare_v2() interface. No changes to code. check-in: 3b00e769 user: drh tags: trunk
07:01
Fix cases where modifying bound variables using the clear_bindings() or transfer_bindings() APIs can invalidate a query plan. check-in: e6808c98 user: dan tags: trunk
2009-10-19
22:41
Remove an unreachable condition in the WHERE clause processing of bound parameters and replace it with an assert(), for test coverage. check-in: 3bcd78a1 user: drh tags: trunk
20:15
Fix an incorrect assert() in vdbeUnbind(). check-in: 651c1efb user: drh tags: trunk
18:30
Fix an assert() that may fail if sqlite3_step() is called on a statement after a previous call has already returned SQLITE_SCHEMA. check-in: 63bf7345 user: dan tags: trunk
18:11
Remove the sqlite3_reoptimize() API. The same functionality is now provided automatically to queries prepared using prepare_v2(). check-in: 2c50b3d5 user: dan tags: trunk
15:52
When generating WHERE clause terms internally for NATURAL and USING joins, identify the table by its position in the FROM list, not by its name or alias. Fix for [b73fb0bd64]. check-in: 6fe63711 user: dan tags: trunk
07:50
Use 64-bit arithmetic in the xRead() method of asyncRead. Fix for [94c04eaadb]. check-in: ca3e41b0 user: dan tags: trunk
2009-10-17
14:19
Fix a problem in the icu.test script. check-in: 8a21fdaf user: dan tags: trunk
13:13
Make sure the target register is allocated before adding the bogus OP_Variable opcode in isLikeOrGlob(). Bugfix for the new sqlite3_reoptimize() logic. check-in: e74f8dc4 user: drh tags: trunk
08:26
Add documentation comment for new experimental API sqlite3_reoptimize(). check-in: c48f8ffe user: dan tags: trunk
2009-10-16
16:21
Merge the sqlite3_reoptimize() changes into the trunk. check-in: 50136840 user: drh tags: trunk
15:59
Fix a problem in the analyze3.test script. Closed-Leaf check-in: 61174aea user: dan tags: experimental
15:19
Remove a mutex reference leak from sqlite3_reoptimize(). check-in: 9f093706 user: dan tags: experimental
15:05
Comment cleanup in btree.c. check-in: 32966ba4 user: drh tags: trunk
14:55
Experimental fix for [f777251dc7]. This may be changed yet. check-in: 174477bc user: dan tags: trunk
13:23
Fix comment typos in btreeInt.h. check-in: 550566a7 user: drh tags: trunk
2009-10-15
23:03
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]. Closed-Leaf check-in: f256bc07 user: drh tags: trunk, experimental
19:45
On any rollback, immediately interrupt all running statements on the same database connection. This is a partial fix for ticket [f777251dc7]. Closed-Leaf check-in: c304b44c user: drh tags: experimental