Commit Graph

350 Commits

Author SHA1 Message Date
drh
f5bf0a78be Fix a bug in DROP TABLE that could cause SQLITE_MASTER table corruption.
The root problem was that the sequence of BTree operations (Delete, Next)
would not always leave the cursor pointing at the first entry after the
entry that was deleted.  A consequence of this error was that a DROP TABLE
on a table with indices would not always remove every index associated
with that table from the SQLITE_MASTER table.  Subsequent attempts to
open the database will fail when the index for the missing table was
parsed.  Changes have also been made to ignore extra indices in the
SQLITE_MASTER table so that a database previously corrupted by this bug
is once again readable. (CVS 316)

FossilOrigin-Name: 8a984667113564f2bac7412165b6ff8b7e3e8f70
2001-11-23 00:24:12 +00:00
drh
6b56344d4a New Next opcode and indexing style implemented. (CVS 304)
FossilOrigin-Name: decbeb9151885fee473b3fa58c8cf78a2338d2d8
2001-11-07 16:48:26 +00:00
drh
9f71c2e002 Added "const" to lots of "char*" parameters in the API. (CVS 298)
FossilOrigin-Name: 1c448f1fd2a2e103e7464df896174534d02152ed
2001-11-03 23:57:09 +00:00
drh
6d4abfbee5 More changes for 2.0.7. (CVS 293)
FossilOrigin-Name: f8328a5f11801c5124f9a8dace22df3c1cfb2191
2001-10-22 02:58:08 +00:00
drh
81a20f21d5 Fix an assertion failure when the disk fills up. Add tests for a full
disk situation. (CVS 285)

FossilOrigin-Name: 0a7848b6190981cb7eb673bbe68cb217694daf2e
2001-10-12 17:30:04 +00:00
drh
3109e02ec5 The sqlite_busy_timeout() function was interpreting its second argument
as seconds, not milliseconds as advertised.  This patch fixes the problem. (CVS 284)

FossilOrigin-Name: abe5a25b9dcf1e47f3cb37fd419f620db03bd4da
2001-10-09 13:46:01 +00:00
drh
f57b339988 Support for temporary tables added. Still need more testing. (CVS 279)
FossilOrigin-Name: 9368c62e4097aae3081a325962c1dec167fd253d
2001-10-08 13:22:32 +00:00
drh
382c0247c7 Adding table column query capability to support ODBC. (CVS 278)
FossilOrigin-Name: b63b3f3684a3d584ef99f54cde76b6c483bbfef7
2001-10-06 16:33:02 +00:00
drh
adbca9cfde Fixed the support of UNIQUE and PRIMARY KEY. (CVS 268)
FossilOrigin-Name: 116fdad06868acf6aca9e75c2c3497c0511a42c3
2001-09-27 15:11:53 +00:00
drh
f3256d2c82 RowIDs are now always expressed in native byte order. (CVS 263)
FossilOrigin-Name: bb4313a94bc079d072078f353e54f3804971060d
2001-09-23 20:17:55 +00:00
drh
beae319476 Put in a generic hash table system in place of the various ad-hoc
hash table scattered everywhere.  Except, the page hash table in
the pager is unchanged. (CVS 260)

FossilOrigin-Name: 9114420dd01d92cc8890046500a8806a297a4e65
2001-09-22 18:12:08 +00:00
drh
8cfbf08ffa Trying to get the OS abstraction layer to work. (CVS 256)
FossilOrigin-Name: abff526d005b3b46904de091753cc79548739ad8
2001-09-19 13:22:39 +00:00
drh
e3c413727b Add a new column in the SQLITE_MASTER table to record the root page
number of primary key indices. (CVS 252)

