241 Commits

Author SHA1 Message Date
drh
bb37fdc782 More bug fixes in the ON CONFLICT enhancement. (CVS 357)
FossilOrigin-Name: 8229b5f6a348a56432a4a609ee125520c5831973
2002-01-30 00:54:55 +00:00
drh
0ca3e24b2e The new ON CONFLICT logic is in and passes the legacy tests. But the
new capabilities have not been tested and are likely broken. (CVS 356)

FossilOrigin-Name: ac8a4189e2a0c41161ee359db25de94435420368
2002-01-29 23:07:02 +00:00
drh
6b12545f4f Bug fix: The IN operator was not working if either side derived from
an INTEGER PRIMARY KEY. (CVS 354)

FossilOrigin-Name: dbcfe198fbaa155874ef82a96b6a4b993ccf3931
2002-01-28 15:53:03 +00:00
drh
9208643d2a Constant ORDER BY or GROUP BY expressions are an error. (CVS 352)
FossilOrigin-Name: 035984a5b00b4a1a6505405f40b15c7695283c0a
2002-01-22 14:11:29 +00:00
drh
a2e00042a1 The right-hand side of an AS in a SELECT can be used within expressions of
the WHERE, ORDER BY, GROUP BY, and/or HAVING clauses. (CVS 350)

FossilOrigin-Name: 3684beab0f8a71ebdf453871bbde7a9ab1f65385
2002-01-22 03:13:42 +00:00
drh
af9ff33ac1 Added the last_insert_rowid API function. Improved documentation of
the random ROWID algorithm. (CVS 349)

FossilOrigin-Name: f74d61aaf3fec06cde2c4a6f1465f86ac9058ad2
2002-01-16 21:00:27 +00:00
drh
a297b5c3cf Added implementations for sqliteOsEnterMutex() and sqliteOsLeaveMutex(). (CVS 348)
FossilOrigin-Name: f8a026a3ca14ef0b0d562029dd6b184f060457f4
2002-01-15 18:39:43 +00:00
drh
9647ff85fe Fix a bug that could cause UPDATE to fail for a table that contains
both an INTEGER PRIMARY KEY and an index. (CVS 346)

FossilOrigin-Name: 96cd07a881d7bea86a66d7dfe54713be9c81cb4c
2002-01-14 02:56:24 +00:00
drh
da9e034610 Fix a problem with the way temporary tables mask permanent tables. (CVS 345)
FossilOrigin-Name: ba89da603135e5f63f6f97ba3adad02682375c07
2002-01-10 14:31:48 +00:00
drh
d229ca9406 Continued work on the DROP/CREATE problem. (CVS 343)
FossilOrigin-Name: 0a3aa99e11ec9803cea646092bc21676e75a6670
2002-01-09 13:30:41 +00:00
drh
74e24cd0fa Working on a bug: Dropping and recreating a table within a transaction
causes an assertion failure. (CVS 342)

FossilOrigin-Name: b3656a5cfef91c89de2cbb9790087d0d53c03e6f
2002-01-09 03:19:59 +00:00
drh
c6b52df32d An attempt to delete a single row using a WHERE clause that specifies
the rowid would result in an error if the rowid did not exist.  This
problem has been resolved. (CVS 338)

FossilOrigin-Name: 011be9a9d2632d261489005d97c69b0a0bc5a108
2002-01-04 03:09:29 +00:00
drh
9aa028daa2 Bug fix in the out-of-order INSERT. (CVS 336)
FossilOrigin-Name: a26d0880b20ca5534400a3689d1da31fe6aaa934
2001-12-22 21:48:29 +00:00
drh
e7ec22019d Update documentation for the 2.2.0 release. (CVS 335)
FossilOrigin-Name: 14392258c5b6385091be8d684e3ea6841941b483
2001-12-22 19:27:39 +00:00
drh
8aff10153e Bug fixing in the new integer primary key code. (CVS 334)
FossilOrigin-Name: 29cab124b4f7eae9d9feb60d2f3a2c443fd9b9aa
2001-12-22 14:49:24 +00:00
drh
4a32431ce7 Added support for the INTEGER PRIMARY KEY column type. (CVS 333)
FossilOrigin-Name: 236a54d289e858a1e0505a20d907a2a40c01b521
2001-12-21 14:30:42 +00:00
drh
7c917d196f Added the ability to say things like "SELECT rowid, * FROM table1;" (CVS 332)
FossilOrigin-Name: ffbdd43f5de62e7bf81631c83473aca29c3a6c98
2001-12-16 20:05:05 +00:00
drh
7a7c73905d Fix comparison functions so that they are consistent with the order
of elements in indices.  Fix the handling of large integers. (CVS 317)

