drh
7ec5ea942e
Make the sqlite3_result_double() interface work the same as
...
sqlite3_result_int64() when SQLITE_OMIT_FLOATING_POINT is defined.
FossilOrigin-Name: 61df5986600b6c9e6d5c42efc0067a27fe54251f
2010-01-13 00:04:13 +00:00
drh
6a9c64b363
Make sure internal queries are well ordered, even when the
...
reverse_unordered_selects pragma is in effect.
Ticket [eb942c64a157].
FossilOrigin-Name: 0209f17180065d9c213b6c437be1c3c40660665f
2010-01-12 23:54:14 +00:00
drh
2b1e690ff1
Fix the implementation of CURRENT_TIMESTAME and CURRENT_DATE when
...
SQLITE_OMIT_DATETIME_FUNCS is defined.
FossilOrigin-Name: eb98265b59db59965b468a7070739921da55efc4
2010-01-12 19:28:20 +00:00
dan
f596da5cc6
Update comments in fts3_snippet.c.
...
FossilOrigin-Name: dd9689b7c31861484f8d8062478ae73d3c940902
2010-01-12 17:57:30 +00:00
drh
13573c71d8
Use #ifdefs to disable unused code when SQLITE_OMIT_FLOATING_POINT is defined.
...
FossilOrigin-Name: 66bab8561926963a87f15ad559cba36545c9892c
2010-01-12 17:04:07 +00:00
drh
ab2f1f9560
Add a few documentation evidence comments to the built-in function
...
implementations.
FossilOrigin-Name: 8bd0f8147dbf75367243b3eecfb705da6e794ab7
2010-01-11 18:26:42 +00:00
dan
9a34020f05
Modify snippets code to run more efficiently. And to avoid a bug relating to snippets based on full-text queries that contain duplicate terms.
...
FossilOrigin-Name: a2b1183d9e9898d06d623b342bbb552e85a9b3f6
2010-01-11 12:00:47 +00:00
dan
1a54b8ecfa
Fix handling of an OOM error in the fts3 offsets() function. Fix a couple of snippet related test cases in e_fts3.test.
...
FossilOrigin-Name: 14dc46a74aafe44c0bf7dffd26268395b2c5edb2
2010-01-09 07:33:54 +00:00
drh
819443e506
Update comments in fts3.c to more accurately describe the doclist format.
...
FossilOrigin-Name: e424a0307359fee6875424c10ecad1a10acfba0e
2010-01-08 23:01:32 +00:00
shaneh
0a7905295c
Added option to dump pages.
...
FossilOrigin-Name: 08c545f03082421166a21274b39e07bb348c17e6
2010-01-08 04:50:22 +00:00
shaneh
d61fa23290
Minor tweaks to restore_jrnl.tcl utility script.
...
FossilOrigin-Name: b97aca1200d959a1e7c08dd4e9dbce4724342119
2010-01-07 22:02:34 +00:00
shaneh
ea6800c5c4
Small tool that attempts to repair a journal header.
...
FossilOrigin-Name: 05b18b5f6a38f513ff49656faada725eb44715b7
2010-01-07 21:49:48 +00:00
drh
1d9da70ad7
Fix the expression comparison logic to take the COLLATE operator into account.
...
Ticket [360c6073e197]
FossilOrigin-Name: 44bb1bfe5dedd8054ddd933941ee4112ed8d3b68
2010-01-07 15:17:02 +00:00
dan
93a696f61b
Changes to test code so that testfixture compiles when OMIT_SHARED_CACHE and OMIT_UTF16 are defined.
...
FossilOrigin-Name: d6ee5ff6c815e3aadd92d331560b529394eae661
2010-01-07 11:27:30 +00:00
dan
3174598a64
Fixes to problems in FTS3 snippet() function found by th3 tests.
...
FossilOrigin-Name: 3b5ccd2682176929f4da8a3f39a7e8f58b179f18
2010-01-07 10:54:28 +00:00
drh
8dc3e8f3e6
Another attempt at fixing the table generator in lemon. Again, this does
...
not effect the SQLite grammar.
FossilOrigin-Name: e22c090f35b3a2bac64781d33aa1123ed765dbbf
2010-01-07 03:53:03 +00:00
dan
c06013dca7
Fix a segfault that can occur following an OOM in the FTS3 snippet() function
...
FossilOrigin-Name: c7e5966e3b031672f149d0b6e1f75f9bc40868fa
2010-01-06 18:36:27 +00:00
dan
b023b04fcb
Change the fts3 snippet function to return (hopefully) more relevant snippets in less time.
...
FossilOrigin-Name: 8a208223a74d451f60d9cd707d63fb7d157d1737
2010-01-06 17:19:21 +00:00
drh
cf3e518506
Fix an issue with lemon generating incorrect grammars. This issue does
...
not effect SQLite.
FossilOrigin-Name: 077a6bee2dd4668a5b13c37aa7d4c052350ec782
2010-01-06 13:07:30 +00:00
drh
ac0e8fe946
Version 3.6.22 Release Candidate 2
...
FossilOrigin-Name: 28d0d7710761114a44a1a3a425a6883c661f06e7
2010-01-05 15:30:36 +00:00
shaneh
bb6b9878d7
Removed compiler warnings in MSVC.
...
FossilOrigin-Name: 4ecb4725b76042ac414caf90039d5d0a5f8f7068
2010-01-05 14:18:54 +00:00
drh
3918795951
Make sure new pages are zeroed even when loading a freelist page using the
...
noContent option. This prevents a harmless valgrind warning.
FossilOrigin-Name: e47e213369a2652d7eb6bddd58617959e21ca82b
2010-01-05 13:40:35 +00:00
dan
4564cedd80
Fix a problem in the shell tool. In some cases sqlite3_errmsg() was being called before sqlite3_finalize(), causing error messages to be more generic than they should be.
...
FossilOrigin-Name: e5d07045fabe0803715cfb291aa9e971235cb08a
2010-01-05 04:59:56 +00:00
drh
10f864e8ef
In the debugging memory allocator, initialize new memory allocations to
...
pseudo-randomness in an effort to find problems with memcmp() of structures
that have uninitialized pad bytes.
FossilOrigin-Name: 6462817b2f817a6105449b0ea3e1e336e42571d1
2010-01-05 03:30:15 +00:00
drh
9061ad10bc
Fix a case in os_unix.c where two structures that might have uninitialized
...
padding bytes are compared using memcmp().
FossilOrigin-Name: e02f25560216c7c96c5e1c7e71a8531650b3a96f
2010-01-05 00:14:49 +00:00
drh
6070f7eed4
Version 3.6.22 Release Candidate 1
...
FossilOrigin-Name: 9d8ab0f1f5ea4f05a685ea6541f501532514e8c5
2010-01-04 13:30:15 +00:00
dan
a98af17af6
Add experimental implementation of FTS3 functions matchinfo() and snippet() (not enabled by default).
...
FossilOrigin-Name: 51f7ee844057086789dcfcdcba7daf45343cae62
2010-01-02 19:02:02 +00:00
drh
855787a1b3
Fix a bug in the new sqlite3_test_control case of the previous check-in.
...
FossilOrigin-Name: 3b77701bc854997346e9cc33fe64d00d4b6332bd
2010-01-02 03:46:43 +00:00
drh
0e857739c4
Add a new sqlite3_test_control() verb that facilitates testing that all
...
keywords are shown in the documentation. (Two keywords were found to
be missing while testing the change.)
FossilOrigin-Name: d3cdc4b12be7f1ed2249ad210482200868956d12
2010-01-02 03:21:35 +00:00
drh
c79c761f84
Add evidence marks associated with autoincrement.
...
FossilOrigin-Name: 0e918c54893c361fb005295847f89aadcbfae35d
2010-01-01 18:57:48 +00:00
drh
5cfa584831
Add comments and an assert() to help clarify the operation of the
...
sqlite3VdbeList() routine used to implement EXPLAIN.
FossilOrigin-Name: e1ccdb93d79a6f7b16f1f59cc3ad78f8d02eae84
2009-12-31 20:35:08 +00:00
shaneh
f33a7a8cef
Minor changes to test scripts to support various SQLITE_OMIT options.
...
FossilOrigin-Name: 97f8a886b6314b044a0522a88f569798fdfb3ef9
2009-12-31 19:48:29 +00:00
shaneh
46aae3c0da
Changes to remove warnings in MSVC build.
...
FossilOrigin-Name: 6cf76c2ae25d6e58926637ecd42eed6b300b1a25
2009-12-31 19:06:23 +00:00
drh
9ede952ab5
Change evidence marks to track requirement number changes in the foreign-key
...
documentation.
FossilOrigin-Name: 6b4fcd81e775ff4c5d7bc454378555cf73cf5772
2009-12-31 15:51:38 +00:00
drh
faceaf1ffd
Change the version number to 3.6.22.
...
FossilOrigin-Name: 96919a46bbd63cb1794c8eb96b6ad23ecc09ba6b
2009-12-30 14:19:11 +00:00
drh
f49f352320
Adjustments to column cache handling in order to restore 100% branch
...
test coverage.
FossilOrigin-Name: cc6b959bc1f968e08eea1afd387201d70a0c1e80
2009-12-30 14:12:38 +00:00
drh
27ee406e2c
Remove some code in the column cache that is no longer used. Replace it with
...
an assert().
FossilOrigin-Name: 1f890efb7863bd743b9f6ef841e0c0c4e67d76e1
2009-12-30 01:13:11 +00:00
drh
c82b7513bf
Remove obsolete comment text from expr.c. No functional code changes.
...
FossilOrigin-Name: 84058be0beb799bc989d73a8d4cd8791ab709395
2009-12-30 00:12:39 +00:00
drh
25e978df92
Within the special new.* and old.* tables of a trigger, recognize all the
...
original table names even if those names overload the "rowid", "oid", or
"_rowid_" special names. Ticket [34d2ae1c6d0].
FossilOrigin-Name: 1a0e5fa9f0ff792c678c99d49960601a0cef925b
2009-12-29 23:39:04 +00:00
dan
8718183ea5
Fix a bug triggered by optimizing an FTS3 table when there are no segments on disk but pending terms in the hash table.
...
FossilOrigin-Name: a3b50e4f80ca2dacc1f72435b8c72d55ffdb64e7
2009-12-29 10:32:36 +00:00
drh
b6da74ebd5
Immediately purge entries from the column cache when the associated register
...
undergoes an affinity change. Ticket [eb5548a849]. Enhance the
SQLITE_TESTCTRL_OPTIMIZATIONS setting of sqlite3_test_control so that it
can disable the column cache for testing purposes, in an effort to prevent
future problems of a similar nature to this one.
FossilOrigin-Name: ea4e57e1c1b6663ceb12872e31a8503f6c14e3d8
2009-12-24 16:00:28 +00:00
drh
07096f68ae
Move the query flattener turn-off from a pragma to an sqlite3_test_control()
...
call. Make provisions (not yet implemented) to turn off other optimizers
using the same call.
FossilOrigin-Name: 4a97c623f4e190134de4b2ca406e311034a74797
2009-12-22 23:52:32 +00:00
dan
3540c1f7b8
Add the experimental FTS3 matchinfo() function. Provides details of the match that may be used for result ranking and other purposes.
...
FossilOrigin-Name: 37a1de02d1d8a34604f1bee896eaf579d4ba149a
2009-12-22 18:56:19 +00:00
drh
7b688ede64
Add a pragma to disable the query flattener - for use during testing.
...
FossilOrigin-Name: 1d8550e5c88db0ea76aea579c1a5bf99d48fbe43
2009-12-22 00:29:53 +00:00
dan
bf3e3a06cf
Change many comments in e_fkey.test to include the full text of the corresponding statement in foreignkeys.html.
...
FossilOrigin-Name: 4b489ecb250ea0e80d5bf8806f07259e1107f8ad
2009-12-21 08:53:18 +00:00
dan
e61fc3b6a8
Fix a problem in FTS3 phrase queries. Add tests to check that it really is fixed.
...
FossilOrigin-Name: 956de051f43dfc2f178a7820981da4bf69927190
2009-12-20 15:00:19 +00:00
shaneh
c7d526e92b
Modified statement machine in sqlite3_complete() to return 0 on empty string.
...
Added/updated tests for same. Ticket 356c885b0b.
FossilOrigin-Name: 76eca7295cf7df4bef013af6c8c37251300cd383
2009-12-17 22:17:38 +00:00
shaneh
4e7b32f37f
Fixed some TCL test cases to work if SQLITE_OMIT_TRIGGER is defined.
...
FossilOrigin-Name: 85e3c73497d72d09becf728efe81041277ca1730
2009-12-17 22:12:51 +00:00
shaneh
ca7dfda1d4
Updated and added new test cases for CLI.
...
FossilOrigin-Name: 29e3c8da1bd3971215036e5f5cfa5b25c6caa81f
2009-12-17 21:07:54 +00:00
shaneh
13b3602e1c
In shell.c (CLI), modified local_getline() to remove '\r' as well as '\n' from end of lines.
...
FossilOrigin-Name: b1b48be1cf55f3179eab8824cf5fee8100518845
2009-12-17 21:07:15 +00:00