FossilOrigin-Name: 602ea4f9f641070592c788ce22859b849739b42e
2001-09-17 20:25:58 +00:00
drh
b19a2bc603 Disclaimed copyright. Preparing for release 2.0. (CVS 250)
FossilOrigin-Name: 4e926efe2b59adfec4086eb1d2ba830238facb4c
2001-09-16 00:13:26 +00:00
drh
50e5dadf2c Everything is working on Linux. This is release 2.0-Alpha-1. (CVS 246)
FossilOrigin-Name: 14474fa144fe7c5dc63e0990d6cc92d769e6013e
2001-09-15 00:57:28 +00:00
drh
a1b351af54 Bug fixes and speed improvements. Delete is still slow. (CVS 244)
FossilOrigin-Name: 7da856cd94d2572070e40762e5bc477679e60042
2001-09-14 16:42:12 +00:00
drh
5edc31243e Many problems fixed. Many problems yet to go. (CVS 242)
FossilOrigin-Name: 62c7bd11bcf6438cdcbf66fa67a2bf4ab9d1664d
2001-09-13 21:53:09 +00:00
drh
d78eeee1f2 It runs. Simple tables can be created. INSERT and SELECT work. Much more
testing is needed, however. (CVS 241)

FossilOrigin-Name: 9ac8399c99cb996a382f3d49f45b6ca857adc827
2001-09-13 16:18:53 +00:00
drh
5b2fd56fcb The new Btree code runs, but it does not yet work. (CVS 240)
FossilOrigin-Name: 991ce8115052da9395d4bf8ff29f417e3c36dc7f
2001-09-13 15:21:31 +00:00
drh
be0072d249 The BTree changes are now integrated and the whole thing compiles and
links. I have not yet tried to run it, though. (CVS 239)

FossilOrigin-Name: a0a1e701abc52a164d9b09a5426eb12af1fe6a4c
2001-09-13 14:46:09 +00:00
drh
5e00f6c7d5 The code is in place to replace GDBM with BTree. But I have not yet
attempted to compile it.  I am sure the code contains bugs. (CVS 238)

FossilOrigin-Name: 6ecc8b20d4f402f45f03d46d8d4fa40dea666e97
2001-09-13 13:46:56 +00:00
drh
7e3b0a077d :-) (CVS 214)
FossilOrigin-Name: 73a1ed61265040925f1a41c9c0cfeea50db70b01
2001-04-28 16:52:40 +00:00
drh
daffd0e597 better handling of out-of-memory errors (CVS 207)
FossilOrigin-Name: 86b30cd0975dfea9424b9f9f0d4194aa71ce508b
2001-04-11 14:28:42 +00:00
drh
fbc3eab85b Check for miscompiled Tcl (CVS 204)
FossilOrigin-Name: 735d8b5c13b5e2602b37940377fced098be210c1
2001-04-06 16:13:42 +00:00
drh
297ecf146b i18n changes (CVS 201)
FossilOrigin-Name: 8390f6521af0f1c5cd0298cc4a1dfa3f092c1e15
2001-04-05 15:57:13 +00:00
drh
338ea13c0d Perpare to fork SQLite2.0 develop into a separate tree (CVS 183)
FossilOrigin-Name: 6adb6078871114ba19ab601bb94d43ff9e03e43f
2001-02-11 16:56:24 +00:00
drh
345fda3ef5 continued progress toward version 2.0 (CVS 177)
FossilOrigin-Name: c6ffb7ec6acb596907ead8992dfad94e18e83866
2001-01-15 22:51:08 +00:00
drh
ae85dc8b0b Changes to the DBBE. Moving toward having many more
backend driver choices. (CVS 176)

