rdc
f146a77677
Add comments and prototype for experimental sqlite_last_statement_changes() API function. Also, allow function to be called from tcl. (CVS 1273)
...
FossilOrigin-Name: ca99920b0dbf773962b47766d690154fd1276513
2004-02-25 22:51:06 +00:00
drh
268380ca9e
Min() and max() functions honor the distinction between TEXT and NUMERIC
...
data. Ticket #623 . typeof() is now a user function. Some tests are
now failing due to ticket #521 . (CVS 1272)
FossilOrigin-Name: adbe31adf1ad0ca723203ca3d7dc480324c60d43
2004-02-25 13:47:31 +00:00
drh
d41d73d556
Fix the return type of sqliteRunVacuum. Ticket #627 . (CVS 1271)
...
FossilOrigin-Name: 9c9f4a867a4ea708847cbb0839b7279eb33ecd7c
2004-02-25 02:33:34 +00:00
drh
f73287ceb0
Shell program saves command-line history on a ".quit". Ticket #614 . (CVS 1270)
...
FossilOrigin-Name: 114b72f8608b8e08fad863a1446fb1ef59610efd
2004-02-25 02:25:37 +00:00
drh
946966f2a1
Disable an assert which (as it turns out) is not always true. Ticket #615 . (CVS 1269)
...
FossilOrigin-Name: 2773c1d384b750eee037e6ccc61bc56b5204d690
2004-02-25 02:20:41 +00:00
drh
cd44690ad0
Refactor parts of write operations. (CVS 1268)
...
FossilOrigin-Name: 5b0147aece7785373e6f7439c32e5f58c6b12562
2004-02-24 01:05:31 +00:00
drh
02f75f19e5
Make sure BEGIN, COMMIT, and ROLLBACK are really no-ops when preceded
...
by EXPLAIN. Ticket #626 . (CVS 1267)
FossilOrigin-Name: 2af1f065b5eb39fd3ecac00f8a66d1b4186aead5
2004-02-24 01:04:11 +00:00
drh
701a0aebe2
Use sqliteVdbeOp3 instead of sqliteVdbeChangeP3 where applicable. (CVS 1266)
...
FossilOrigin-Name: 51f1e8f7539596b33bc3365ec8f34041602d049c
2004-02-22 20:05:00 +00:00
drh
d383401c6a
Code cleanup in build.c. (CVS 1265)
...
FossilOrigin-Name: 9211e14cf81f4de125bad246d8a289786f2854aa
2004-02-22 18:56:49 +00:00
drh
f7a9e1ac87
Use sqliteErrorMsg instead of sqliteSetString whereever practical. (CVS 1264)
...
FossilOrigin-Name: 69aac043af7f93e7b3f036622c0ac9261cae1839
2004-02-22 18:40:56 +00:00
drh
eb9a9e8888
Code cleanup in the date and time functions. (CVS 1263)
...
FossilOrigin-Name: 9b3bcde1530091602e551435ffd7820eb79727d5
2004-02-22 17:49:32 +00:00
drh
2d3917da29
Rearrange the grammar some so that tokens that are used together appear
...
together in the grammar file. This reduces the size of the parser tables
and some of the jump tables in switch statements. (CVS 1262)
FossilOrigin-Name: d372c16ec6621dbab371bff7f1803ca096862984
2004-02-22 16:27:00 +00:00
drh
b621c23775
Test cases for printf of double overflows. (CVS 1260)
...
FossilOrigin-Name: 96a6d2d3ff5bd0aaff188ee1c5e2f02cbea435b2
2004-02-21 19:41:04 +00:00
drh
3e7bc9ca1c
Fix a long-standing memory leak that the new last_insert_rowid() tests
...
brought to light. (CVS 1259)
FossilOrigin-Name: 7d5ede5b6ef515808995d4631f8d19aca95a9105
2004-02-21 19:17:17 +00:00
drh
5f968436e6
Cleanup the printf code to make it smaller and more modular.
...
Fix a memory leak in the new OP_ContextPush opcode. (CVS 1258)
FossilOrigin-Name: 2756f7af3382fa9d186ab99cf76f469fb891a3c3
2004-02-21 19:02:30 +00:00
drh
8722318f3c
Flag pragmas like vdbe_trace now return their current setting if they
...
are called with no arguments. (CVS 1257)
FossilOrigin-Name: 6a5fb5b89a98307060bb4a92a499b5d3dba74553
2004-02-21 14:00:29 +00:00
drh
905793e249
More code cleanup and size reduction. (CVS 1256)
...
FossilOrigin-Name: 8e3eda2a909bd80b2b14ace36ab44303750a4409
2004-02-21 13:31:09 +00:00
drh
8eb2cce55c
Enhance date/time functions to work with negative years. Ticket #617 . (CVS 1255)
...
FossilOrigin-Name: ffa971934867b6bbe943c004154d5f161e0ea697
2004-02-21 03:28:18 +00:00
drh
8307ac7521
Turn the short_column_names pragma off by default - for the time being. (CVS 1254)
...
FossilOrigin-Name: 6954d2c3240459842be655b600c6b160e918e74a
2004-02-20 23:34:07 +00:00
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
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
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
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