1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00
Commit Graph

145 Commits

Author SHA1 Message Date
drh
6446c4dc67 Comment and documentation changes. (CVS 331)
FossilOrigin-Name: e8595579a5218aa3f344f967a23ac52ea89daca1
2001-12-15 14:22:18 +00:00
drh
0ce92edd57 Fix a bug in the sqliteBtreeFirst() function which was causing the first
row of a table to be repeated during a scan. (CVS 328)

FossilOrigin-Name: 1404ac076b2155778b6b21546b30df6f45ea7ba7
2001-12-15 02:47:28 +00:00
drh
a7fcb05988 Fix a race condition in the locking code that would sometimes cause
SQLITE_PROTOCOL or SQLITE_CORRUPT to be returned when SQLITE_BUSY should
have been returned. (CVS 326)

FossilOrigin-Name: b0d218876442187af08161d989e6887b1cb4130c
2001-12-14 15:09:55 +00:00
drh
b8ca307e7b Bug fix: sqlite_exec() would sometimes return SQLITE_PROTOCOL when it
should have returned SQLITE_BUSY.  There was also a deadlock that the
previous bug was masking. (CVS 322)

FossilOrigin-Name: 585ed5ebf1c1afc8ae1d569b121208018d8ecd49
2001-12-05 00:21:20 +00:00
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
5a2c2c20af Attempting to add support for 64-bit platforms. (CVS 314)
FossilOrigin-Name: 03673adbfe0c8a92d79f86ddf1136736594208ad
2001-11-21 02:21:11 +00:00
drh
58a11680d1 Comment changes (CVS 308)
FossilOrigin-Name: 2d2ad264aad6fbdcef586e73d750e3fde842252f
2001-11-10 13:51:08 +00:00
drh
8721ce4ae7 Incremental update. We are in the middle of modifying the index system
to support range queries without doing a complete table scan. (CVS 303)

FossilOrigin-Name: e6ca23fa4569bc33065bf57ce7ce6132cd6a9de0
2001-11-07 14:22:00 +00:00
drh
80ff32f5be Increase maximum row size to 1MB. (CVS 300)
FossilOrigin-Name: 7dd58fad398253608f55867cf1c7749eef005657
2001-11-04 18:32:46 +00:00
drh
18b81e5a93 Comment changes only. (CVS 296)
FossilOrigin-Name: b2cb118fb7c6713684d32a48a7ba8ffffe596687
2001-11-01 13:52:52 +00:00
drh
6d4abfbee5 More changes for 2.0.7. (CVS 293)
FossilOrigin-Name: f8328a5f11801c5124f9a8dace22df3c1cfb2191
2001-10-22 02:58:08 +00:00
drh
1bee3d7b43 Added support for the COUNT_CHANGES pragma in order to help out the
ODBC driver.  Fixed a but on count(*) when applied to empty tables. (CVS 289)

FossilOrigin-Name: 747bf1b30b74cfd0e9c27e7c0bc5172637f35520
2001-10-15 00:44:35 +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
100569d862 Remove C++ comments from btree.c. (CVS 277)
FossilOrigin-Name: 4b7710e2daadffb716bd88f3a213f94ffbb750ef
2001-10-02 13:01:48 +00:00
drh
717e640294 Added basic support for enforcement of UNIQUE on indices and primary
keys.  Support for addition constraints is to follow. (CVS 267)

FossilOrigin-Name: 34c42967f3d52dfb65d9f31db4f6995d098ec1f7
2001-09-27 03:22:32 +00:00
drh
ecdc7530dd Fixes to the locking and rollback behavior. (CVS 261)
FossilOrigin-Name: 337b3d3b2a903328d9744c111979909a284b8348
2001-09-23 02:35:53 +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
092d0350d5 Limit the total data in a single row to 2^16-1 bytes. (CVS 248)
FossilOrigin-Name: 8fdec4d8b6043471f21235bc8918c9a8d838f508
2001-09-15 13:15:12 +00:00
drh
f57b14a657 Added a PRAGMA statement. Took out the special comment parsing. (CVS 245)
FossilOrigin-Name: 5e3724603e6f52bb74deb1c62e6e8f323d7b64b7
2001-09-14 18:54:08 +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
3fc190cc3f All tests now pass. But there are still issues. For example, inserts
are way too slow.  And additional tests are needed for new features. (CVS 243)