FossilOrigin-Name: c0730217a04323a1a73d125e3e7da32bcc8d58fc
2001-01-13 14:34:05 +00:00
drh
8c82b3506e speed tweaks and documentation updates (CVS 167)
FossilOrigin-Name: ced90c3f93e5e0cf73ea77b62a1308cd8dd5f3b3
2000-12-10 18:23:50 +00:00
drh
bb0b679c02 Break out DBBE drivers into separate files. (CVS 157)
FossilOrigin-Name: 979ef5d5d64b8e38cc15fef0d2d507ca2fe6842c
2000-10-19 01:49:02 +00:00
drh
4c5043910b Added an interrupt capability (CVS 153)
FossilOrigin-Name: f7ea08b931b9b40831bfe73cd7afea17f92112cf
2000-10-16 22:06:40 +00:00
drh
7c68d60b6f Misc cleanup. Notes on compiling for Win95. (CVS 152)
FossilOrigin-Name: 3f0f1fa1fce794d1661c845f1a63a8d744892c25
2000-10-11 19:28:51 +00:00
drh
3d0b5598c0 :-) (CVS 139)
FossilOrigin-Name: 67e2da38c30ca73707ad48064a23794cfcff7888
2000-08-22 13:40:51 +00:00
drh
b217a57eb9 :-) (CVS 138)
FossilOrigin-Name: c6b71d9b4b09243401072eaa278fd1b9757a9c3d
2000-08-22 13:40:18 +00:00
drh
2803757a35 file format change (CVS 122)
FossilOrigin-Name: b7b90237945d3577caba3a2f5595e52b25027297
2000-08-02 13:47:41 +00:00
drh
82ad383270 patches to compile for WinNT (CVS 115)
FossilOrigin-Name: 47dfec3aaa896073ee0e26db428f0dc9b27f94f3
2000-07-31 13:38:24 +00:00
drh
2dfbbcafb8 added the sqlite_busy_handler() interface (CVS 109)
FossilOrigin-Name: 4fe8e51c248369572637a5351bd193f07e059fa2
2000-07-28 14:32:48 +00:00
drh
967e8b7351 :-) (CVS 104)
FossilOrigin-Name: e1bf96a467b739373191bf75e6a097fc0f24bffc
2000-06-21 13:59:10 +00:00
drh
d8bc708652 :-) (CVS 74)
FossilOrigin-Name: 2ffeb8509c469f5a499d56bb109da079fcdff570
2000-06-07 23:51:50 +00:00
drh
cc85b411c7 :-) (CVS 70)
FossilOrigin-Name: d3baa046c946a2c4d5567ee57d96a6c8aa5740b9
2000-06-07 15:11:27 +00:00
drh
5974a30f1a :-) (CVS 1697)
FossilOrigin-Name: 5d773b5d4e9c23b81f53afd0cef7bd2300fff329
2000-06-07 14:42:26 +00:00
drh
9bb61fe751 separate Select structure (CVS 51)
FossilOrigin-Name: ce45dea902f9010a1c2c9ba3550dd789e7c15fcd
2000-06-05 16:01:39 +00:00
drh
d1dedb86bf :-) (CVS 50)
FossilOrigin-Name: 1cf2873d55b471bb3e397f90dc0868dd88c440a0
2000-06-05 02:07:04 +00:00
drh
df16aed362 :-) (CVS 38)
FossilOrigin-Name: 46c4b792e0a0e61c417f5c1771e013d90d652507
2000-06-02 14:27:22 +00:00
drh
bed8690fde :-) (CVS 37)
FossilOrigin-Name: 2b55f9b790e2914bbd2fd27ef23bbab79fa76937
2000-06-02 13:27:59 +00:00
drh
eec553b695 :-) (CVS 36)
FossilOrigin-Name: d3c31defbaf25f470d0977c39325890ab8bad054
2000-06-02 01:51:20 +00:00
drh
3143701663 :-) (CVS 35)
FossilOrigin-Name: a57ecd606c8caa67db240d1a4bc46c0a590fde0c
2000-06-02 01:36:16 +00:00
drh
58b9576b7a :-) (CVS 34)
FossilOrigin-Name: 52338f4ab5990fefc61f615cd65c3a724b365199
2000-06-02 01:17:37 +00:00
drh
c3c2fc9a49 :-) (CVS 29)
FossilOrigin-Name: 09054df318240f2f2b365f7b24655473c1ab6655
2000-05-31 22:58:39 +00:00
drh
75897234be initial check-in of the new version (CVS 1)
FossilOrigin-Name: 6f3655f79f9b6fc9fb7baaa10a7e0f2b6a512dfa
2000-05-29 14:26:00 +00:00