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