drh
afc91047b2
Test coverage and documentation improvements. (CVS 4803)
...
FossilOrigin-Name: e0baceac412b85348e67f2376ea10000e1f76ab8
2008-02-21 02:09:45 +00:00
drh
a4267dcc69
Make sure SQLITE_OPEN_DELETEONCLOSE is ignored by sqlite3_open_v2(). (CVS 4798)
...
FossilOrigin-Name: 33e26f6adf2ec2ab2e2711a8f86ce4cb11544e61
2008-02-19 15:20:44 +00:00
danielk1977
7c36d07715
Add "return rc;" to the end of sqlite3_test_control(). (CVS 4760)
...
FossilOrigin-Name: b547e7ea75294997de4298e30af813f36dfa3b05
2008-01-31 15:31:01 +00:00
drh
ed13d98c8c
Add the sqlite3_test_control() API. Use it to control the fault injector. (CVS 4758)
...
FossilOrigin-Name: 413ddade6a13f993cddc57389d1107d82fa19972
2008-01-31 14:43:24 +00:00
drh
820a90694e
Version number to 3.5.5. Include FTS3 in the amalgamation by default
...
(but disabled unless compiled with -DSQLITE_ENABLE_FTS3). Fix a memory
allocation problem. (CVS 4757)
FossilOrigin-Name: 72411043e60d5358d5a7adf566d662d65d3b3336
2008-01-31 13:35:48 +00:00
drh
01495b9921
Improvements to test coverage in the lemon-generated parser and in the
...
sqlite3_get_table() interface. (CVS 4745)
FossilOrigin-Name: 9f95d79daeb5e7f6fd62f3c896dae4d332121d1c
2008-01-23 12:52:40 +00:00
drh
7e8b848a60
Make sqlite3SafetyOn() and sqlite3SafetyOff() macros which disappear when
...
compiling without -DSQLITE_DEBUG=1. (CVS 4744)
FossilOrigin-Name: 5375ad6b4b652f388469b0ce4e8e78b3f49169bd
2008-01-23 03:03:05 +00:00
drh
643167ff21
Add the fault injector module in fault.c. Use it as a basis for memory
...
allocation failure testing. (CVS 4742)
FossilOrigin-Name: 1a335e180183b414fcc3510ce28b98b21cd134a6
2008-01-22 21:30:53 +00:00
drh
5517625960
Remove dead code from the lemon-generated parser. Better testing
...
of the sqlite3_file_control() interface, and in particular make sure
the interface works on :memory: databases. (CVS 4738)
FossilOrigin-Name: 83ca4fc7dc18d6deca58fe4181905eb9754e03da
2008-01-22 14:50:16 +00:00
drh
9b5adfa220
Add the RTRIM collating sequence. Only implemented for UTF8. Still
...
considered experimental and may be removed if we find adverse impact
elsewhere in the system. (CVS 4732)
FossilOrigin-Name: 0bf4e7fefdbbf7be4e32195473563158f22f1869
2008-01-20 23:19:56 +00:00
drh
e5fe690d75
In shared-cache mode, make sure the busy hander invoked is the
...
busy handler associated with the database connection that caused
the lock contention in the first place. (CVS 4598)
FossilOrigin-Name: c9eb65912f61ce0a6b66fe253652a1827e46b12a
2007-12-07 18:55:28 +00:00
drh
ddac25c732
Add the ability to change the autovacuum status of an existing database
...
by setting the auto_vacuum pragma then running the VACUUM command. (CVS 4592)
FossilOrigin-Name: bdfc19e838b369a8c5d5d23663fad690f55ba3d7
2007-12-05 01:38:23 +00:00
drh
7d97efbe57
Convert a K&R style function to ANSI style. Ticket #2548 . (CVS 4487)
...
FossilOrigin-Name: e1b2e7c24ce0f838687a503dc98188a0e67c79de
2007-10-12 19:35:48 +00:00
drh
e0ea9bf4a4
Fix a syntax error that comes up when memory debugging is disabled. (CVS 4462)
...
FossilOrigin-Name: 96dd3c336b5bbf9da6ba9ace85dbe7c4b1ff2bcb
2007-10-03 21:10:58 +00:00
danielk1977
ae72d98252
Add automatic recovery from the pager "error-state". Also add a new error code - SQLITE_IOERR_NOMEM. (CVS 4454)
...
FossilOrigin-Name: 12eca32a6a3d68d5b20eed03afdffe7599e66014
2007-10-03 08:46:44 +00:00
drh
33f4e02af6
Honor the SQLITE_OPEN_ flags passed into sqlite3_open_v2(). Some
...
test cases added but more are needed. Ticket #2616 . (CVS 4376)
FossilOrigin-Name: 020a2b10d408f51d4ef3211c5f701f5378fd4625
2007-09-03 15:19:34 +00:00
danielk1977
fa18bece7a
Handle transient malloc() failures in sqlite3CreateFunc(). (CVS 4371)
...
FossilOrigin-Name: c0ce63196458c81e0859fc8a38f2dd2145a580bc
2007-09-03 11:04:22 +00:00
danielk1977
95c8a54c7d
Fix for registration of non-default vfs objects. (CVS 4360)
...
FossilOrigin-Name: 5f48fb95c26a713b3259ee49fd444108030376dc
2007-09-01 06:51:27 +00:00
drh
cc6bb3eaeb
Initial implementation of the sqlite3_file_control() interface.
...
Compiles and passes all historical tests but the new method is itself
untested. (CVS 4353)
FossilOrigin-Name: d3ab3e3911f10b17d0859a34f4f007c790a0cd82
2007-08-31 16:11:35 +00:00
drh
b67e8bf071
Add the experimental sqlite3_threadsafe() API. (CVS 4350)
...
FossilOrigin-Name: 1b39a714efbe1f4ccc8daf68a227a8c9b84a388f
2007-08-30 20:09:48 +00:00
drh
428e282662
Make the latest interfaces usable by loadable extensions. (CVS 4343)
...
FossilOrigin-Name: e9b2700b8c30b0255c9e33419ff18bdebb78087a
2007-08-30 16:23:19 +00:00
drh
1cc8c448b5
Remove nRef and vfsMutex from the sqlite3_vfs structure. Omit the
...
sqlite3_vfs_release() interface. Less memory allocated for a pager
in the common case where the size of the pathname is less than MAX_PATH. (CVS 4287)
FossilOrigin-Name: b8451da378179d43f25d9a014480c0f13dd1dc37
2007-08-24 16:08:29 +00:00
drh
153c62c461
The win32 driver compiles but does not yet work well. Many bugs
...
fixed. (CVS 4282)
FossilOrigin-Name: 3a68fcddfa9184e4b310ce0a21312c54b9462ec8
2007-08-24 03:51:33 +00:00
drh
f3a65f7e44
The malloc.test script now passes all tests with no errors. (CVS 4271)
...
FossilOrigin-Name: db818430e9ea4ef4a4af575784009d5acae785a3
2007-08-22 20:18:21 +00:00
drh
27641703cc
A complete run of quick.test with mutex debugging enabled. (CVS 4266)
...
FossilOrigin-Name: 783e07d561d1f5509de9475f3b9f38315f247002
2007-08-22 02:56:42 +00:00
drh
86f8c197dd
Reenable the memory management logic. The quick.test script now runs with
...
SQLITE_MEMDEBUG and SQLITE_ENABLE_MEMORY_MANAGEMENT. 7 minor errors. (CVS 4265)
FossilOrigin-Name: 1914044b8832041f13b20ead613bd13725425d7a
2007-08-22 00:39:19 +00:00
drh
b21c8cd4f6
The sqlite3_value object now carries an sqlite3* pointer to use for
...
recording malloc failures. This eliminates the need to pass sqlite3*
pointers into many internal interfaces. Also added more mutexing. (CVS 4263)
FossilOrigin-Name: 9287276191a582c1cf7cf6b71d8399727d8e534d
2007-08-21 19:33:56 +00:00
drh
e30f442622
Adding more thread locking code. This is an incremental check-in. (CVS 4262)
...
FossilOrigin-Name: 7428732b1fa04b83eda0a3539834693ef351313e
2007-08-21 16:15:55 +00:00
drh
605264d2d8
Readded the sqlite3_open_v2() interface. No test cases yet.
...
Additional progress toward adding mutexes to all interfaces. (CVS 4261)
FossilOrigin-Name: 3787563e90d7210d349ee36484c3f008c955552e
2007-08-21 15:13:19 +00:00
drh
29278e3dbb
Remove unnecessary #includes of "os.h". New mutex implementations. (CVS 4255)
...
FossilOrigin-Name: fbbd5bda544ffec4e1b43407b12e546235dc7873
2007-08-21 10:44:15 +00:00
drh
d677b3d688
Work toward multithreading support. Currently crashes quickly on a test. (CVS 4253)
...
FossilOrigin-Name: 1315bd8e125602275fb718780f9b2730bd37f6ab
2007-08-20 22:48:41 +00:00
shess
69c4ae2413
Add support for building with fts3. (CVS 4250)
...
FossilOrigin-Name: 95ef963232ab1f15a7c42229819d33d3571a753e
2007-08-20 17:37:47 +00:00
danielk1977
2a6bdf6d5b
Call sqlite3OsSleep() with an argument in microseconds, not milliseconds. (CVS 4248)
...
FossilOrigin-Name: 917790413ced92266bf5c7cca6d130ed7ac6221b
2007-08-20 16:07:00 +00:00
drh
482ea18fde
Get main.c to compile when HAVE_USLEEP is 0. (CVS 4245)
...
FossilOrigin-Name: b27f022fb924709f1c5e4642d5d59cab942e826d
2007-08-20 11:12:40 +00:00
danielk1977
fee2d25a70
Further progress on migration to sqlite3_vfs. (CVS 4242)
...
FossilOrigin-Name: a258c4ec240f96bccfe493e98d0827ec7dd12e67
2007-08-18 10:59:19 +00:00
danielk1977
b4b47411ab
Begin migration to using sqlite3_vfs interface. (CVS 4240)
...
FossilOrigin-Name: af3e3c7acdc67013dd733effebe981620d922dd1
2007-08-17 15:53:36 +00:00
drh
e53831d644
Begin adding mutexes. Compiles without SQLITE_OMIT_SHARED_CACHE but we
...
get an assertion fault on the shared cache testing. (CVS 4239)
FossilOrigin-Name: 4c1e9ffebe7c611a8b6a89153ae97ab9bca19ea3
2007-08-17 01:14:38 +00:00
drh
dce8bdb8c0
Remove the thread specific data subsystem from the unix build. Remove
...
legacy cruft from sqliteInt.h. Use the new mutex subsystem in the PRNG. (CVS 4237)
FossilOrigin-Name: 3d60c14a32955b69e714a73372924d421899f83b
2007-08-16 13:01:44 +00:00
danielk1977
1e5369531e
More work on refactoring of malloc() interfaces. There are still many errors. (CVS 4233)
...
FossilOrigin-Name: 77b1671351fe94b0ebc126a63140643deae2aa64
2007-08-16 10:09:01 +00:00
drh
174357527a
Half-way through a major refactoring of the memory allocation.
...
I have not even attempted to compile so I am certain there are
countless errors. (CVS 4231)
FossilOrigin-Name: deb7ecd65f7b83eaf0ba610eeef3b0ede61db1c3
2007-08-16 04:30:38 +00:00
drh
90f6a5beff
Add initial implementations of mutex and memory subsystem modules. (CVS 4226)
...
FossilOrigin-Name: c0fa3769790af199a4c8715c80bb8ff900730520
2007-08-15 13:04:54 +00:00
danielk1977
ea4d9e2dc8
Invalidate prepared SQL statements when rolling back a transaction that includes schema modifications. (CVS 4216)
...
FossilOrigin-Name: a07143fc0578a5fc7c891e94616ee0b353674d6e
2007-08-13 15:28:33 +00:00
danielk1977
832a58a68c
Extend fts2 so that user defined tokenizers may be added. Add a tokenizer that uses the ICU library if available. Documentation and tests to come. (CVS 4108)
...
FossilOrigin-Name: 68677e420c744b39ea9d7399819e0f376748886d
2007-06-22 15:21:15 +00:00
drh
ee85813c94
Fix the amalgamation generator so that all non-API functions have file scope. (CVS 3958)
...
FossilOrigin-Name: e9f56ead0514f3eac75807ea710c1f035b8add4f
2007-05-08 20:37:38 +00:00
drh
023ae03a72
Begin adding code to explicitly limit the size of strings and blobs. (CVS 3943)
...
FossilOrigin-Name: 031a5915b68ec6827fee38b8b9dc74a9e0e09302
2007-05-08 12:12:16 +00:00
drh
c797d4dccd
Begin implementing a new system of upper bounds on the capabilities
...
of SQLite. By clearly defining the upper bounds, we make those
upper bounds explicitly testable. This check-in is just infrastructure.
The upper bounds are not yet enforced. (CVS 3941)
FossilOrigin-Name: 93b623b232a43f78d2c90bfa2389dd5b28ad7280
2007-05-08 01:08:49 +00:00
danielk1977
a393c03686
Change the name of create_collation_x() to create_collation_v2(). Also add some tests for it. (CVS 3938)
...
FossilOrigin-Name: ddc4e4797ff902692c4f0d86ec5f4e94cc7f0741
2007-05-07 14:58:53 +00:00
danielk1977
a9808b31a8
Add the experimental create_collation_x() api. (CVS 3934)
...
FossilOrigin-Name: ff49d48f2f025898a0f4ace1fc227e1d367ea89f
2007-05-07 09:32:45 +00:00
danielk1977
83852acc44
Add the start of the ICU extension. (CVS 3931)
...
FossilOrigin-Name: f473e8526770b6a332dfde3e1fd1ddf8df493e9a
2007-05-06 16:04:11 +00:00
danielk1977
0125683288
Minor changes (mainly to assert() macros) to handle malloc failure in vtab operations. (CVS 3851)
...
FossilOrigin-Name: 175156d1fcaadab3b955597abb27f6b9043bbb5b
2007-04-18 14:24:32 +00:00