SQLite

Timeline
Login

100 check-ins occurring around 7d68a42fac.

2015-01-27
13:17
Fix a (almost always harmless) read past the end of a memory allocation that comes about because the Expr.pTab field is checked on an EXPR_REDUCEDSIZE Expr object before checking the Expr.op field to know that the Expr.pTab field is meaningless. check-in: e098de69 user: drh tags: trunk
2015-01-25
20:19
The va_list argument cannot take on a NULL value and cannot be compared with NULL on some platforms (ex: ARM). So do not attempt to do so. check-in: 1964e656 user: drh tags: trunk
2015-01-24
19:57
Have fts5 store rowids in ascending order. Query speed is virtually the same regardless of rowid order, and ascending order makes some insert optimizations easier. check-in: 5206ca60 user: dan tags: fts5
12:12
In the command-line shell, make sure stderr is unbuffered so that it automatically flushes. This has always been the case already for unix and on Windows when the output is a console, but apparently was not the case on Windows when the output was a pipe. check-in: 2a9ea9b4 user: drh tags: trunk
2015-01-23
17:43
Fix compression of keys stored on internal segment b-tree nodes by fts5. check-in: 51444f67 user: dan tags: fts5
06:50
Remove some redundant code from fts5. check-in: 939b7a5d user: dan tags: fts5
2015-01-22
19:13
Add further tests and fixes for fts5. check-in: 5b295897 user: dan tags: fts5
12:00
Make sure errors in the FROM clause of a SELECT cause analysis to abort and unwind the stack before those errors have a chance to mischief in the "*" column-name wildcard expander. Fix for ticket [32b63d542433ca67]. check-in: 9e6eae66 user: drh tags: trunk
11:29
Change the undocumented ".selecttrace" command in the shell to accept an integer bitmask rather than a boolean. check-in: bd63bf88 user: drh tags: trunk
2015-01-21
20:30
Further tests and fixes for fts5. check-in: c020a291 user: dan tags: fts5
18:23
Fix an fts5 issue with loading doclist-indexes for a term that is the last thing on its leaf page. check-in: e0d61442 user: dan tags: fts5
17:20
Merge trunk changes with this branch. check-in: f8699a1a user: dan tags: fts5
17:00
Fix an assert() that may fail following an OOM error. check-in: 5f592359 user: dan tags: trunk
16:10
Add further tests for fts5 backend. check-in: 09dabb3b user: dan tags: fts5
06:36
Merge latest trunk changes with this branch. check-in: b3348b1e user: dan tags: fts5
00:51
Fix harmless compiler warning seen with MSVC. check-in: 78c2e62b user: mistachkin tags: trunk
00:48
Enhancements to entropy generation for the Win32 VFS. check-in: 26190b3c user: mistachkin tags: trunk
2015-01-20
20:34
Add extra fault injection tests to fts5. check-in: f45a0dc0 user: dan tags: fts5
16:51
Version 3.8.8.1 check-in: f73337e3 user: drh tags: release, version-3.8.8.1, branch-3.8.8
03:04
Fix another instance of an incorrect value for KeyInfo.nXField on a sorting index. Ticket [f97c4637102a3ae72b79]. check-in: 0077f645 user: drh tags: trunk
02:51
Change the version number to 3.8.8.1 check-in: c75555a3 user: drh tags: branch-3.8.8
02:50
Fix another instance of an incorrect value for KeyInfo.nXField on a sorting index. More changes for ticket [f97c4637102a3ae72b79]. check-in: dc711db4 user: drh tags: branch-3.8.8
2015-01-19
21:38
Ensure that the KeyInfo.nXField value for ephemeral tables used to implement ORDER BY or GROUP BY clauses is set correctly, so that the sqlite3VdbeFindCompare() routine can choose the correct comparison function. Add assert() statements to the high-speed comparison functions to detect cases where they are inappropriately chosen. Fix for ticket [f97c4637102a3ae72b7911]. check-in: 59e592f6 user: drh tags: branch-3.8.8
21:36
Ensure that the KeyInfo.nXField value for ephemeral tables used to implement ORDER BY or GROUP BY clauses is set correctly, so that the sqlite3VdbeFindCompare() routine can choose the correct comparison function. Add assert() statements to the high-speed comparison functions to detect cases where they are inappropriately chosen. Fix for ticket [f97c4637102a3ae72b7911]. check-in: f7201bb0 user: drh tags: trunk
21:27
Improve precision of the new test case by removing a superfluous carriage-return from the shell command input. check-in: 913c41b2 user: mistachkin tags: expShell
21:11
Add comments and improve the new test case. check-in: 4ec2aead user: mistachkin tags: expShell
21:10
There are asserts in place now that will prevent a recurrence of ticket [f97c4637102a3ae7]. Nevertheless, it is good to add some test cases as well. Closed-Leaf check-in: e02959b9 user: drh tags: tkt-f97c4637
20:59
Make sure that the KeyInfo.nXField value of ephermeral tables used for ORDER BY and GROUP BY is set correctly, so that the correct comparison function can be choosen by sqlite3VdbeFindCompare(). check-in: c16bae5e user: drh tags: tkt-f97c4637
20:57
Fix the assert() of the previous check-in so that it works even when compiled without SQLITE_DEBUG. check-in: 38868f84 user: drh tags: tkt-f97c4637
20:22
Remove a shell function that is now superfluous. check-in: d8564f70 user: mistachkin tags: expShell
20:19
Merge updates from trunk. check-in: d9f4035b user: mistachkin tags: expShell
20:05
Fix compilation on Cygwin when SQLITE_MAX_WORKER_THREADS is greater than zero. check-in: 2037442c user: mistachkin tags: trunk
19:48
An alternative way of implementing the assert() that verifies the relative values of KeyInfo.nField+KeyInfo.nXField and the number of columns in a record. This version of the assert() only fires when the high-speed comparison routines are used - which is to say it only fires when the constraint actually matters. check-in: bf744b49 user: drh tags: tkt-f97c4637
19:21
An alternative way of fixing the key comparison bug of ticket [f97c4637102a3ae72b]. Closed-Leaf check-in: e41376cf user: drh tags: alt1-tkt-f97c4637
18:18
Strengthen the KeyInfo number-of-columns assert() added by the previous check-in. Closed-Leaf check-in: d0971b79 user: drh tags: tkt-f97c4637
17:28
Add an assert() to verify that the nField+nXField values of a KeyInfo object are never less then the number of columns in a row for a non-corrupt database. This assert() currently fails, which is the root of the problem with ticket [f97c4637102a3ae72b]. check-in: 083f523d user: drh tags: tkt-f97c4637
15:05
Enhance the command-line shell with the ability to set the SQLITE_TESTCTRL_NEVER_CORRUPT flag using: ".testctrl never_corrupt 1". check-in: 824328f9 user: drh tags: trunk
11:15
Handle the case where a tokenizer determines that there are zero tokens in an fts5 query term. check-in: 75f3d17f user: dan tags: fts5
07:42
Merge updates from trunk. check-in: c7167f88 user: mistachkin tags: expShell
00:35
Eliminate all use of sprintf(), strcpy() and strcat() from test logic because OpenBSD hates those functions. check-in: 10321910 user: drh tags: trunk
2015-01-18
20:30
Set binary mode for output on Windows when writing a quoted string that might contain newline characters. check-in: 7096e6c0 user: drh tags: trunk
09:02
Modify the new shell test case to work on non-Windows platforms as well. check-in: f362c5d9 user: mistachkin tags: expShell
05:35
Some experimental command line shell input/output enhancements. check-in: 25e99f3f user: mistachkin tags: expShell
01:50
Set the command-line shell stdin to binary mode on windows. check-in: 80541e8b user: drh tags: trunk
2015-01-17
20:01
Ensure an up to date copy of the fts5 configuration has been loaded into memory before attempting to modify the same configuration. check-in: f30afd20 user: dan tags: fts5
17:48
Improve the performance of the fts5 porter tokenizer implementation. check-in: 96ea6004 user: dan tags: fts5
15:26
Fix a harmless compiler warning the VFS for Windows. check-in: ceac571f user: drh tags: trunk
2015-01-16
19:35
Fix harmless compiler warning. Closed-Leaf check-in: cab46fb7 user: mistachkin tags: msvcWarn
12:44
Merge all 3.8.8 changes into the sessions branch. check-in: bebd131a user: drh tags: sessions
12:24
Merge the 3.8.8 release changes from trunk. check-in: 518621f8 user: drh tags: apple-osx
12:08
Version 3.8.8 check-in: 7d68a42f user: drh tags: trunk, release, version-3.8.8
2015-01-15
17:38
Fix the spelling of "malloc_usable_size" in configure and configure.ac. check-in: 8f45217c user: drh tags: trunk
15:47
Makefile enhancements: (1) Rename autoconf/tea/configure.in to autoconf/tea/configure.ac so that it works with the latest versions of autoconf. (2) Add the "amalgamation-tarball" targets to Makefile.in and main.mk (renamed from "dist" in the latter case). (3) Update the README.first file in autoconf/ (4) The TOP macro in Makefile.in is now an absolute rather than a relative path. check-in: 3bafeec9 user: drh tags: trunk
2015-01-14
17:16
Merge trunk 3.8.8 beta changes into the sessions branch check-in: 0ba12454 user: drh tags: sessions
2015-01-13
21:26
Simplify some code in rtree, to avoid confusing the optimizer in GCC on some macs: gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00). Prior to these changes, compiling with -O3 would cause incorrect code to be generated. The change to the nodeGetCell() routine is key. The other changes are merely cosmetic details discovered while bug hunting. check-in: 882181ff user: drh tags: trunk
17:25
Fix prefix indexes so that they work in characters, not bytes. check-in: af8d43a4 user: dan tags: fts5
01:12
Fix the e_walauto.test test module so that it works on both little-endian and big-ending machines. check-in: 5682db7b user: drh tags: trunk
2015-01-12
21:43
Fix harmless compiler warnings when using -W4 with MSVC. check-in: e693e11d user: mistachkin tags: trunk
20:25
Fix harmless compiler warning in an assert() statement. Closed-Leaf check-in: bdbeed01 user: mistachkin tags: msvcW4
20:20
Add two more classes of harmless MSVC compiler warnings. check-in: de30d5b0 user: mistachkin tags: msvcW4
19:59
Silence some harmless uninitialized local variable warnings. check-in: 44375a34 user: mistachkin tags: msvcW4
19:49
Harmless compiler warning fixes for 'testfixture' and the miscellaneous extensions when built with the MSVC makefile. check-in: 923fd660 user: mistachkin tags: msvcW4
18:52
Merge updates from trunk. check-in: ca5f2c54 user: mistachkin tags: msvcW4
18:52
Get things compiling cleanly with MSVC and W4. check-in: c8725fa5 user: mistachkin tags: msvcW4
18:38
Fix some harmless compiler warnings. check-in: 2b8eecbf user: mistachkin tags: msvcW4
18:27
Fix comments and add another disabled warning for MSVC. check-in: 43b6b4cc user: mistachkin tags: msvcW4
18:02
Work in progress on fixing harmless compiler warnings when using -W4 and MSVC. check-in: 856dd245 user: mistachkin tags: msvcW4
17:58
Optimize the unicode61 tokenizer so that it handles ascii text faster. Make it the default tokenizer. Change the name of the simple tokenizer to "ascii". check-in: f22dbcca user: dan tags: fts5
17:56
Add an assert() in order to calm a scan-build warning. check-in: 11e81ac2 user: drh tags: trunk
2015-01-10
20:34
Fix some documentation issues in fts5. check-in: 512e1bdb user: dan tags: fts5
18:22
Add detection of the isnan() library function to the configure script. Make the code responsive to the HAVE_ISNAN configuration option. check-in: 46f3aba2 user: drh tags: trunk
18:02
Make use of the fdatasync() interface if the HAVE_FDATASYNC macro is true. check-in: 694228e4 user: drh tags: trunk
16:49
Improvements to compile-time-option hygiene. Use "#if OPTION" instead of "#ifdef OPTION" in cases where that makes sense, so that -DOPTION=0 will work. Add the "Have-Not" configuration in releasetest.tcl which disables all of the "HAVE_component" compile-time options. check-in: 9e92a5ed user: drh tags: trunk
15:21
Add the ability to put comments in the Config and Platform setup sections of the releasetest.tcl script. check-in: d6f8c899 user: drh tags: trunk
14:27
Autoconf configure script updates: (1) remove the long-obsolete --enable-cross-thread-connections option. (2) remove the --with-hints= options. (3) Extension loading is enabled by default. (4) Check for strchrnull() (5) Update the --help text. check-in: 5004063c user: drh tags: trunk
2015-01-09
21:54
Change the testfixture binary so that it explicitly enabled core files on a crash (on unix). Add a test case to verify that this works. check-in: 90f422ed user: drh tags: trunk
20:00
Add SQLITE_ENABLE_STMT_SCANSTATUS to the Update-Delete-Limit configuration in the releasetest.tcl script. check-in: c70d5eda user: drh tags: trunk
19:45
Remove an unused preprocessor macro from pcache.c. check-in: 88a7a967 user: drh tags: trunk
19:36
Improvements to the sqlite3_stmt_scanstatus() documentation. No changes to code. check-in: 9309c9bc user: drh tags: trunk
01:27
Fix three crash problems discovered by afl-fuzz. Ticket [a59ae93ee990a55]. check-in: fe578863 user: drh tags: trunk
00:38
Add the "ascii" mode to the command-line shell. check-in: e1518a94 user: drh tags: trunk
2015-01-08
22:08
Omit modules from the "valgrind" permutation that fork off separate processes. Also omit selectG.test because it is timing sensitive and valgrind is too slow to get the right answer. check-in: 662932a6 user: drh tags: trunk
20:06
Merge recent enhancements from trunk, including test scripts enhancements and the removal of limits on the number of terms in a VALUES clause. check-in: 5a2dec55 user: drh tags: sessions
19:55
Merge the testing enhancements and the unlimited VALUES enhancement from trunk. check-in: cc780842 user: drh tags: apple-osx
16:47
Try to fix up the "valgrindtest" target in Makefile.in so that it avoids misuse testing that can trigger false errors. check-in: 50b5a8af user: drh tags: trunk
02:28
Fix the extension tags on the "smoketest" makefile target for Windows. check-in: 826fd311 user: drh tags: trunk
02:15
In releasetest.tcl: (1) Add the Failure-Detection platform. (2) Re-add the --disable-shared argument on Default that was mistakenly removed by the previous commit. (3) Remove the -ftrapv tests, as we read that -ftrapv does not work in GCC. check-in: 1f2fb777 user: drh tags: trunk
01:05
In releasetest.tcl: add options --veryquick and pass-through compiler optimization settings (ex: -O0). Collect the SQLite version number from the main.test output and show it during the summary report at the end. check-in: e7e7bc1d user: drh tags: trunk
2015-01-07
19:38
In releasetest.tcl, always use --disable-shared together with --disable-amalgamation because mingw generates a binary that crashes and cannot be debugged using gdb if you don't. check-in: 19982439 user: drh tags: trunk
19:33
Add the fts5 'optimize' command. check-in: e749be56 user: dan tags: fts5
18:44
In releasetest.tcl, copy certain command-line arguments (-g, -D..., etc) down into each test run. check-in: 889864b5 user: drh tags: trunk
18:19
Modify the valgrind target to be consistent with regard to target suffixes. check-in: dc4aa732 user: mistachkin tags: trunk
18:11
Fix threads-enabled builds on Windows when the amalgamation is not in use. check-in: 9b92a4d2 user: mistachkin tags: trunk
17:11
Add the 'rebuild' and 'delete-all' commands. check-in: 0cb2fed5 user: dan tags: fts5
14:41
In releasetest.tcl, change the --dryrun option to work as it does in multitest.tcl of TH3. Add the new --trace option that work like the --dryrun option used to work. Add the ability to specify additional configure-script options in the Config array, and create configurations that use --disable-shared and --disable-amalgamation for testing. check-in: be17ef03 user: drh tags: trunk
14:09
Add a valgrind test to the Linux-x86_64 platform in releasetest.tcl. check-in: 4b6df035 user: drh tags: trunk
2015-01-06
21:31
Fix a problem in the unix implementation of FCNTL_SIZE_HINT on systems that do not support posix_fallocate(). check-in: af20eae1 user: dan tags: trunk
19:08
Remove the iPos parameter from the tokenizer callback. Fix the "tokenchars" and "separators" options on the simple tokenizer. check-in: 65f0262f user: dan tags: fts5
16:53
Improved and more rigorous test of large VALUES clauses. check-in: 6917d9f4 user: drh tags: trunk
14:38
Further fixes and test cases related to external content tables. check-in: ce6a899b user: dan tags: fts5