FossilOrigin-Name: fc2aae04578c305304a45ec6b76d3ab216cc7526
2001-11-24 00:31:46 +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
84e6b7b5ae Fix to the SUBSTR() function and to the bigrow test. (CVS 310)
FossilOrigin-Name: 8437076c25330759ae058918a8190df26d0881da
2001-11-12 13:10:52 +00:00
drh
04096485f4 Minor bugs fixed. (CVS 307)
FossilOrigin-Name: 6e7e7dbf8e93d00eced88404aed792fcf9e75b7d
2001-11-09 22:41:44 +00:00
drh
487ab3ca18 The new code for taking advantage of inequalities in WHERE clauses
is in place.  It appears to work. (CVS 305)

FossilOrigin-Name: 262bcd17df19f45def6144b5a7e0602ca5b03deb
2001-11-08 00:45:21 +00:00
drh
17e24df621 Added support for LIMIT. (CVS 302)
FossilOrigin-Name: 177012249ae93dbea4a11fb50faaae7912848bd0
2001-11-06 14:10:41 +00:00
drh
80ff32f5be Increase maximum row size to 1MB. (CVS 300)
FossilOrigin-Name: 7dd58fad398253608f55867cf1c7749eef005657
2001-11-04 18:32:46 +00:00
drh
6d4abfbee5 More changes for 2.0.7. (CVS 293)
FossilOrigin-Name: f8328a5f11801c5124f9a8dace22df3c1cfb2191
2001-10-22 02:58:08 +00:00
drh
01a346616f 2.0.7 (CVS 292)
FossilOrigin-Name: a835658e507fc7d0c684959c0f0afb9018b6a8d4
2001-10-20 12:30:10 +00:00
drh
6a535340bc Version 2.0.6 (CVS 291)
FossilOrigin-Name: 8467d84fc6e67bd93051f54338a8f6c9b1711ee1
2001-10-19 16:44:56 +00:00
drh
98808babd3 Support for UTF-8 and ISO8859 characters in identifiers. Bug fix in
the column name generator for selects (was coreing). (CVS 290)

FossilOrigin-Name: 22948fc685299ca888907eea68edb8a6e87c3f49
2001-10-18 12:34:46 +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
bf4133cba1 2.0.3 (CVS 287)
FossilOrigin-Name: 75e90cf09b64ee1fcb39a711fc9ac6d3d2b849a5
2001-10-13 02:59: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
ff0839c0b6 More changes prior to release 2.0.2. Mostly comment changes. But there
was also a minor change to temptable.test so that it would work under
Windows. (CVS 282)

FossilOrigin-Name: 864349de6fba5b38a3fbf7ab502922937b1b61e5
2001-10-09 12:39:24 +00:00
drh
ad75e9874b Fix the locking protocol. (CVS 280)
FossilOrigin-Name: 484b82d8a1c84f3d9725a509de93276b9fa9b294
2001-10-09 04:19:46 +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
743daaafd4 Added more tests of unique indices. (CVS 270)
FossilOrigin-Name: 3ae952933997c6422ec53b26391ba362c6e5c44a
2001-09-27 23:57:06 +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
afa4a020f2 Tests for inserting lots of data (~64K) into a single row of a table. (CVS 264)
FossilOrigin-Name: a462c85083d23aa34bd3d0c61d01062fc5ae8230
2001-09-24 03:12:39 +00:00
drh
90bfcdace3 Additional test cases with locking fixes. Also, make the code thread-safe. (CVS 262)
FossilOrigin-Name: bd7d6a64afa03cc64f6537f828d6c94975bf5f02
2001-09-23 19:46:51 +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
254cba2429 2.0-Alpha-2 release (CVS 258)
FossilOrigin-Name: d2a1aac46782c0d3852e34a3b32a6b2ccd93a256
2001-09-20 01:44:42 +00:00
drh
db5ed6d55d Fix a problem in GROUP BY with multiple columns. (CVS 255)
FossilOrigin-Name: 22132ce18cad31482cdb9b380cedc3f53bc532b8
2001-09-18 22:17:44 +00:00
drh
1eaa2694bf Bug fixes. Trying to make it go faster. (CVS 254)
FossilOrigin-Name: 8f28a83abac59a2161d486c96386b8df726468d0
2001-09-18 02:02:23 +00:00
drh
c73d1f5a55 Enchanced transaction tests (CVS 253)
FossilOrigin-Name: b30f2b5e150a219c374f88d13386dbda190ad9ed
2001-09-17 20:48:30 +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
3543b3e0ba Release 2.0-alpha-1 (CVS 247)
FossilOrigin-Name: 264f23315e682909abb47912f48733f641772a4c
2001-09-15 00:57:59 +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