FossilOrigin-Name: e7b65e37fd88c4d69c89cfe73ab345b8b645ada6
2001-09-14 03:24:23 +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
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
5c4d9703d9 Restore btree to the main line. (CVS 237)
FossilOrigin-Name: 2e6aff980287825b59d2ebb7005bb08dd601ff1c
2001-08-20 00:33:58 +00:00
drh
6019e168a0 BTree and pager are working pretty well now. (CVS 234)
FossilOrigin-Name: a84fb078baf96dbfb5983981127dfc905074b7f9
2001-07-02 17:51:45 +00:00
drh
efc251da92 More BTree tests (CVS 233)
FossilOrigin-Name: 55c89bfdd35f1ad494618a451f9a1ed08502ae07
2001-07-01 22:12:01 +00:00
drh
5eddca6cfc Implemented the sqliteBtreeSanityCheck() test function. (CVS 232)
FossilOrigin-Name: 42486880ed31318ef36a8831b959e9115b4fbac6
2001-06-30 21:53:53 +00:00
drh
9ca7d3b15d More BTree tests and a few bug fixes. (CVS 231)
FossilOrigin-Name: 2c9127943cd5a541613924d2df773c4e8df4c1a6
2001-06-28 11:50:21 +00:00
drh
dd79342e87 Got a lot of BTree tests working. Still lots more needed. (CVS 230)
FossilOrigin-Name: 9cfeeb5896d2a17c8c7904136d346a6245c9e497
2001-06-28 01:54:48 +00:00
drh
2aa679f604 More tests and bug fixes in btree.c (CVS 229)
FossilOrigin-Name: 6b9b298b2846146b95d7df7f423867976bafa390
2001-06-25 02:11:07 +00:00
drh
7c717f750e The first test file for BTree added. Simple insert and delete tests pass.
There is still a lot of work to be done, though. (CVS 228)

FossilOrigin-Name: 85f015c9750a5eab274e82f0e2c6e8f09dc7ca70
2001-06-24 20:39:41 +00:00
drh
8c42ca9366 The BTree code compiles and links now, but it does not work yet. (CVS 226)
FossilOrigin-Name: b31c49021c260a67b7848bc077b75a7146e31c71
2001-06-22 19:15:00 +00:00
drh
14acc04e91 All BTree code is in place. Now we just have to make it work. (CVS 225)
FossilOrigin-Name: d4be4709ee32bab6e78104861ed4e02d153779aa
2001-06-10 19:56:58 +00:00
drh
8b2f49b288 incremental update (CVS 223)
FossilOrigin-Name: 7108b699cc03d5d4dfb222ceab0196a85dbffd50
2001-06-08 00:21:52 +00:00
drh
bd03cae998 continued work on btree (CVS 222)
FossilOrigin-Name: d07e0e80a0b33081adda8651e9a6750b2e40141a
2001-06-02 02:40:57 +00:00
drh
5e2f8b94e4 :-) (CVS 221)
FossilOrigin-Name: c8d3bdd91e333f3fc519558e40c07e7e7c2ebeec
2001-05-28 00:41:15 +00:00
drh
3b7511c5cb :-) (CVS 220)
FossilOrigin-Name: 45a0e0fc8ccde52ac409d1271beaef779fa7eeee
2001-05-26 13:15:44 +00:00
drh
72f8286960 Continued work on btree (CVS 219)
FossilOrigin-Name: 18500cdcc1a42118cdf650681ebb1cbeac106aa7
2001-05-24 21:06:34 +00:00
drh
306dc21379 :-) (CVS 218)
FossilOrigin-Name: 523d52dfa6ae3028cbcc88d406501f3ebb6cbd2d
2001-05-21 13:45:10 +00:00
drh
2af926b95a :-) (CVS 217)
FossilOrigin-Name: ee6760fb62e81af95796c0fcf1e65e5dc0701194
2001-05-15 00:39:25 +00:00
drh
365d68f7f1 :-) (CVS 216)
FossilOrigin-Name: c3e521190f02120a34f1e9244fe1ea3a975a6caa
2001-05-11 11:02:46 +00:00
drh
08ed44e72c :-) (CVS 215)
FossilOrigin-Name: 624ccbca98be33a26c2af72d2d91c78f8a06ae9c
2001-04-29 23:32:55 +00:00
drh
7e3b0a077d :-) (CVS 214)
FossilOrigin-Name: 73a1ed61265040925f1a41c9c0cfeea50db70b01
2001-04-28 16:52:40 +00:00
drh
a059ad070b Begin adding BTree code (CVS 213)
FossilOrigin-Name: bdb1c425f577d455155982ee2cd8cb686bcaf0da
2001-04-17 20:09:11 +00:00