danielk1977
967a4a1c96
Changes to crash-test io backend (test6.c) so that it works with the sqlite3_vfs interface. (CVS 4247)
...
FossilOrigin-Name: 40f66ada815fa1043d24c9cd6d898e1797e7044a
2007-08-20 14:23:44 +00:00
drh
abddb0c8c4
Bug fix in BTree shared cache locking code. (CVS 4246)
...
FossilOrigin-Name: 399d3e755253a7b4604a62b9f171e0f1154134e2
2007-08-20 13:14:28 +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
ad94b58a5e
Update the locking-style code in os_unix.c. The updates are as yet untested. (CVS 4244)
...
FossilOrigin-Name: 41f2175b1ed7eccf271b687ee5c3ea262a0cd096
2007-08-20 06:44:22 +00:00
danielk1977
f036aef061
Fix full_fsync() related functionality broken as part of the migration to sqlite3_vfs. (CVS 4243)
...
FossilOrigin-Name: cb24cda179c2b526c5ac48be75e372d2b9db808c
2007-08-20 05:36:51 +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
90949c2003
Remove some old OsFile and IoMethod related code. Add the sqlite3OsLockState function. (CVS 4241)
...
FossilOrigin-Name: 08a0f48028794abbeae1b4852652062b38d37d88
2007-08-17 16:50:38 +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
6bdec4afb4
Change the design of the mutex interface to allow for
...
both "fast" and "recursive" mutexes. (CVS 4238)
FossilOrigin-Name: 160593dcc5690af715b775c81137c6e09cca6454
2007-08-16 19:40:16 +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
drh
abb6fcabcb
Combine sqlite3DbOfVdbe() and sqlite3VdbeDb() into a single function. (CVS 4236)
...
FossilOrigin-Name: ba80ee59a72afe36817997de705ef81d876b6f35
2007-08-16 12:24:01 +00:00
danielk1977
31dad9da7e
Fix some more small problems introduced by recent refactoring. (CVS 4235)
...
FossilOrigin-Name: 5e2795d0eb8ea2a076b3014cfa9096aa7e8f69d7
2007-08-16 11:36:15 +00:00
danielk1977
c6cc77d368
Replace a few sqlite3_malloc() calls that should be sqlite3MallocZero(). (CVS 4234)
...
FossilOrigin-Name: 384d0ca9bc96309e7057e4a2bd4bac5049485e9b
2007-08-16 10:36:33 +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
0e6f1546b0
Enhancements and smoke testing of the new memory allocation subsystem.
...
Have not yet cut it over to the core, though. (CVS 4230)
FossilOrigin-Name: 1dad2c0a1f00596b13b02ccef664bd2346a677a4
2007-08-15 20:41:28 +00:00
drh
2f999a6758
Test infrastructure for the new memory subsystem. (CVS 4229)
...
FossilOrigin-Name: 9e506656720fb3a3205b8cc398152272ce56f6f3
2007-08-15 19:16:43 +00:00
danielk1977
6207906027
Modify the crash-recovery test code in test6.c for 3.5. Also change some other code to use the new sqlite3_io_methods interface. Lots of things are broken now. (CVS 4228)
...
FossilOrigin-Name: af9503daf3f7703fcddad754bc1dc9e179830b6e
2007-08-15 17:08:46 +00:00
drh
4c3645c601
Add a debugging memory allocator. (CVS 4227)
...
FossilOrigin-Name: 8d2d1c4ff9dca61f75e3048107ee9712d346a28c
2007-08-15 17:07:57 +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
drh
d84f946be8
Revisions to the interface design for 3.5. (CVS 4225)
...
FossilOrigin-Name: 174116f7c0ceeceb5e32868b29fabf8a6943cbf6
2007-08-15 11:28:56 +00:00
drh
871f6ca15a
Clarify documentation on sqlite3_interrupt(). (CVS 4224)
...
FossilOrigin-Name: 0b5b526c9de22a34c5051d14735a062ed3f898eb
2007-08-14 18:03:14 +00:00
danielk1977
0d24e6b876
Add comments describing upcoming changes to crash-test module (test6.c). No code
...
changes. (CVS 4223)
FossilOrigin-Name: 63631c17376bcb5a7aa305408aaeaf03738d7b95
2007-08-14 17:42:05 +00:00
drh
6d2069d9e8
Add a first cut at the new version 3.5 interface definitions to sqlite.h.in. (CVS 4219)
...
FossilOrigin-Name: 0a57f3dd4de12278732e3ca9d8a95f85c351da03
2007-08-14 01:58:53 +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
drh
a7fba4b055
Disable tests that require 80-bit long doubles when the host only
...
provides 64-bit long doubles. Ticket #2570 . (CVS 4215)
FossilOrigin-Name: 4f4f8ef416394b7e54e8894f7a0d067d64636fc4
2007-08-13 15:18:27 +00:00
drh
117066ce50
Fix a page leak in btree balance routines that follows a malloc failure.
...
This problem detected by the new soft-heap-limit testing. (CVS 4214)
FossilOrigin-Name: bad661bb0bfabf982a2d711ea4165af130a4cae0
2007-08-13 14:56:44 +00:00
danielk1977
5814c1a9fc
When loading a database schema, do not clear the SQLITE_InternChanges flag. This fixes the problem illustrated by (4211). (CVS 4213)
...
FossilOrigin-Name: 540a7b28bc37709056cfdb13286274ec5bdd8423
2007-08-13 14:41:19 +00:00
drh
00a18e476a
Remove a memory allocation from sqlite3VdbeIOTraceSql(). This means that
...
when doing I/O tracing, the text of an SQL statement is truncated to the
first 1000 characters. But it also means tracing works in an out-of-memory
situation. (CVS 4210)
FossilOrigin-Name: 578da2476e356ea35d272e18faf490efedeaf25c
2007-08-13 11:10:34 +00:00
drh
8940f4ee56
Backout check-in (4206) and replace it with a much better and more
...
general fix for the problem identified in ticket #2565 . (CVS 4208)
FossilOrigin-Name: 7961a7385013d74ec78cbdfff6867c505528c163
2007-08-11 00:26:20 +00:00
drh
34f5621ff1
Fix some incorrect asserts() in the pager - problems brought to light by
...
the new soft-heap-limit testing apparatus of check-in (4202). (CVS 4207)
FossilOrigin-Name: 51f3e01b7486f23b67bdfb6bb19fc5297b2c8cec
2007-08-10 23:56:35 +00:00
drh
fdd30b0e46
Fix the corruption problem of ticket #2565 as demonstrated by the test added
...
in (4204). There may yet be other instances of similar problems lurking in
the code. (CVS 4206)
FossilOrigin-Name: 7ed2f59e70e0d9a8ad0c47c8c12fae0aaddcedce
2007-08-10 23:54:16 +00:00
drh
73be501329
More tweaking of linkage. Ticket #2554 . (CVS 4200)
...
FossilOrigin-Name: 3759a38fe8e8a873dc3aae8dc99ca1010551b50b
2007-08-08 12:11:21 +00:00
drh
f7083bf6d2
Additional refinements on the amalgamation: Give a couple of constants
...
file scope and add the SQLITE_API prefix to some interfaces that need it.
Ticket #2554 . (CVS 4199)
FossilOrigin-Name: c09ec102c4f62e492dd3676ef0aa1a183d6ce3b3
2007-08-08 01:04:52 +00:00
drh
fd131daecd
Remove all tabs from source code files. Ticket #2556 . (CVS 4198)
...
FossilOrigin-Name: 7550dd1d5980a399fbb06b4ed69216700f879a0b
2007-08-07 17:13:03 +00:00
drh
0a0e131c7e
Revise the amalgamation so that all symbols have file scope except those
...
that begin with "sqlite3_". Ticket #2554 . (CVS 4197)
FossilOrigin-Name: 73db545289a1a99bd48b22895d2a3ee86540f107
2007-08-07 17:04:59 +00:00
drh
e6e4d6bb1a
Fix some compiler warnings. (CVS 4196)
...
FossilOrigin-Name: 6cc15409ad6baefbe6e2214a4ac1cb3a0433f922
2007-08-05 23:52:05 +00:00
danielk1977
d42f8fdc7a
Avoid reloading the schema when an expired statement is finalized or reset.
...
This is only necessary when the in-memory schema does not match the file-system schema. (CVS 4194)
FossilOrigin-Name: 61de5b52daa0a862a04147dbaf71fafb696052f6
2007-08-03 07:33:08 +00:00
drh
b695acae1f
Make excess output from the CLI appear inside SQL comments so as not
...
to interfere with generated SQL. Ticket #2544 . (CVS 4192)
FossilOrigin-Name: 49a2e85511e845051cfc6ae4318207b1866d43c9
2007-07-30 20:41:52 +00:00
rse
be0a909683
Get rid of the following compile-time warning:
...
"src/shell.c:112: warning: 'iotracePrintf' defined but not used" (CVS 4188)
FossilOrigin-Name: 271e27fd30f3b99e6d6ad2fc2c6e87f43f4c76c8
2007-07-30 18:24:38 +00:00
danielk1977
eb5453d122
Fix a bug with explicit collation sequences attached to a column reference expression that is on the right-hand-side of a binary comparison operator. (CVS 4187)
...
FossilOrigin-Name: 7b69968618bfc19f0c1ab25c5f16c9fdff5af094
2007-07-30 14:40:48 +00:00
danielk1977
e0fc52618c
Fix two obscure memory leaks that can follow a malloc() failure in sqlite3_set_auxdata(). Ticket #2534 . (CVS 4185)
...
FossilOrigin-Name: b88af1827bec3e8a32450dd0a073ffc3b12a5939
2007-07-26 06:50:05 +00:00
drh
36379e973b
Detect nested aggregate functions even if the inner aggregate function is
...
aliased using an AS clause. Ticket #2526 . (CVS 4179)
FossilOrigin-Name: de000280c6d0b13440d2450eb6ba42073ad46c56
2007-07-23 22:51:15 +00:00
drh
2e06c67c08
The REPLACE conflict resolution falls back to FAIL when on a
...
CHECK constraint violation. Ticket #2525 . (CVS 4178)
FossilOrigin-Name: b213614abff90c65cc7228c87f4973150e8a9679
2007-07-23 19:39:46 +00:00
drh
95bdbbbd9e
Move prototypes for LEMON-generated parser functions into sqliteInt.h.
...
Ticket #2521 . (CVS 4177)
FossilOrigin-Name: bc02c7f1621ff46707f147c75f7e98462b01907f
2007-07-23 19:31:16 +00:00
drh
67f80b67bb
Check the return value of sqlite3PagerWrite() when autovacuuming.
...
Ticket #2524 . (CVS 4176)
FossilOrigin-Name: b4a5c62b853f7a7d38863c39be274dccd2640944
2007-07-23 19:26:17 +00:00
drh
6615095629
Rework the UTF8 reader logic in order to avoid the use of malloc().
...
Ticket #2523 . (CVS 4175)
FossilOrigin-Name: 9a059cb6bced5cdc950f7816602ac92d89a899be
2007-07-23 19:12:41 +00:00
drh
ad6b3159be
Fix a bad sizeof in vdbe.c. Ticket #2522 . (CVS 4174)
...
FossilOrigin-Name: 77ebc3feb089c28155cf20873fb4eabd26fa50c1
2007-07-22 19:10:20 +00:00
drh
ddb63de659
Work around a bug in GCC. Ticket #2469 . (CVS 4173)
...
FossilOrigin-Name: 1924ba5207bdc8d503c17cd9460c1a9f9c357635
2007-07-21 19:41:45 +00:00