dan
a40cb96a4c
Fix a problem with the fix for [9cf6c9bb51] (commit [658b84d7]) that could cause a cursor to be left in an invalid state following a (rowid < text-value) search.
...
FossilOrigin-Name: bc7d2c1656396bb4f5f1f814e60dbf816cc91c5a521b54ad593cd3da0fe8dcb4
2019-05-14 20:25:22 +00:00
dan
9edd8c11ab
Fix VDBE opcodes OP_SeekLT and OP_SeekLE so that they work on intkey tables with non-numeric text values.
...
FossilOrigin-Name: a870c196d78d8b72c7353fa0015e96b2abd4be154541d76328e3a4f9e5da5d04
2019-05-08 11:42:49 +00:00
drh
087f83b662
Merge the latest enhancements from trunk.
...
FossilOrigin-Name: 7bde6d4d8cf05e1beb9bdf20b85760dc3e7a76c9
2015-08-31 14:27:29 +00:00
drh
1f9ca2c84c
Add code to maintain indexes with expression arguments across DELETE, INSERT,
...
and UPDATE statements. Legacy tests pass, but the new code paths are still
largely untested. The query planner currently makes no effort to use
expression indexes.
FossilOrigin-Name: efaabdb71626bdc03768e87e186c72f6f3da75b2
2015-08-25 16:57:52 +00:00
drh
3b130beb15
If an SQL function makes a recursive call to do an INSERT into the same
...
database, make sure that the last_insert_rowid() for that INSERT is recorded.
FossilOrigin-Name: e93aecc090c2a1d3c231bb2bde044886eff0bdf7
2014-09-26 01:10:02 +00:00
drh
2c4dc635a1
Simplification to the random rowid picking logic that begins running when
...
the maximum possible rowid has already been used.
FossilOrigin-Name: 1330c72e172324c68ab49e5bb2ceba985935ae01
2014-09-25 12:31:28 +00:00
drh
ef1bd970ef
Add additional test cases and requirements evidence marks for WITHOUT ROWID.
...
FossilOrigin-Name: b408d788105efd007e3546f45d5dd15a5dc5688d
2013-11-27 00:45:49 +00:00
mistachkin
d5578433ff
Fix all known instances of 'repeated the' style typos in comments. No changes to code.
...
FossilOrigin-Name: 9b19b847533f944f289d93dcdba29c0d67bf251c
2012-08-25 10:01:29 +00:00
drh
9ed7a9953e
Remove the priorNewRowid field from the sqlite3 structure. Use the
...
last_insert_rowid as the initial value when searching for a new random
rowid in the OP_NewRowid opcode. (CVS 6824)
FossilOrigin-Name: 96729b2d499f029bfaec6648a592e8ec697d9521
2009-06-26 15:14:55 +00:00
drh
91fd4d46ad
Miscellaneous code simplifications and cleanup and test coverage
...
enhancements. (CVS 4730)
FossilOrigin-Name: af129b6d158cc90ce9752dd6383c1de47f7b3e43
2008-01-19 20:11:25 +00:00
drh
b556ce15ca
Fix duplicate test IDs in the test suite. No changes to code. Ticket #2319 . (CVS 3869)
...
FossilOrigin-Name: 0935cdf82a0be599421881117a981d315933bb7e
2007-04-25 11:32:30 +00:00
danielk1977
3e8c37e7f8
Modify test scripts to work when SQLITE_OMIT_SUBQUERY (along with other OMIT macros) is defined. (CVS 2251)
...
FossilOrigin-Name: bb0254ab14417f0ab40f10f37cb63a60507f070a
2005-01-21 03:12:14 +00:00
drh
798da52ce7
All tests pass even if OMIT_TRIGGER is defined. (CVS 2053)
...
FossilOrigin-Name: c33b3a613751057e8a46fdcd428b8448329d414d
2004-11-04 04:42:28 +00:00
drh
6a179ea796
Remove unused routines from vdbeaux.c. Improve test coverage. (CVS 1746)
...
FossilOrigin-Name: 792b3c75e7764bab1473c0d6efc76f1164c943bf
2004-06-27 21:31:39 +00:00
drh
ef4ac8f9df
Change the name of the TCL command from "sqlite" to "sqlite3" so that both
...
SQLite version 2 and SQLite version 3 can be used by Tcl at the same time. (CVS 1626)
FossilOrigin-Name: d705d051bed2b92b6c3bbcc75fe5b056633b9c31
2004-06-19 00:16:31 +00:00
danielk1977
96fc5fe6a5
Various minor fixes and updates to make more test cases pass. (CVS 1370)
...
FossilOrigin-Name: dbe8385ecf1df8bf0b1baf5e811ec5a1de5c4c42
2004-05-13 11:34:16 +00:00
drh
751f41217e
Fix comparisons of ROWID against floating point numbers so that they work
...
correctly. Ticket #377 and #567 . (CVS 1178)
FossilOrigin-Name: c9ac3db8e08403398ec344757385334601a59374
2004-01-14 21:59:22 +00:00
drh
1dd59e0f94
Correctly handle comparing an INTEGER PRIMARY KEY against a floating point
...
number. Ticket #377 . (CVS 1045)
FossilOrigin-Name: 982aa3356bcc217003cd9e6a829619219c334797
2003-07-06 17:22:25 +00:00
drh
a0217ba720
Add the ability to INSERT or UPDATE using the "rowid" column even on tables
...
that lack an integer primary key. (CVS 991)
FossilOrigin-Name: 903adbe802ca0e987b867e5ad33aae02ad2a43d4
2003-06-01 01:10:33 +00:00
drh
70ce3f0c58
Get triggers working on tables with INTEGER PRIMARY KEYs. Ticket #291 .
...
This may also fix #159 . Still need to add tests so both bugs remain open
for the time being. (CVS 908)
FossilOrigin-Name: 0b996959b8d8bc2c82eab9cccc190befd0056505
2003-04-15 19:22:22 +00:00
drh
49449834fc
Do not record the inserted rowid on when doing an INSERT within a trigger.
...
Ticket #290 . (CVS 906)
FossilOrigin-Name: 96a717661a3b7108fe0cacb588d81fd8e91eb640
2003-04-15 14:01:43 +00:00
drh
5cf8e8c7fa
New ROWIDs are numbered sequentially. (CVS 383)
...
FossilOrigin-Name: 1686196a8aea326f616bc8205df99cd84d955ec4
2002-02-19 22:42:05 +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
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
1eaa2694bf
Bug fixes. Trying to make it go faster. (CVS 254)
...
FossilOrigin-Name: 8f28a83abac59a2161d486c96386b8df726468d0
2001-09-18 02:02:23 +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
c87fa69a29
Add index access methods to the DBBE in preparation for adding a new
...
DBBE for the btree.c module. (CVS 236)
FossilOrigin-Name: c15f6ffc4d41f30a06d750c8015226713ae0126b
2001-08-19 18:19:46 +00:00
drh
c4a3c779b1
Added transaction support (CVS 196)
...
FossilOrigin-Name: 35a8feed0d10e780c477f7440fbe80637fcf9906
2001-04-04 11:48:57 +00:00