rdc
b0c374ffbb
Fixed behaviour of last_insert_rowid() with triggers and add last_statement_change_count() function that works correctly with triggers. (CVS 1251)
...
FossilOrigin-Name: 3383413a53bff0fef0765144de3bb9a298a5bb5c
2004-02-20 22:53:38 +00:00
drh
fcabd4641e
The name of a result column is now the name of column it originated from, by
...
default. This can be turned off with PRAGMA short_column_names=OFF. This
is to be more like PostgreSQL. More testing needed. (CVS 1250)
FossilOrigin-Name: 574dd444e7ff00e0fccc3436fe617ad832daae40
2004-02-20 14:50:58 +00:00
drh
784d86f716
Fix a bug in the parser table compression algorithm of lemon. (CVS 1249)
...
FossilOrigin-Name: 8d3e924975681a871e0eeac3b6a62cffdb947ac7
2004-02-19 18:41:53 +00:00
drh
9cbe7ca7db
Fix a memory leak that occurs if you call sqlite_interrupt() on a query
...
using aggregate functions where the aggregate function returns a string
longer than 32 characters. (CVS 1248)
FossilOrigin-Name: 2c1e74e58a702fd2be954467a12e69a33b252831
2004-02-18 16:57:23 +00:00
drh
fef9765507
Begin updating the architecture description to better describe how things
...
are currently put together. (CVS 1247)
FossilOrigin-Name: 062ecc1368d6bb6d15da31e8d6f5953e8f5628b9
2004-02-18 16:56:32 +00:00
drh
230680276c
Add more tests of the sqlite_interrupt() logic - looking for a reported
...
memory leak. (Didn't find it.) (CVS 1246)
FossilOrigin-Name: e4c8b1c3aa9d288f518c6394187354e6fa18978e
2004-02-18 01:31:53 +00:00
dougcurrie
960ac04f4f
Avoid line endings munging by Cygwin; ticket #370 (CVS 1245)
...
FossilOrigin-Name: 50e67948f89380f2f4b536add0b8179e6db960a5
2004-02-17 18:26:57 +00:00
drh
d6502758b4
Remove the NullCallback opcode. Handle the empty_result_set pragma inside
...
the sqlite_exec() function. (CVS 1244)
FossilOrigin-Name: f72134852bf33d13fd2bc6f35251e4b33bc10fac
2004-02-16 03:44:01 +00:00
drh
826fb5a3f8
Eliminate obsolete code associated with the older callback functionality. (CVS 1243)
...
FossilOrigin-Name: 2dbc4593ca5c1cf75039c8b4471b1e47faa849f0
2004-02-14 23:59:57 +00:00
drh
1d85d93158
Eliminate the use of callbacks during schema initialization. (CVS 1242)
...
FossilOrigin-Name: af5c2be4aed1c50f69eb9634cf051a26263dcf51
2004-02-14 23:05:52 +00:00
drh
8a6ac0adbc
Fix problems with malloc-failure handling. (CVS 1241)
...
FossilOrigin-Name: 398bc294c839368e7fa75a97ba8cc8d1639f9436
2004-02-14 17:35:07 +00:00
drh
a1f9b5ee0b
The sqlite_exec() function is now implemented using sqlite_compile() and
...
sqlite_step(). This opens up lots of opportunity to remove old code. (CVS 1240)
FossilOrigin-Name: 9771ad1e811e02e10bb738550fbea447749083c5
2004-02-14 16:31:02 +00:00
drh
b5f70c2ef1
Disable the malloc.test tests if not compiled with -DMEMORY_DEBUG (CVS 1239)
...
FossilOrigin-Name: 41b6ad78a6097f35bfac6ff40d2e5d6071a1c4cd
2004-02-14 01:39:50 +00:00
drh
eceae45cb5
Fix an uninitialized variable in shell.c that would cause a crash if you
...
specified SQL on the command-line. (CVS 1238)
FossilOrigin-Name: 5a56090dde10ee29863021356d21c3f8c86e3f46
2004-02-13 20:09:41 +00:00
drh
e72daeb0ac
Begin the process over converting sqlite_exec() over to use sqlite_compile()
...
and sqlite_step(). The new sqlite_exec() is still commented out. (CVS 1237)
FossilOrigin-Name: b8f2ba7880b761e380b95ae63d8ab721f018443e
2004-02-13 16:30:09 +00:00
drh
50350a15c4
Fix a bug in the query flattener when trying to find the datatype of the
...
rowid of a view. Also fix a problem with sqlite_compile() and authorization
failures. (CVS 1236)
FossilOrigin-Name: aa0490ccd4a820a707dfb4905e67c01ffb4f758b
2004-02-13 16:22:22 +00:00
drh
78a7583828
Fix an uninitialized variable introduced by check-in (1202). (CVS 1235)
...
FossilOrigin-Name: 9f149fdc1c6af1c663b91c878ed1903f82f80245
2004-02-13 14:07:12 +00:00
drh
e384a4ed4e
Add a new parameter to the (unimplemented) encryption API. (CVS 1234)
...
FossilOrigin-Name: 5fe8f02306cf1c0af2148835cee0df3003ad0874
2004-02-12 20:49:36 +00:00
drh
c602f9ae01
Add the SQLITE_NOTADB return code for cases when you try to open a file
...
that does not even remotely resemble an SQLite database file. (CVS 1233)
FossilOrigin-Name: 0c77cee70f078152969933c1d340cea1c86286b0
2004-02-12 19:01:04 +00:00
drh
4d189ca48f
Add hooks on each attached database connection for storing auxiliary
...
information. Add the USING clause to ATTACH. (CVS 1232)
FossilOrigin-Name: 800c11f4bce014a07110eb539992a609e6418406
2004-02-12 18:46:38 +00:00
drh
3054efee07
All REPLACE INTO syntax inside of triggers. Ticket #610 . (CVS 1231)
...
FossilOrigin-Name: a6b862a9db6d409a53cc13e7008b27d4848b5509
2004-02-12 17:28:13 +00:00
drh
70a931c2ac
Remove unused variable. (CVS 1230)
...
FossilOrigin-Name: 74b234264ba2910ebd38e7b7ebbc369108a235cb
2004-02-12 15:32:53 +00:00
drh
8ef83ffed8
Always reload the schema after a rollback. Ticket #594 . (CVS 1229)
...
FossilOrigin-Name: 12c7a83f8e4055c4590983ef212648c781ebd963
2004-02-12 15:31:21 +00:00
drh
93581642d2
VACUUM returns SQLITE_INTERRUPT when interrupted. Ticket #593 . (CVS 1228)
...
FossilOrigin-Name: 2fe9f5101cb0f743532912ece3d37f6c873e7025
2004-02-12 13:02:55 +00:00
drh
ab9426e242
Only define _FILE_OFFSET_BITS if it is not already defined. Ticket #605 . (CVS 1227)
...
FossilOrigin-Name: 300c5543dc83c6b7eacb0c81ed06f95004c0f6d8
2004-02-11 16:38:06 +00:00
drh
eb8ed70db5
Fix the shells so that they always enable the codec if it is available,
...
even if no key is supplied. (CVS 1226)
FossilOrigin-Name: 95989717e17d52b2306374f5cf7613c3bd4e7801
2004-02-11 10:37:23 +00:00
drh
7e26d75094
Fix an uninitialized variable in expr.c. Ticket #604 . (CVS 1225)
...
FossilOrigin-Name: 1673bf7c7b64542530ee03328186be33cb88c98d
2004-02-11 10:35:29 +00:00
drh
bbd82df617
Refactor the interface to the randomness generator. (CVS 1224)
...
FossilOrigin-Name: f2bdccf4bb2f796aafb64c33e55f62a1794d750c
2004-02-11 09:46:30 +00:00
drh
9eb9e26b82
Pass all (relevant) regression tests when using the codec. (CVS 1223)
...
FossilOrigin-Name: 5200e9edc5fdba0285a3cb1cd808cbf66d7a349e
2004-02-11 02:18:05 +00:00
drh
d86a39c866
Adjustments to the codec in the pager. (CVS 1222)
...
FossilOrigin-Name: be5122e99caacbeb5e568a2782fe2faf634ad355
2004-02-10 23:51:05 +00:00
drh
fb044c1d1c
Perform updates in search order. Ticket #602 . (CVS 1221)
...
FossilOrigin-Name: cf1cec74ae039cd7cbc8a1032d29f067dedb4210
2004-02-10 13:41:52 +00:00
drh
4bc058593b
Fix for ticket #603 . (CVS 1220)
...
FossilOrigin-Name: d0624d257789ac3f4cd3a7473bb741030c999b65
2004-02-10 13:19:35 +00:00
drh
57ced9186a
Make the pager accessible from the btree structure always, not just during
...
debugging. (CVS 1219)
FossilOrigin-Name: 9c6b4758a4b13a91f71be17751a76c0c14b4d4c3
2004-02-10 02:57:59 +00:00
drh
2d71ca94a9
Move the file-format-2 to file-format-3 conversion into sqliteInit(). (CVS 1218)
...
FossilOrigin-Name: dcbe2800be2f805818724a7b9e468c4fd4f02529
2004-02-10 02:27:04 +00:00
drh
d0ba193dc7
Allow SQLITE_PAGE_SIZE to be redefined on the compiler command-line. (CVS 1217)
...
FossilOrigin-Name: 4c7bf714b5f3d2bb7366367ddf906141a7e36407
2004-02-10 01:54:28 +00:00
drh
f620b4e2cb
After code is generated for a subquery, delete the Select structure in order
...
to force the temporary table to be used and to prevent the subquery from
being evaluated a second time. Ticket #601 . (CVS 1216)
FossilOrigin-Name: 1cff18868dab5f8ead8ed8d07e088d7fdda04569
2004-02-09 14:37:50 +00:00
drh
e2201971ac
Add test case for ticket #601 . (CVS 1215)
...
FossilOrigin-Name: 096312dacb9eb2f8da3cec1504aef8629b505e7f
2004-02-09 14:35:28 +00:00
drh
b20ea9d225
Add an optional codec to the pager layer. (CVS 1214)
...
FossilOrigin-Name: 2f0c122cfb84dea58d112324a0bdd8b85552a9fa
2004-02-09 01:20:36 +00:00
drh
8e6283155e
Version 2.8.12 (CVS 1213)
...
FossilOrigin-Name: 1736d415d776aa1cbdd33d987d21365ebf260f11
2004-02-08 18:10:50 +00:00
drh
f603871326
Perpare for the 2.8.12 release. (CVS 1212)
...
FossilOrigin-Name: 93ccd1b1d63b5b914b84b0463f2267bcfaadafa3
2004-02-08 18:07:34 +00:00
drh
f1b07b0ca2
Fix a bug in the VDBE that occurs when a CreateTable or CreateIndex fails. (CVS 1211)
...
FossilOrigin-Name: 42cfd541dcc31d1ef92387e3fd2346db61d0ecbd
2004-02-08 06:17:19 +00:00
drh
585a3d7c22
Add the crashtest1.c program used to test the ability of the database to
...
survive a program crash or power failure. Ticket #599 . (CVS 1210)
FossilOrigin-Name: 597a59a72d662b291fb09a069547efd08aa5adb1
2004-02-08 06:06:37 +00:00
drh
34e79ceeb6
Fix inaccuracies and add details to comments in the pager. Change the name
...
of one function to make its purpose clearer. Ticket #599 . (CVS 1209)
FossilOrigin-Name: 48832d35ed0d5ba02908822c749591e76b790c48
2004-02-08 06:05:46 +00:00
drh
240c5795d5
Preliminary fix for ticket #599 . More testing and analysis needed. (CVS 1208)
...
FossilOrigin-Name: dc5be2c82b591a385adf02863d89e113272e2ebd
2004-02-08 00:40:52 +00:00
drh
e84a306b91
Remove undocumented extensions from sqlite_mprintf() and friends in order to
...
make it about 10% smaller. (CVS 1207)
FossilOrigin-Name: 0b3f552b986fd89c48c350b0746be93b9d276ecc
2004-02-02 12:29:25 +00:00
drh
22fbcb8ddd
Fix the handling of -init option to the sqlite shell. Ticket #568 .
...
Also add hooks for encrypting the database. (CVS 1206)
FossilOrigin-Name: 3c796de8d1af55944f396f08feaa9e69c1652896
2004-02-01 01:22:50 +00:00
drh
3914aed1de
Fix a bug introduced by the previous check-in. (CVS 1205)
...
FossilOrigin-Name: 04cf22785e68fcd4098e6c10a89386108cd0bf07
2004-01-31 20:40:42 +00:00
drh
2c79c67fcb
A few more optimizations to the VDBE. (CVS 1204)
...
FossilOrigin-Name: 06e7ff4cb8c73fd690c6d5b5f530a30d83f4f10c
2004-01-31 20:20:29 +00:00
drh
6810ce677d
Rework internal data structures to make the VDBE about 15% smaller. (CVS 1203)
...
FossilOrigin-Name: 8273c74bd09d1a044cb5154498b0a39939f6e3ed
2004-01-31 19:22:56 +00:00
drh
00706be366
Rework the VDBE data structures to combine string representations into the
...
same structure with integer and floating point. This opens the door to
significant optimizations. (CVS 1202)
FossilOrigin-Name: c0faa1c67a967f028cd018e58988fb08bc814d3d
2004-01-30 14:49:16 +00:00