danielk1977
2e94d4dea5
Minor changes so that OMIT_SHARED_CACHE works. (CVS 2892)
...
FossilOrigin-Name: cc963f8cfc6c704c645c627bffb8df21dfebffc6
2006-01-09 05:36:27 +00:00
drh
5739103e98
Fix timezone parsing in the date/time functions. Ticket #1587 . (CVS 2891)
...
FossilOrigin-Name: 94c87b70161d4d44fbf1602fc2baae22dca08759
2006-01-09 00:18:02 +00:00
drh
3a12924798
Remove benign reference to an uninitialized variable. Ticket #1590 . (CVS 2890)
...
FossilOrigin-Name: 32998fe8ed38a79eb79d8b13051b47bf74661e3c
2006-01-09 00:09:01 +00:00
drh
15007a99e4
Get LIMIT and OFFSET working again for negative limits and offsets.
...
Ticket #1586 . (CVS 2889)
FossilOrigin-Name: b2ac0be07ec76ab23b7e5b800c0bc62d0bc97f4b
2006-01-08 18:10:17 +00:00
drh
6f58f7069b
Remove some cruft from the VDBE. Bring comments up to date. (CVS 2888)
...
FossilOrigin-Name: 41aef6496a10c81e1095408dc8f69740d6ea7627
2006-01-08 05:26:41 +00:00
drh
d59ba6ce61
Reduce memory requirements for ORDER BY combined with LIMIT. Ticket #1586 . (CVS 2887)
...
FossilOrigin-Name: 55e703ecac6e03d7364c2d919ba18d7293d6b7f6
2006-01-08 05:02:54 +00:00
drh
76873ab240
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)
FossilOrigin-Name: 0ae461313c1642a49a9f6cda608c42c7c0053ce4
2006-01-07 18:48:26 +00:00
drh
4bddfd2f6e
Continued progress toward a working wince backend. (CVS 2885)
...
FossilOrigin-Name: 15fda14ee0c0524d3064d767f48edd689c090d95
2006-01-07 18:14:48 +00:00
drh
403110c84a
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)
FossilOrigin-Name: 19f71a6d1982e986f5436bff71ef38b1bcc2e11d
2006-01-07 18:10:32 +00:00
drh
3f4590226f
Enable redefinable I/O if the SQLITE_ENABLE_REDEF_IO macro exists. (CVS 2883)
...
FossilOrigin-Name: e170e15766389e978991b42a0d2ec303162aaad6
2006-01-07 16:06:07 +00:00
danielk1977
dba99bcc96
Fix some memory leaks caused by obscure syntax errors in SQL. (CVS 2882)
...
FossilOrigin-Name: 6593199a4d0d0e1f9cc2f48d30327b1c03a8170e
2006-01-07 14:02:26 +00:00
danielk1977
c00da10565
In shared-cache mode, lock all required tables before beginning to execute the body of the statement program. (CVS 2881)
...
FossilOrigin-Name: 23b587b05b89727248805e6d9e5141e018cf2152
2006-01-07 13:21:04 +00:00
drh
8c0ca7d27c
Drop the mutex if the TSD key allocation fails. Ticket #1585 . (CVS 2880)
...
FossilOrigin-Name: 77ac231c0e21c09c0b612a4e72bcc863f2c95fd3
2006-01-07 04:06:54 +00:00
drh
a34c62d866
Fix bugs in test scripts that came of of sse testing. (CVS 2879)
...
FossilOrigin-Name: 22bf1a2ffac503020dfa78d228b561d1cf6f3894
2006-01-06 22:11:20 +00:00
drh
198bf39128
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
...
FossilOrigin-Name: 9d71b7deaffdd7eb9ddad1f03df3e4c51c2cbd98
2006-01-06 21:52:49 +00:00
drh
9e9fe6f877
Additional changes for wince. (CVS 2877)
...
FossilOrigin-Name: b10343d9163263f97efb1bbc61af8307a2cfe8a4
2006-01-06 21:09:01 +00:00
drh
e2a926b807
More changes to support wince. (CVS 2876)
...
FossilOrigin-Name: f3cbd995c845dc19596678d05844e0691b63da54
2006-01-06 20:40:28 +00:00
drh
602bbd3245
Additional efforts to get it to build on WinCE. (CVS 2875)
...
FossilOrigin-Name: b45c076f0d5f7c863287ccb5703c492e1010a99d
2006-01-06 20:22:29 +00:00
drh
cc78fea4b9
A first attempt at adding native support for WinCE. (CVS 2874)
...
FossilOrigin-Name: 434405678778e7ce6e0bdec02fa7049a1ca68d27
2006-01-06 16:17:05 +00:00
danielk1977
aaf22685d7
Fix a crash caused by adding a trigger to a shared-schema and then deleting it
...
using a different connection. (CVS 2873)
FossilOrigin-Name: 19f93e135f1ff4f987d14afe74b955e119904017
2006-01-06 15:03:48 +00:00
drh
0739723d76
Fix an alignment problem in the sqlite3OsRandomSeed(). Ticket #1584 . (CVS 2872)
...
FossilOrigin-Name: 373b56f0048fd6a1946a97acfcca40fd12f7d572
2006-01-06 14:46:46 +00:00
drh
7887942e38
Remove vestigial file: crashtest1.c (CVS 2871)
...
FossilOrigin-Name: 6676c7031d81202ad702142ecf9e64f14d94d968
2006-01-06 14:41:54 +00:00
drh
66560adab3
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)
FossilOrigin-Name: 2529c2e11fa1d345ec61f647e4f6fae20a7133d6
2006-01-06 14:32:19 +00:00
danielk1977
c87d34d05d
Add some simple tests and fixes for shared-schema locking. (CVS 2869)
...
FossilOrigin-Name: d054bed15aee3edef93cc84c83be443cdd489946
2006-01-06 13:00:28 +00:00
drh
824d7c1893
Back out the addition of the new header file - bad idea. (CVS 2868)
...
FossilOrigin-Name: 0c4c45c36fe1c3c2980155ef5126a2ad53100d65
2006-01-06 12:03:19 +00:00
danielk1977
de0fe3e4c3
Fix a bug that was emptying shared-schema tables during an ATTACH. (CVS 2867)
...
FossilOrigin-Name: 752a2754879becc32da9f9b910f3330f8c7145e4
2006-01-06 06:33:12 +00:00
drh
e19d594067
Enable async testing. Modify the OS layer interface. Add the sqlite3_aux.h include file. Add tests for boolean value representation in file format 4. (CVS 2866)
...
FossilOrigin-Name: b8332aa8b83142898779972b3dff13cbe3c78623
2006-01-06 03:29:56 +00:00
drh
47ded16fdc
Formatting changes in btree.c. (CVS 2865)
...
FossilOrigin-Name: f1922da2d20c5091678e47cc4f43a2a9d141a3b1
2006-01-06 01:42:58 +00:00
drh
3fbb0b1a3b
Windows implementation of the thread-specific data interface. (CVS 2864)
...
FossilOrigin-Name: 3aa8befedf4534cd100a7309997a4ad2ba08af20
2006-01-06 00:36:00 +00:00
drh
d78901da51
Disable the update hook for the truncation optimization used by DELETE. (CVS 2863)
...
FossilOrigin-Name: 448b3b9dede724749df0004ca39c649951f1f2ca
2006-01-05 23:42:50 +00:00
drh
6aafc29b5f
Move TCL interface for sqlite3_release_memory() and sqlite3_soft_heap_limit()
...
out of tclsqlite.c and into test1.c. Update the TCL interface documention
to describe the "exists" method. (CVS 2862)
FossilOrigin-Name: 98194a45cc60cb9942847f773bc797fb5463bd10
2006-01-05 15:50:06 +00:00
danielk1977
ad68cb6b69
Fix for ticket #1582 (Double delete of invalid LIMIT clause Expr* applied to a UNION ALL query). (CVS 2861)
...
FossilOrigin-Name: 5dec3a392ba3c249bbca899c12e99c26cc1b8cdb
2006-01-05 14:22:33 +00:00
danielk1977
441b09ae55
Disable automatic invocation of sqlite3_release_memory() when a malloc() fails
...
in those cases where the global mutex is held. (CVS 2860)
FossilOrigin-Name: 6fdbb8b771e490f0d791326689245302c4fe18f5
2006-01-05 13:48:29 +00:00
danielk1977
da18423620
Add the shared schema/pager modifications. Very few tests so far. (CVS 2859)
...
FossilOrigin-Name: deeda0dc06c1595aedd8d06a0c4e88a8abf78cf7
2006-01-05 11:34:32 +00:00
drh
a6370df1e1
Bug fix in the IF NOT EXISTS logic. (CVS 2858)
...
FossilOrigin-Name: cb9095ac52e76926f274678ef55ebb9df4b9fcac
2006-01-04 21:40:06 +00:00
drh
446a9b825b
Bug fix in the new "exists" method of the TCL interface. (CVS 2857)
...
FossilOrigin-Name: d0e3d466094f7b2f74ed7ebb324e5024ea8faa6f
2006-01-04 18:13:26 +00:00
drh
5af7e19bd0
Update document for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS (CVS 2856)
...
FossilOrigin-Name: 963ba8b8f3b7b3a8bcd36b224e283cf3b86d4b1d
2006-01-04 15:58:28 +00:00
drh
4d91a701bd
Add support for CREATE INDEX IF NOT EXISTS and DROP INDEX IF EXISTS. (CVS 2855)
...
FossilOrigin-Name: 551cdd6c309e75687abaeac5381b794cd5e4c10a
2006-01-04 15:54:36 +00:00
drh
f93339decb
Always case 0 to (char*) on varargs functions. Otherwise there are problems
...
on 64-bit machines. (CVS 2854)
FossilOrigin-Name: 837dc77ff9f5271b7e1bb8602fc021670c7802d1
2006-01-03 15:16:26 +00:00
danielk1977
34e8494202
Add test files for the asynchronous IO concept. (CVS 2853)
...
FossilOrigin-Name: 7c3492c8404c39c808af4429b4fcdb7413539ab3
2006-01-03 13:39:25 +00:00
drh
dddca28608
The sqlite TCL command no longer returns the hex address of the sqlite3*
...
structure. Instead there is a new command in testfixture to find that
information. (CVS 2852)
FossilOrigin-Name: 70b228575e045bc56013aab945334203ceb31d8b
2006-01-03 00:33:50 +00:00
drh
88f474a938
Add the xInMutex method to the os-layer switch for testing whether or not
...
mutexes are used correctly. (CVS 2851)
FossilOrigin-Name: a582b159595ff8d31c81e9b3044711d6590d3f0e
2006-01-02 20:00:12 +00:00
drh
35a5965a17
Additional tests for descending indices. Comment changes. (CVS 2850)
...
FossilOrigin-Name: 2622c5242b0cba5bc19f190a7c209ab9ed8f57e0
2006-01-02 18:24:40 +00:00
danielk1977
5118b918d8
Repair typo in previous commit. (CVS 2849)
...
FossilOrigin-Name: a4aa0911bccd0627cd6d926c5bdd2a4f4b8f6cc5
2005-12-30 16:31:53 +00:00
danielk1977
aef0bf6429
Add part of the btree layer of the shared-cache feature. (CVS 2848)
...
FossilOrigin-Name: 2afcad990190af97d1ad0010f211a5ca8f0fd745
2005-12-30 16:28:01 +00:00
drh
faa59554c3
Add support for CREATE TABLE IF NOT EXISTS. (CVS 2847)
...
FossilOrigin-Name: 0bd9e35fd22946640f4fb1c1874922ae096916f7
2005-12-29 23:33:54 +00:00
drh
72e5c6dbb9
Bug fix in codec processing. (CVS 2846)
...
FossilOrigin-Name: a88580bce045ee1c11cc6fd986ee7bab043ded4f
2005-12-29 23:04:01 +00:00
drh
d946db0064
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)
FossilOrigin-Name: ae301db8a61a74bc72f67f5766811d89a3b3ec72
2005-12-29 19:23:06 +00:00
drh
aa81608eb0
Fix for ticket #1575 . (CVS 2844)
...
FossilOrigin-Name: 1586921b54da5ba3bea80e8e656a11d32996ab3a
2005-12-29 12:53:09 +00:00
drh
a073384f08
Add support for DROP TABLE IF EXISTS. (CVS 2843)
...
FossilOrigin-Name: a4c547de83d8b27f06a58f9e530a7c983ec1dc3a
2005-12-29 01:11:36 +00:00
drh
ab8aa68325
Make genericAllocationSize work on NULL pointers. (CVS 2842)
...
FossilOrigin-Name: 326fc9cc11c86f2d96763537d60757200ce21a84
2005-12-22 13:47:49 +00:00
drh
0b2f3160d6
Bug fixes and additional testing of descending indices. (CVS 2841)
...
FossilOrigin-Name: 5638a11ed5618dd833d3daffc1715951091d72b2
2005-12-21 18:36:45 +00:00
drh
d28bcb305b
Basic functionality for descending indices is in place. Lots more testing
...
needed. (CVS 2840)
FossilOrigin-Name: 7064433e5b06a4f858f39ce57650fba99fd72ffd
2005-12-21 14:43:11 +00:00
drh
85eeb692f3
Progress toward decending indices. (CVS 2839)
...
FossilOrigin-Name: 112a34b8dcceb39540cb0cd629e264a867400bfb
2005-12-21 03:16:42 +00:00
danielk1977
db515783f7
Include sqlite3_release_memory() code when SQLITE_MEMDEBUG is not defined. (CVS 2838)
...
FossilOrigin-Name: 77a37ceca7792e6cda6810e3387e6dda14a5c7ec
2005-12-20 14:37:59 +00:00
danielk1977
5591df558a
Add simple tests and fixes for sqlite3_soft_heap_limit() (CVS 2837)
...
FossilOrigin-Name: c2c5285442f4558dfca61b52f31b5a9cbefaed10
2005-12-20 09:19:37 +00:00
drh
6ed65f5a3f
Website changes in preparation for the release of 2.8.17. (CVS 2834)
...
FossilOrigin-Name: a927696ba30da39cb94ba666a10b7311d46826c9
2005-12-19 17:53:35 +00:00
drh
29b6e57b3e
Website changes for the release of 3.2.8. (CVS 2831)
...
FossilOrigin-Name: 2f7ec117ded31f2c13f2e3ab9dd4e9a483434601
2005-12-19 17:26:46 +00:00
drh
8f9b728b62
Tentative fix for ticket #1567 : disable the sqlite3pager_dont_write()
...
optimization when a statement transaction is active. We continue to look
for a better fix. (CVS 2827)
FossilOrigin-Name: e6106cc133e5210bfa248d811122e9bf7d6f2b7c
2005-12-19 16:15:31 +00:00
danielk1977
0190d1da46
Add some very simple test cases (and resulting bug fixes) for release_memory(). (CVS 2826)
...
FossilOrigin-Name: 154282fca54bf03d310d6931660f99805bb5477f
2005-12-19 14:18:11 +00:00
danielk1977
13f7299bbe
Add the (untested) sqlite3_release_memory() function. (CVS 2825)
...
FossilOrigin-Name: 345addaa03d3bfa3429a59597fbd3addcff62e30
2005-12-18 08:51:22 +00:00
danielk1977
f3f06bb30c
Verify that the rollback-hook is invoked correctly when a malloc() failure occurs. (CVS 2824)
...
FossilOrigin-Name: 83c8ae5bee3b6bdb556d2e85fa260ba855742601
2005-12-16 15:24:28 +00:00
danielk1977
71fd80bf5c
Add the sqlite3_rollback_hook() API. Still requires further testing. (CVS 2823)
...
FossilOrigin-Name: 3baa3ff32435b64e7ae7646b17a98fef9296aaa0
2005-12-16 06:54:01 +00:00
drh
fdd6e85a34
Initial infrastructure for recognizing DESC indices and being able to read
...
and write older databases that specify DESC indices but do not really use
them. Nothing is close to working yet. (CVS 2822)
FossilOrigin-Name: cd110aa225b09591064405dd8952b3df37278c52
2005-12-16 01:06:16 +00:00
drh
fbfb60bc25
Fix the utf8 to utf16 conversion routine for short strings. Bug
...
introduced by check-in (2817). (CVS 2821)
FossilOrigin-Name: 4fba2db38e0693be52ca7251e4958bd836607f05
2005-12-15 22:34:00 +00:00
danielk1977
94eb6a14cb
Add the sqlite3_update_hook() API. (CVS 2820)
...
FossilOrigin-Name: 36229018817eebfbfca7a66d2285e4faf7b39845
2005-12-15 15:22:08 +00:00
danielk1977
c529f52046
Move malloc(), free(), realloc() and allocationSize() into the Os vtbl. (CVS 2819)
...
FossilOrigin-Name: 81a41f66370ea7f6810dfb323ba5cea60f240edd
2005-12-15 10:50:53 +00:00
danielk1977
13a68c3f61
Add the sqlite3_os_routine_set()/get() functions. (CVS 2818)
...
FossilOrigin-Name: c1ed79f594fb85009c2e9e5e281cbe66a9d2fa17
2005-12-15 10:11:30 +00:00
drh
af9a7c22b5
Fix memory allocation problems on the utf-16 versions of collating function
...
control routines. (CVS 2817)
FossilOrigin-Name: ad292e27336b8c5afc0acdf111944a456bd23c32
2005-12-15 03:04:10 +00:00
drh
26abcb1eef
Avoid using the transient value in the UTF-16 collation needed callback. (CVS 2816)
...
FossilOrigin-Name: ab6241af29b2e9f5f094b83c13afebe44a8ad6bc
2005-12-14 22:51:16 +00:00
drh
268803a95b
Properly zero-terminate UTF-16 collation names on an
...
sqlite3_collation_needed16 callback. (CVS 2815)
FossilOrigin-Name: 71a49d05bf174025c0d9141b8905c48f43e42541
2005-12-14 20:11:30 +00:00
danielk1977
7ddad969a4
Fix minor malloc() related problems and add sqlite3_soft_heap_limit() stubs. (CVS 2814)
...
FossilOrigin-Name: 1637f3796015d1582ed8c6bc8bdf8c067b4bade9
2005-12-12 06:53:03 +00:00
drh
97f2ebc192
Add the "exists" method to the TCL interface. (CVS 2813)
...
FossilOrigin-Name: 8a355d7aade5c7a95ab08aeedf1ee1857c121c33
2005-12-10 21:19:04 +00:00
drh
e57c06fdf0
New bind tests (check-ins (2797) and (2798)) only work right on a UTF8
...
database. So make sure they are only run when the database is UTF8. (CVS 2812)
FossilOrigin-Name: 398037906956f0274ca35cbff6961f6df5149295
2005-12-09 20:54:34 +00:00
drh
03d847eafe
More annoying and pointless signedness warnings fixed. (CVS 2811)
...
FossilOrigin-Name: 590578bef88d0aa545f8138e8eec0db03c093861
2005-12-09 20:21:58 +00:00
drh
2646da7e52
Clean up annoying (and pointless) compiler warnings about differing signedness. (CVS 2810)
...
FossilOrigin-Name: 83a59151559d9496d4f546e03e65087ea974717d
2005-12-09 20:02:05 +00:00
danielk1977
97cb2e969b
Define the sqliteMalloc() macro differently to avoid a compiler warning. (CVS 2809)
...
FossilOrigin-Name: 3d177bde71811391f79f4ab3bae054ef1bceb6a0
2005-12-09 14:39:04 +00:00
danielk1977
2e588c7525
Many small changes to ensure memory is not leaked after malloc() fails. (CVS 2808)
...
FossilOrigin-Name: 601c335463aaabc2e9918e4b9298cff6161be5c4
2005-12-09 14:25:08 +00:00
drh
fde4a6f8a4
Add more stress testing to autovacuum in an (unsuccessful) attempt to
...
reproduce a reported problem. Even though these tests did not uncover
anything amiss, extra tests never hurt... (CVS 2807)
FossilOrigin-Name: d8a8933ff30b83c0483be214403d92c4dfa9a4af
2005-12-09 02:35:53 +00:00
drh
3c4f2a4202
Provide a pragma to set the codec key. (CVS 2806)
...
FossilOrigin-Name: a7c9e8989c752f6b1148e7cc7bf59bbd8b402e87
2005-12-08 18:12:56 +00:00
danielk1977
00fd957b78
Add some tests for malloc() failure within the column_name() and column_decl() APIs. (CVS 2805)
...
FossilOrigin-Name: 78f10ca0a6a02e9e8e6811489841a19e213f3afb
2005-12-07 06:27:43 +00:00
danielk1977
f4208043d6
Allow VACUUM to detach the auxillary database after malloc() fails. (CVS 2804)
...
FossilOrigin-Name: 6824a78bc7b8582fc5c3a6ab05dd3ed996fc99b3
2005-12-06 17:48:31 +00:00
danielk1977
f744bb56a1
Modify ATTACH and DETACH to execute at runtime instead of compile time. (CVS 2803)
...
FossilOrigin-Name: 5e04ec694add7a8331e3d6fbdfcaed51349ae7bc
2005-12-06 17:19:11 +00:00
drh
7dd90a4785
Report errors out of sqlite3_open16(). (CVS 2802)
...
FossilOrigin-Name: f5b58163d4520fa3e7137e8445a8ef19aae3e799
2005-12-06 13:19:07 +00:00
danielk1977
1a485fca83
Add test file for new malloc() failure handling. (CVS 2801)
...
FossilOrigin-Name: 0b82f9623cf25b1cb02f70628c992903a6e8ca1c
2005-12-06 12:57:58 +00:00
danielk1977
261919cc16
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)
...
FossilOrigin-Name: e1606658f1b4530e3001db4779b5669c8d13c853
2005-12-06 12:52:59 +00:00
drh
67e0b84f7d
Update mailing list hyperlink on the support page. (CVS 2799)
...
FossilOrigin-Name: 41a7aeeeb427d59e3d7cc71c94a8c5be832bd0fa
2005-12-05 22:22:40 +00:00
drh
5c434b7265
Make sure sqlite3_result_text can handle text strings with embedded '\000'
...
characters. (CVS 2798)
FossilOrigin-Name: 9d6057cd141e7cdaf32ce68dea39e67c2c67a08d
2005-12-05 13:20:01 +00:00
drh
bf8aa2a6c5
Add a test to verify that binding text with embedded '\000' works. Also
...
comment changes in os.h. (CVS 2797)
FossilOrigin-Name: 31251a9098662ccf08af5bd5bc3afb282a149701
2005-12-02 02:44:05 +00:00
drh
e90a9ffa12
Documentation updates. (CVS 2796)
...
FossilOrigin-Name: 2ffb90c39d0b60de9a692326ca3f2595c1fc97d0
2005-12-02 01:57:42 +00:00
drh
054889ec6d
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)
FossilOrigin-Name: bd8740d1aecba69e1b5d64d43db07e8ad8841f07
2005-11-30 03:20:31 +00:00
drh
392b3ddf2e
The crash test works now, at least on unix. Untested on windows. But it never
...
worked on windows before so if it still does not there is no big loss. I am
still troubled by the current design of the OS overloading mechanism. Expect
to see more changes. (CVS 2794)
FossilOrigin-Name: fa1d7ecfcc648fbe9fc6d92e080cf937bdc9c439
2005-11-29 19:56:32 +00:00
drh
a2eebaa43b
Make the build work on windows again. Ticket #1544 . (CVS 2793)
...
FossilOrigin-Name: 59bdca2552b2e5c09d5ca2b7a02ee34460139d7b
2005-11-29 19:50:24 +00:00
drh
1a23593dc0
The crash tests now compile, at least. But they get wrong results. The
...
problem is fundamental and suggests I need to completely rethink how the
new OS backend should work. (CVS 2792)
FossilOrigin-Name: 966bc68e1bf4e0cc88407871c162ee3014160415
2005-11-29 18:37:15 +00:00
drh
9cbe635219
Make the OsFile structure opaque with its internal structure known only to
...
the appropriate os_*.c implementation. Omit the os_unix.h and os_win.h
include files. The crash tests are broken by this patch. (CVS 2791)
FossilOrigin-Name: 058f31753871b16b40fe4048e3adcee411e0f87d
2005-11-29 03:13:21 +00:00
drh
9267bdcecd
Replace a call to sprintf() with sqlite3MPrintf() since on some embedded
...
platforms, sprintf() is busted. Need to go through and do similar replacements
elsewhere in the code. (CVS 2790)
FossilOrigin-Name: 1b4f2d89bbe833359cefcea580783fd92aa7b8ab
2005-11-28 12:36:35 +00:00
drh
9a5f7474e3
Disable the OR-clause optimization if it does not result in an index being
...
used that would not have been used otherwise. In other words, do not
convert OR clauses into an IN statement if it does not help the optimizer. (CVS 2789)
FossilOrigin-Name: 7e7cfce0f8ed2a6e04747736a2c68484f447cdfb
2005-11-26 14:24:40 +00:00
drh
54a167d1fe
Make sure left joins still work even when the OR clause optimization fires.
...
Ticket #1537 . (CVS 2788)
FossilOrigin-Name: cbbeb9de0019a0b81318158711590078fcb7e98a
2005-11-26 14:08:07 +00:00
drh
d86959f588
Remove some vestiges of the old OS_TEST driver. (CVS 2787)
...
FossilOrigin-Name: 008f676f20c690255e5cb8ae01df47c5094ac240
2005-11-26 03:51:18 +00:00
drh
18839217da
Add an OS method for making copies of file descriptors. This fixes the
...
crash tests. (CVS 2786)
FossilOrigin-Name: 57a674fc71512f11393b8eb595961ec9465ba4e1
2005-11-26 03:43:23 +00:00
drh
9c06c95309
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)
FossilOrigin-Name: 1f69aec285dd8e26bd739d5e44bb50fe03a9682a
2005-11-26 00:25:00 +00:00
danielk1977
aa2289f89c
Ensure a low system limit on the number of open files does not cause manydb.test to fail. (CVS 2784)
...
FossilOrigin-Name: dba2cc0d0e0c648c1a4798bc72913e3b19acba6e
2005-11-25 10:55:57 +00:00
danielk1977
4af65bb160
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2783)
...
FossilOrigin-Name: f9f5ecbb79f03ba8e7d6a036a562252319e82abc
2005-11-25 10:38:22 +00:00
danielk1977
d7c03f7485
Add the compilation option SQLITE_DISABLE_DIRSYNC (CVS 2782)
...
FossilOrigin-Name: f1298bb103aad46c737741d89d33c4c2904aec68
2005-11-25 10:38:22 +00:00
danielk1977
26c5d79f60
If SQLITE_DISABLE_LFS is defined, omit the bigfile tests. (CVS 2781)
...
FossilOrigin-Name: f882a516da18f45dbb668078d0d8240d930e1180
2005-11-25 09:01:23 +00:00
danielk1977
0964b23a99
Check the return code of full_fsync() when used to sync a directory fd. (CVS 2780)
...
FossilOrigin-Name: 84aae3b0ae7381710ff0bc9881cbde3559bb580b
2005-11-25 08:47:57 +00:00
drh
94c1f6f731
Preserve 64-bit last insert rowids across triggers. (CVS 2779)
...
FossilOrigin-Name: 4dd7cfaa587fd5f76a0b60db0f02d5f57f801564
2005-11-25 02:43:50 +00:00
drh
91636d58c0
The --enable-cross-thread-connect configuration option or the
...
-DSQLITE_ALLOW_XTHREAD_CONNECT compile-time option permits database
connections to be moved across threads. This will cause latch-ups
and failures on some linux systems such as RedHat-9. Do not use these
options if you want a portable build. (CVS 2778)
FossilOrigin-Name: 84aa4d58001ed943295f21f429c58c3c99b771d8
2005-11-24 23:14:00 +00:00
drh
22465ced29
Make sure sqliteInt.h is included before any system includes.
...
This is required for QNX. Ticket #1478 . (CVS 2777)
FossilOrigin-Name: ab76453553bea7c2371b35e7643a98967bb04582
2005-11-24 22:33:05 +00:00
drh
fa3b19ef3d
Reduce the number of distinct token symbols in the parser so that the parser
...
can store tokens in a single byte and thus be smaller in size. (CVS 2776)
FossilOrigin-Name: 2dfc9863919c9eb1fd1064ab2817d752dd7f9293
2005-11-24 22:22:29 +00:00
drh
31beae983e
Comment changes. No changes to code. (CVS 2775)
...
FossilOrigin-Name: 786e23b2959c6103bfc0b45535afc49f22bc8a67
2005-11-24 14:34:36 +00:00
drh
3a4a2d40e1
Fix a comment in btree.c. No code changes. (CVS 2774)
...
FossilOrigin-Name: 0d8bd133a7530fb56ecb742472865f5a72a0ea5e
2005-11-24 14:24:28 +00:00
drh
3eda040be9
Fix incorrect type conversions when copying from a table into itself.
...
Ticket #1536 . (CVS 2773)
FossilOrigin-Name: a2e55a3828d74d78b0b76f956a537a0d906f3191
2005-11-24 13:15:32 +00:00
drh
32daab6cb0
Less verbose output when EXPLAIN QUERY PLAN identifies use of the primary key. (CVS 2772)
...
FossilOrigin-Name: 5045f09933f57e4ae897969710b19d09b7af6022
2005-11-21 12:48:24 +00:00
drh
36d649303f
The EXPLAIN QUERY PLAN now identifies when tables use the integer primary key. (CVS 2771)
...
FossilOrigin-Name: 80721e2c9033abb2e9eed32892c4e486c293e1fa
2005-11-21 12:46:27 +00:00
drh
4efc083f57
Fix a problem with the sorting of literals in a compound query. Ticket #1501 . (CVS 2770)
...
FossilOrigin-Name: b3882b434a1ef7d8d636c7c5917b9e8f0d2952fb
2005-11-16 13:47:50 +00:00
drh
7e56e71125
Do not allow aggregate functions in a WHERE clause. Ticket #1514 . (CVS 2769)
...
FossilOrigin-Name: bb866ed880c33ec9ce6ded8ebdbb459fedf9c257
2005-11-16 12:53:15 +00:00
drh
ed2df7fb68
Avoid unnecessary strlen() calls in the OP_String opcode. (CVS 2768)
...
FossilOrigin-Name: 2e195e96bcbad104da09ebe6cef617e0e9ef1884
2005-11-16 04:34:32 +00:00
drh
a0943e6666
Fix a bug in UTF-16 handling introduced by the previous check-in. (CVS 2767)
...
FossilOrigin-Name: 25fa16a2e1f324790f4b293df5d7142575034428
2005-11-15 02:14:00 +00:00
drh
8a51256c0c
Create separate affinities for INTEGER and REAL. (CVS 2766)
...
FossilOrigin-Name: ce06c123d0c5663dbaf263c2e0aaf5d9cdeb2ccd
2005-11-14 22:29:05 +00:00
drh
a8f1914b72
Fix documentation typo. (CVS 2765)
...
FossilOrigin-Name: c9b413ea22d1da926621670b903c7a683921eef0
2005-11-14 11:51:45 +00:00
drh
fd405314d3
About 0.5KiB of additional compression in the parser tables. (CVS 2764)
...
FossilOrigin-Name: f39974ebd81f274dc4cf6cf94e6e87ee7b4a0814
2005-11-06 04:06:59 +00:00
drh
152410fade
Work around a bug in MSVC++. Ticket #1513 . (CVS 2763)
...
FossilOrigin-Name: 6331860e7754be6e0d2a484d66427947c0781dd6
2005-11-05 15:11:22 +00:00
drh
8a9f38feb2
Remove a C++-ism that slipped into the code during the recent CHECK
...
enhancements. Ticket #1513 . (CVS 2762)
FossilOrigin-Name: e66289b52f56c8242aa264a9365c834cd820e988
2005-11-05 15:07:55 +00:00
drh
ada354db0e
Improved table compression in lemon reduces the overall library size
...
by about 1.5KiB. (CVS 2761)
FossilOrigin-Name: 86ac11476962727d2d40b62ce87d689c01969537
2005-11-05 15:03:59 +00:00
drh
c9ac5caa45
VACUUM works even on an empty database. Ticket #1512 . (CVS 2760)
...
FossilOrigin-Name: 1b6bf4188e8ebf55cf1972b7081f6d31bf525555
2005-11-04 22:03:30 +00:00
drh
c01be744bc
sqlite3_column_int() and similar routines return 0 or 0.0 on an
...
out-of-memory condition, not some mysterious error code. (CVS 2759)
FossilOrigin-Name: 7780f5e9d504926f11bd0662c03c88c76fb1d416
2005-11-03 14:29:55 +00:00
drh
4284fb0778
Prohibit parameters in CHECK constraint expressions. (CVS 2758)
...
FossilOrigin-Name: bb94ef64b227839a0ef4156985e2f5a061a78e2c
2005-11-03 12:33:28 +00:00
drh
0cd2d4c9a1
Add the ignore_check_constraints pragma. VACUUM works even on a database
...
that contains table entries that violate check constraints. (CVS 2757)
FossilOrigin-Name: be83bfee0211396a0038ffb125897199bea9a73f
2005-11-03 02:15:02 +00:00
drh
06f6541e2f
Disallow subqueries in CHECK constraints. (CVS 2756)
...
FossilOrigin-Name: db27afc4cdc5b51c1fa0e83dbd6d4a4a69c5b642
2005-11-03 02:03:13 +00:00
drh
6275b88b9e
CHECK constraints that evaluate to NULL pass. (CVS 2755)
...
FossilOrigin-Name: 55b314a22c69fbe129b024e953f3230b67eaaa87
2005-11-03 01:22:30 +00:00
drh
ffe07b2dc1
First cut at supporting CHECK constraints. Everything appears to work,
...
but much more testing is needed as well as documentation. (CVS 2754)
FossilOrigin-Name: 2313d912baeca0fd516d524f16708953de483729
2005-11-03 00:41:17 +00:00
drh
8df447f0e6
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)
FossilOrigin-Name: e0d6f61c7de2c03b8fd17ef37cf1a0add36ee618
2005-11-01 15:48:24 +00:00
drh
b127612933
Fix the shift operators so that they work with 64-bit quantities. (CVS 2752)
...
FossilOrigin-Name: 0d3357b5f65887f7db03db2ae021f28f480f90e4
2005-10-29 15:48:30 +00:00
drh
eef8b55832
Report an error if the input SQL contains an unterminated string.
...
Ticket #1497 . (CVS 2751)
FossilOrigin-Name: c9c476dd836c49255eabc6cce83064974c079ce3
2005-10-23 11:29:40 +00:00
drh
d9cb6ac02f
Changes to prevent various compiler warnings. (CVS 2750)
...
FossilOrigin-Name: e261b8b09a529a3e67dc27c3b83b660bcb32e195
2005-10-20 07:28:17 +00:00
drh
b37df7b928
Attempt to fix the SQLite core so that no floating point operations are used
...
anywhere if SQLITE_OMIT_FLOATING_POINT is defined at compile-time. This
is useful to people who use SQLite on embedded processors that lack
floating point support. (CVS 2749)
FossilOrigin-Name: a0bdb584680ce6400d9e8c57db9d91197cc7b776
2005-10-13 02:09:49 +00:00
drh
54414bb449
Make the default TEMP_STORE=1 (TEMP tables stored on disk) in the configure
...
script. (CVS 2748)
FossilOrigin-Name: 9753af53494a14f7300f92f3d94e4ceb55619529
2005-10-10 00:05:50 +00:00
drh
ec7429ae27
More efficient handling of the LIMIT clause. Scalar subqueries and EXISTS
...
on compound SELECT statements now working properly. Ticket #1473 . (CVS 2747)
FossilOrigin-Name: edca8913ca012fc0c17343a27f819de95147b1bd
2005-10-06 16:53:14 +00:00
drh
23cc57f6a3
Check-in (2744) as incomplete and broke pragma integrity_check. This
...
completes the change and fixes the problem. (CVS 2746)
FossilOrigin-Name: 4862eaafd875eb1069076864c7cad600a76620c7
2005-10-06 13:59:26 +00:00
drh
eb3d389ca9
Make the SQLite logo on the website a hyperlink to the home page.
...
Ticket #1471 . (CVS 2745)
FossilOrigin-Name: 9709f0f6bcb2a1ed07e678b73cb518488b8ff333
2005-10-05 22:31:49 +00:00
drh
b59005e5a3
Make sure pragma integrity_check does not report "ok" after first finding
...
a bunch of errors. (CVS 2744)
FossilOrigin-Name: efec04dedfff8b92527b42e59cc32b4f69031021
2005-10-05 11:41:48 +00:00
drh
cc43cabcb0
Fix an assert or memory leak that occurs when trying to EXPLAIN a statement
...
other than a SELECT that outputs results. Examples of such statements
include PRAGMA integrity_check or INSERT/DELETE/UPDATE with PRAGMA
count_changes=ON. (CVS 2743)
FossilOrigin-Name: 533a85eee2370aafe204ff3eed50eb7fc0149e83
2005-10-05 11:35:09 +00:00
drh
29bc461550
Changes to support TEA on cygwin. (CVS 2742)
...
FossilOrigin-Name: e80fecc986f1fe93e127398b081054766c5383cf
2005-10-05 10:40:15 +00:00
drh
f2f23916ec
Another attempt to get fdatasync to be ignored on non-conforming posix systems.
...
Now a system has to opt-in for fdatasync instead of opt-out.
Ticket #1467 . (CVS 2741)
FossilOrigin-Name: 115340d4e85f1bbbab657edbb504284343d86e2c
2005-10-05 10:29:36 +00:00
drh
ff55c3585c
Add the SQLITE_OMIT_GET_TABLE compile-time flag. (CVS 2740)
...
FossilOrigin-Name: 6d4bc8f83b228b3804fffcb17ac57e1f754fa9cd
2005-10-05 02:13:40 +00:00
drh
af6edf5534
Automatically check for the fdatasync() function and replace it with fsync()
...
if not found. (CVS 2739)
FossilOrigin-Name: 385a08afefaf552db221ae8bd30ecc7e7c07ee5b
2005-10-04 18:38:49 +00:00
drh
762e584e2c
The hash tables deallocate when empty in order to avoid nuisanse complaints
...
from valgrind. Added tests to verify no hash table memory leaks in os_unix.c. (CVS 2738)
FossilOrigin-Name: 080eadca582a49a069a76ed113ec15e9bce2955a
2005-10-03 15:11:08 +00:00
drh
abec0bee03
Make sure the default storage for virtual tables is the disk not memory
...
while running conflict.test. Ticket #1453 . (CVS 2737)
FossilOrigin-Name: 6d780ca6cfbea10d29a4a1b5226efb269606e21a
2005-09-25 01:13:09 +00:00
drh
b842b1a61f
Version 3.2.7 (CVS 2736)
...
FossilOrigin-Name: bd141a7c12c779d15d81acc8f919c37b9a4aa40b
2005-09-24 15:25:01 +00:00
drh
8dc5a288c6
Perparations for version 3.2.7. (CVS 2735)
...
FossilOrigin-Name: 70937d5cfa10eda66d926d378f30f9961a7822bf
2005-09-24 15:10:59 +00:00
drh
74217cc079
Add the SQLite console source code in the contrib section of the source tree. (CVS 2734)
...
FossilOrigin-Name: 079c6348f944ad708214f5f335065373d9ae509a
2005-09-24 11:01:11 +00:00
drh
8e647b8191
Fix an uninitialized structure member that was causing a malfunction when
...
you used deeply nested and very complex views. Ticket #1449 . (CVS 2733)
FossilOrigin-Name: 352cc9f53b7724621ecbf3a6362f34c31a18cce8
2005-09-23 21:11:53 +00:00
drh
c035e6e4ab
Optionally call fdatasync() instead of fsync() only if _POSIX_SYNCHRONIZED_IO
...
is positive, which should only be the case on operating systems that
actually support fdatasync(). (CVS 2732)
FossilOrigin-Name: a9b341dccffaf324a64139d6f482599258ef7009
2005-09-22 15:45:04 +00:00
drh
de29e3e9be
Add VM code comments on the group-by processing. Extra group-by test case. (CVS 2731)
...
FossilOrigin-Name: 655e75ac7d96b05c118226c5b70443da2df319ec
2005-09-20 18:13:23 +00:00
drh
d654be803f
Code cleanup and simplification. Three new Mem opcodes added.
...
The sqlite3VdbeJumpHere function added. (CVS 2730)
FossilOrigin-Name: 2471957feee57538e5e1e50a704a337f0927d10e
2005-09-20 17:42:23 +00:00
drh
4f68623875
Cleanup the implementation and the documentation of the new 0x200 P1 flag
...
on the VDBE comparison operands. (CVS 2729)
FossilOrigin-Name: f22d0f64a0b9100e16746fb800efa508d286e40e
2005-09-20 13:55:18 +00:00
drh
e313382e3e
NULLs compare equal to each other when computing GROUP BY categories. (CVS 2728)
...
FossilOrigin-Name: d9b0c9705379a8b3a28a83bb29fc1cd688fe184e
2005-09-20 13:11:59 +00:00
drh
b6fb62d9b4
Update comments in where.c. No code changes. (CVS 2727)
...
FossilOrigin-Name: bb84d27eda64479d65b13fbbcaeef6a00da4d103
2005-09-20 08:47:20 +00:00
drh
e1547a2f1c
Documentation updates. (CVS 2726)
...
FossilOrigin-Name: 6ec8883c366532948e619830ff7d9f63b79fc08b
2005-09-20 01:36:30 +00:00
drh
22d6a53a77
ON-clause terms in a LEFT JOIN that restrict only the left table, should not
...
really restrict the left table but instead rows that fail to meet the condition
to be joined with NULL rows from the right table. (CVS 2725)
FossilOrigin-Name: ea10f9785e3c5248dafcc297f3a2c5465b6e0dba
2005-09-19 21:05:48 +00:00
drh
eb8cbaeb18
Set the default maximum page size to 32768, not 8192. (CVS 2724)
...
FossilOrigin-Name: b32e9ec2480f9da2c2ea705ed3c88ca77b77cf2a
2005-09-19 19:05:21 +00:00
drh
4b14b4d720
Do not optimize views with an ORDER BY clause if they are used in a UNION ALL
...
that also has an ORDER BY clause. Ticket #1444 . (CVS 2723)
FossilOrigin-Name: 6cc57fcf15cfa3ce73c78b1cac90f7806e5bae40
2005-09-19 17:35:53 +00:00
drh
a7aa59e097
Fix uninitialized value on a UNION ALL select with an ORDER BY clause. (CVS 2722)
...
FossilOrigin-Name: 92126a216101d30e16390bf063d52d7182fbc763
2005-09-19 15:37:06 +00:00
drh
549c8b68c7
The sqlite3_query_plan debugging variable now only appears with SQLITE_TEST=1. (CVS 2721)
...
FossilOrigin-Name: 41e226d2ff5c0021fd07388da13f6d750fac508b
2005-09-19 13:15:23 +00:00
drh
bbdc2b94fc
Work around limitations of MSVC++ 6. Tickets #1429 , #1437 , and #1440 . (CVS 2720)
...
FossilOrigin-Name: b2d1803c25b0b823c9cbe27989bacb730b18b45b
2005-09-19 12:53:18 +00:00
drh
48083cee4c
Change some debugging #defines in order to get SSE working again after
...
recent upgrades. (CVS 2719)
FossilOrigin-Name: 86eb7d8363559c94bfcd7e48ff6270025ecacb7b
2005-09-19 12:37:27 +00:00
drh
a15cdcc4f4
Download page reports sizes in MiB and KiB instead of just bytes. (CVS 2718)
...
FossilOrigin-Name: e985f02d20d50b0451bfd35a7343e0386336dd71
2005-09-17 19:28:45 +00:00
drh
ee2b437f0a
Update to the download page on the website. (CVS 2717)
...
FossilOrigin-Name: 91bc0d0032d5305671da0ebfc6e697b9b882f1ad
2005-09-17 19:14:40 +00:00
drh
8cb1895c74
Version 3.2.6 (CVS 2716)
...
FossilOrigin-Name: 1cdfe66714c2374b1d93bc62f37873111e090e44
2005-09-17 18:49:49 +00:00
drh
5c959118f1
The sqlite3ReallocOrFree routine should set its pointer to NULL when it fails. (CVS 2715)
...
FossilOrigin-Name: 0e85af44faca4b625e6ab7cb21a300867298c539
2005-09-17 18:34:11 +00:00
drh
e3000ae84c
Fix up the busy test so that it can be run multiple times in a row without
...
giving false errors on 2nd and subsequent runs. (CVS 2714)
FossilOrigin-Name: 7a7ba73fb5d1d493dc2c8c0d5ed4ee6d895bb339
2005-09-17 18:02:36 +00:00
drh
ac1733d409
Fix a memory leak that occurs after malloc fails. (CVS 2713)
...
FossilOrigin-Name: 85b931bf72dac88187e4531053a06abe25d6f462
2005-09-17 17:58:22 +00:00
drh
0aadf33312
Fix the crash.test script to accomodate recent changes. (CVS 2712)
...
FossilOrigin-Name: d594608ff37bbf1d6866adb337aa2fbcd517eada
2005-09-17 17:05:19 +00:00
drh
432a93ba73
Fix a bug in the lock2 test script introduced by check-in (2709) (CVS 2711)
...
FossilOrigin-Name: c3bf17436bc1e264b4dbe255876a990a5a2b8b0c
2005-09-17 16:48:18 +00:00
drh
a67367e7d1
Fix a problem with the lock_status pragma and the UTF-16 encoding. (CVS 2710)
...
FossilOrigin-Name: 1a737b457c59286d7d5c3a98391dec17dbc82d09
2005-09-17 16:36:55 +00:00
drh
4928570812
Changes to make corruption errors easier to track down. (CVS 2709)
...
FossilOrigin-Name: c07330000b9427a77f412918078beffa18de2c36
2005-09-17 15:20:26 +00:00
drh
bfcb8909c6
Update the webpage description of 3.2.6 changes to talk about ticket #1432 . (CVS 2708)
...
FossilOrigin-Name: 0e23c28b25aced292cb068bc9a202cb627ba38ec
2005-09-17 15:17:40 +00:00
drh
36da52425b
Bug fix in the ORDER BY optimizer. Ticket #1435 . (CVS 2707)
...
FossilOrigin-Name: 553b7ba8f8ae4cb865494f2d301690149d7edb9f
2005-09-17 13:29:23 +00:00
drh
f5b1138bae
Make sure dependencies on the right-hand side of IN operators are checked
...
correctly. Ticket #1433 . (CVS 2706)
FossilOrigin-Name: 21740794ab81924442f358a6adbbe6d5590cf58d
2005-09-17 13:07:13 +00:00
drh
4190d4b53e
Updates to the FAQ. (CVS 2705)
...
FossilOrigin-Name: 0eaf430d9538ece1a3d1300db91f269577a5e028
2005-09-17 02:34:04 +00:00
drh
267cb326e9
Do not journal the locking page which doing an autovacuum. Similar to the
...
problem of #1432 except that this one occurs on autovacuum instead of vacuum.
An assert() has been added to catch any future incidents of this type. (CVS 2704)
FossilOrigin-Name: 5b6dc12b7d25d999be5d282cd0b06e02e2bda765
2005-09-16 17:16:52 +00:00
drh
50f2f43cba
Do not journal the file locking page when doing a database copy as
...
part of a VACUUM. Ticket #1432 . (CVS 2703)
FossilOrigin-Name: 248f77972bb1be3325708ea143fd87bb7ce914a7
2005-09-16 11:32:18 +00:00
danielk1977
15f411dbdd
Prevent the sqlite3_pagecount() function from ever returning the pending-byte
...
page. (CVS 2702)
FossilOrigin-Name: 35a8893537ae5faed6ee49270ac9c01a6010993f
2005-09-16 10:18:45 +00:00
danielk1977
2349c3d151
Move the definition of sqlite3_pending_byte from test2.c to os_common.h. (CVS 2701)
...
FossilOrigin-Name: bedf702f539636fa3b65fd0d6797b087481b4613
2005-09-16 10:13:41 +00:00
danielk1977
fd5f5b65b4
Fix an auto-vacuum problem with the PENDING_BYTE page. Also link the Tcl
...
variable sqlite_pending_byte to the internal pending-byte location when in test mode. (CVS 2700)
FossilOrigin-Name: 9115e0621d1fdc5a89a0288b87c0a4ce1e4b50c6
2005-09-16 09:52:29 +00:00
drh
a2833a0cf6
Documentation changes in preparation for the release of 3.2.6. (CVS 2698)
...
FossilOrigin-Name: 243f455c7c4e5c0c56406c197fa78088bc3659ca
2005-09-16 02:55:13 +00:00
drh
688c9f0622
Undo check-in (2694). (CVS 2697)
...
FossilOrigin-Name: 6017b1962517eb206183042bbb718925d9819063
2005-09-16 02:48:01 +00:00
drh
53f733c7ae
Fix a whole host of newly discovered memory leaks the occur after a
...
failure of realloc(). (CVS 2696)
FossilOrigin-Name: 4686d649756a0aa301ade901ac49c89a976c5402
2005-09-16 02:38:09 +00:00
drh
b38ad9991c
Fix a memory leak: a failure to deallocate the P3 parameter on a call
...
to sqlite3VdbeChangeP3. (CVS 2695)
FossilOrigin-Name: 714254cbc12564d44548707043fdcdffb17e4fde
2005-09-16 00:27:01 +00:00
drh
6e4fc2ca2b
The table_info pragma now gives the order of columns in the primary key. (CVS 2694)
...
FossilOrigin-Name: 9b60f48de7fbca96c6e26266a8fb9eed8bc378f2
2005-09-15 21:24:51 +00:00
drh
289ab0760b
Correct the sense of a test for SQLITE_DEBUG on the resent NDEBUG change.
...
Ticket #1425 (CVS 2693)
FossilOrigin-Name: 81fdffdff6fd107c361b1ee69649455143bf3921
2005-09-13 16:12:47 +00:00
drh
111cf34f7a
Updates to the documentation on the TCL bindings. (CVS 2692)
...
FossilOrigin-Name: 94aa2d32459e1cee2df21fcc7df76c73dab903cd
2005-09-13 07:00:05 +00:00
drh
b27795c183
Fix a comment typo in the previous check-in. (CVS 2691)
...
FossilOrigin-Name: 49c952807dabd80bfeb46caf55856aaab988226c
2005-09-13 00:02:16 +00:00
drh
4b529d97ff
Automatically set the NDEBUG preprocessor macro unless SQLITE_DEBUG is set.
...
In this way, assert() statements become opt-in rather than opt-out. (CVS 2690)
FossilOrigin-Name: 2ec2bd85741e36e410f05ff34de430ffbcf51eea
2005-09-13 00:00:00 +00:00
drh
9d4673a9ea
Bug fix in the new COUNT(DISTINCT) logic. Ticket #1420 . (CVS 2689)
...
FossilOrigin-Name: 37116550d33d8e3bdc15cd9998b9d2b97dec312b
2005-09-12 23:03:16 +00:00
drh
c99130fd82
COUNT(DISTINCT x) is now fully functional, though it could benefit from
...
additional testing. (CVS 2688)
FossilOrigin-Name: 2f397bd8142ec5e8f7238127012d14fdb558d918
2005-09-11 11:56:27 +00:00
drh
00b950d71e
The ".dump" command from the shell correctly saves the state of the
...
sqlite_sequence and sqlite_stat1 tables, if they exist. Ticket #1419 . (CVS 2687)
FossilOrigin-Name: 3f191cf497e5798a8620ebc5a85e34187f58371c
2005-09-11 02:03:03 +00:00
drh
0c35667b02
The shell does not output the sqlite_stat1 table on .dump or .schema.
...
The ANALYZE command now gathers statistics on tables that have only
a single index because this sometimes helps when reordering tables
in a join. (CVS 2686)
FossilOrigin-Name: 26565b8931419031f9a8dd3947e1e2bd23ccbff2
2005-09-10 22:40:53 +00:00
drh
ecc9242f6f
Add the experimental EXPLAIN QUERY PLAN diagnostic capability. (CVS 2685)
...
FossilOrigin-Name: 986efb7b12643800805ad4b1f1e90e30fcf6d38a
2005-09-10 16:46:12 +00:00
drh
d891967052
Avoid a memory leak and/or assertion failure when parsing a table
...
declaration that contains a duplicate column name.
Ticket #1418 . (CVS 2684)
FossilOrigin-Name: f43427742b1c086f2621c900f4ede1a34a8b44ee
2005-09-10 15:35:06 +00:00
drh
3dec223ca0
Use of the CROSS keyword in a join prevents table reordering. Ticket #1414 . (CVS 2683)
...
FossilOrigin-Name: 415b8b24629aa12756d8285c094b5f85d8a8e532
2005-09-10 15:28:09 +00:00
drh
f307a4aaf8
Enhanced disk-full tests. (CVS 2682)
...
FossilOrigin-Name: 0288fa5d25886f6fbef0be782f12285d62bebd68
2005-09-09 10:46:19 +00:00
drh
e08b814d72
Detect errors returned by SetFilePointer on windows. (CVS 2681)
...
FossilOrigin-Name: bc8c33f94ce069f7bcfc32a59d5c40e034e023b5
2005-09-09 10:17:33 +00:00
drh
fd35797469
Infrastructure for the DISTINCT keyword in aggregate functions. But it does
...
not work yet. If you try to use it you get an error message. (CVS 2680)
FossilOrigin-Name: 4d62e36fe3819c2a1412737c2ec8a91ddc5e1777
2005-09-09 01:33:19 +00:00
drh
b4746b9e33
Defend against disk I/O errors that happen during an sqlite3OsSeek(). (CVS 2679)
...
FossilOrigin-Name: 461e3a0a27ff083b0bae10c9880e3b41bb85ee31
2005-09-09 01:32:06 +00:00
drh
c2bd913a40
SUM returns NULL when it has no inputs. Ticket #1413 . (CVS 2678)
...
FossilOrigin-Name: 6281859425d39c11d82875301fefafad1f08416d
2005-09-08 20:37:43 +00:00
drh
3f219f46fc
A SUM() of all NULLs returns NULL. A SUM() of nothing return 0.
...
A SUM() of a mixture of NULLs and numbers returns the sum of the
numbers. Ticket #1413 . (CVS 2677)
FossilOrigin-Name: 2e6230edfd651b40481ebad8aa01a22ac92ce80c
2005-09-08 19:45:57 +00:00
drh
825c662e66
Remove a C++ism that snuck in on one of the reason changes. (CVS 2676)
...
FossilOrigin-Name: 48f6a331efea419fe948cd366f9c60ae41edddfd
2005-09-08 19:01:05 +00:00
drh
4f26bb62a8
Remove a few unused variables detected by Borland C. Ticket #1412 . (CVS 2675)
...
FossilOrigin-Name: cdfe372a958fb446485913e860d52b87fffd34e4
2005-09-08 14:17:20 +00:00
drh
97571957a1
Aggregates with GROUP BY can sometimes return no result rows. (CVS 2674)
...
FossilOrigin-Name: 0c3e368d4766685b94a44f2c514e2dea806c297c
2005-09-08 12:57:28 +00:00
drh
eb796a7c8f
While doing a transaction comment, use fdatasync() instead of fsync() in
...
cases there the file size is unchanged. (CVS 2673)
FossilOrigin-Name: 3c555a87493128620ac967faf7c63c2a58856e9e
2005-09-08 12:38:41 +00:00
drh
f80bcd73af
Fix another test to account for SUM() returning integer rather than float. (CVS 2672)
...
FossilOrigin-Name: bc723235e65eb4da7d2e4b18653f1173374cb407
2005-09-08 12:37:28 +00:00
drh
2af6742d86
Fix typos in documentation. Ticket #1239 . (CVS 2671)
...
FossilOrigin-Name: 73fbb8d9689fecec18c36814e4358e691bcd647e
2005-09-08 11:04:57 +00:00
drh
3224b32b00
Fix a comment in sqlite.h. Ticket #1321 . (CVS 2670)
...
FossilOrigin-Name: ed4e9e751be2b982af9561aba20c8e1367828b81
2005-09-08 10:58:51 +00:00
drh
3d1d95e625
The SUM() aggregate function returns an integer result if all inputs are
...
integers. Any single non-integer input causes the result to be a floating
point value. (CVS 2669)
FossilOrigin-Name: 21adf4bd99e732650a1e8e9a1cc954126983a654
2005-09-08 10:37:01 +00:00
drh
d49c16ee9b
Changes to comments only in sqliteInt.h. No changes to code. (CVS 2668)
...
FossilOrigin-Name: cc2a61650ea0d4b2ef67e144424327362999526d
2005-09-08 02:00:25 +00:00
drh
9d2985c7b4
Optimizations and refinements. Improvements to test coverage. (CVS 2667)
...
FossilOrigin-Name: 7283f7c29db4f622380b6a5cb745a4dc0c8e6a25
2005-09-08 01:58:42 +00:00
drh
5360ad34b1
All regression tests now pass. But I am sure there must still be problems.
...
New tests need to be added. (CVS 2666)
FossilOrigin-Name: bcc7d722cea4487a3adf9d9b2af4b74bfbfc5f39
2005-09-08 00:13:27 +00:00
drh
d1c301e804
More bug fixes. All of the "quick" tests pass. The full test suite still
...
shows problems. (CVS 2665)
FossilOrigin-Name: a1b6d910cdbb53f12366402d9585dce2aad3ba3d
2005-09-07 23:05:21 +00:00
drh
5774b80629
More bug fixes. But there are still tests that fail. (CVS 2664)
...
FossilOrigin-Name: 7e85a162d0ecf0acdbffcacc62b60d97fe123881
2005-09-07 22:48:16 +00:00
drh
a10a34b88f
Bug fixes in aggregate processing. Fewer tests fail. (CVS 2663)
...
FossilOrigin-Name: c3ac58592f5e6305640868cdf42c129f1a25255d
2005-09-07 22:09:48 +00:00
drh
13449892ef
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)
FossilOrigin-Name: 17039ec3ff4396862beedf4a8af89654b2140f58
2005-09-07 21:22:45 +00:00
drh
79158e1865
Changes to reduce the amount of stack space required. (CVS 2661)
...
FossilOrigin-Name: b86bd70f301205d6ca66475a425e157b976107e2
2005-09-06 21:40:45 +00:00
drh
abfcea25ea
Cleanup the processing of MEM_Agg elements. (CVS 2660)
...
FossilOrigin-Name: 7ecf3654aa9a275a4cf0c3ec5f63a8c1e0a11fc9
2005-09-06 20:36:48 +00:00
drh
1ec43c9a5a
Fix ANALYZE so that it works even if the empty_result_callbacks pragma is
...
enabled. Ticket #1409 . (CVS 2659)
FossilOrigin-Name: bfdaef1224d741deefe211e1e607bac4c80f2d89
2005-09-06 10:26:47 +00:00
drh
b726ee6d1c
Make due with "sub()" instead of "gsub()" in awk scripts so that builds will
...
work on Solaris which will runs an archiac version of AWK. (CVS 2658)
FossilOrigin-Name: 449a7895995013720f5d4c7b3b7f5bd6a5413717
2005-09-05 20:35:25 +00:00
drh
d81bd4e209
Fix bugs introduced by checkin (2656) and do some modest code enhancements. (CVS 2657)
...
FossilOrigin-Name: 7b56763a8b514834198d2392639d6d726b17d901
2005-09-05 20:06:49 +00:00
drh
c092998715
Use the unicode API to win32 where available.
...
Tickets #1407 , #1396 , #1331 , #1243 , #1206 (CVS 2656)
FossilOrigin-Name: 3ec58c673ae4cf0695ea0c287cc9bcbdcdb1a200
2005-09-05 19:08:29 +00:00
drh
a21c8495f9
Fix over-aggressive optimization of ORDER BY as reported on the mailing list. (CVS 2655)
...
FossilOrigin-Name: efbb4bc83cd86b6a26d58c5818c58c2e3edaab18
2005-09-01 17:47:51 +00:00
drh
4db38a7092
All regression tests now pass with the new bounded-memory sort code.
...
There is still lots of opportunity for optimization, however. (CVS 2654)
FossilOrigin-Name: 81259a01f1e85ba50a1d017b1282bf841b16f0a5
2005-09-01 12:16:28 +00:00
drh
0342b1f542
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)
FossilOrigin-Name: 09db0a24241f9248584250d1728117b8a3159626
2005-09-01 03:07:44 +00:00
drh
dece1a8464
{quote: KeyInfo} generation moved to a common subroutine. (CVS 2652)
...
FossilOrigin-Name: a25801df06e218e70570a6b9eae71603d590fe3a
2005-08-31 18:20:00 +00:00
drh
6242b9511d
Updates to the query optimizer overview document. (CVS 2651)
...
FossilOrigin-Name: b1dceef0508ffe20ab2ff8fa5e5b5a44f4f224aa
2005-08-31 13:48:34 +00:00
drh
37108e112a
Explicit typecasts to silence nuisance compiler warnings. Ticket #1398 . (CVS 2650)
...
FossilOrigin-Name: 90712ea7273597214d6c77a01e41f84146d201c8
2005-08-31 13:13:31 +00:00
drh
a91965b38a
Refinements to the optimizer overview and integration into the website. (CVS 2649)
...
FossilOrigin-Name: ccd12e9e790e271cb1dbbae1c13e9cb980eaf11d
2005-08-31 03:13:12 +00:00
drh
b64d5ee42c
Update the FAQ to include an entry about binary versus decimal numbers. (CVS 2648)
...
FossilOrigin-Name: 0bbe73fccfe52700c2ae1122388764e81a78bc22
2005-08-31 02:46:21 +00:00
drh
f6ac657f27
Adding the first cut of the optimizer overview document. (CVS 2647)
...
FossilOrigin-Name: 4c8d0a4c26e44088ffb9f21aa7641a5ebd0058be
2005-08-31 01:49:59 +00:00
drh
8897f6fa3f
Adjust the makefile for new optimizer documentation. (CVS 2646)
...
FossilOrigin-Name: 14668c85b87f7c9b83efd592ddc693522c764969
2005-08-30 22:44:29 +00:00
drh
3e60cdc3c0
Initial work on documentation describing the optimizer. (CVS 2645)
...
FossilOrigin-Name: 5cebd7ba3ccbdd0f4c8fe77091992f52d3a4b24c
2005-08-30 22:44:05 +00:00
drh
0a8640d4f2
The CSV output mode does not sign-extend bytes where the high-order bit is set.
...
Ticket #1397 . (CVS 2644)
FossilOrigin-Name: 528df777e5d76077d8766f04ee222fd64d9373a6
2005-08-30 20:12:02 +00:00
drh
63782855ee
Fix printf.c so that it handles 10.0 correctly. (CVS 2643)
...
FossilOrigin-Name: 0f7a53f78d9dd5c426be834f2d50a6fe4e860141
2005-08-30 19:30:59 +00:00
drh
5d9a4af9af
Minor code enhancements. (CVS 2642)
...
FossilOrigin-Name: 4ab994a87ee844f453d693555abd61b51bb44a0e
2005-08-30 00:54:01 +00:00
drh
220b10285b
Update the home page to brag about 150KiB code footprint when optional
...
features are omitted. (CVS 2641)
FossilOrigin-Name: 0e1ac1284c0547af0bb0eb4ff320b9f5ae9c248d
2005-08-30 00:10:45 +00:00
drh
01b4171e57
Make the shell aware of SQLITE_OMIT_MEMORYDB. Ticket #1395 . (CVS 2640)
...
FossilOrigin-Name: 71a71cef5b3c97744322ceceb48ac3055512c987
2005-08-29 23:06:23 +00:00
drh
19e2d37f1d
Increase resolution of time-of-day on unix. Add an experimental
...
sqlite3_profile() API. (CVS 2639)
FossilOrigin-Name: ed2ca0873fa89d6cfd123541d5d1c6b92c72b6ab
2005-08-29 23:00:03 +00:00
drh
b46b57745d
Initialize a local variable to avoid a nuisance compiler warning.
...
Ticket #1394 . (CVS 2638)
FossilOrigin-Name: 9b914901a18f8ea39c39a51509c0b3b862c13d6a
2005-08-29 16:40:52 +00:00
drh
d64fe2f374
The LIKE optimization does the right thing when collating sequences are
...
present. LIKE expressions where the left-hand side has COLLATE NOCASE
are optimized in the default case. (CVS 2637)
FossilOrigin-Name: ef84ff795c85e9d28f1cac84ff42d8d4ef84cfc4
2005-08-28 17:00:23 +00:00
drh
bfd6b03554
Improvements to the formatting and layout of the code in the previous checkin. (CVS 2636)
...
FossilOrigin-Name: 73b430de0c0f3cd230861fc1a53691818f17de0d
2005-08-28 01:38:44 +00:00
drh
de941c605e
Add an assert to verify that floating point values and integers use the
...
same byte order. Add a comment to the SELECT code generator. (CVS 2635)
FossilOrigin-Name: 07b4892149a436dbd904c781b46e3b9a82a7a744
2005-08-28 01:34:21 +00:00