drh
23b2db23b4
Allow "<expr> IN <table>" as a shorthand for
...
"<expr> IN (SELECT * FROM <table>)" (CVS 1180)
FossilOrigin-Name: 01874d252ac44861e927dea3f5534f67e19b1fa8
2004-01-15 03:30:24 +00:00
drh
aa940eacfe
Reinsert the experimental sqlite_commit_hook() API. (CVS 1179)
...
FossilOrigin-Name: 72bc84f2f18f6eeb279a4ad670310e85d154f663
2004-01-15 02:44:03 +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
52b36cabe0
Ignore NULLs in a subquery as the right operand of IN. Ticket #565 . (CVS 1175)
...
FossilOrigin-Name: c9e7996fb9080b715e9b273a3ac3ed3744e10a77
2004-01-14 13:38:54 +00:00
drh
c713bdc778
Move some files around and bump the version number in preparation for the
...
release of 2.8.10. (CVS 1173)
FossilOrigin-Name: 74c661850e1899c457d4e822d8284bb66e1dc651
2004-01-14 03:32:37 +00:00
drh
d1d9fc3397
Permit sqlite_exec() to be called from within user-defined functions. (CVS 1166)
...
FossilOrigin-Name: 03636c94a542b1f90a3acfbe65a9c2976872073f
2004-01-07 19:24:48 +00:00
drh
c5dd9fa8ab
Preserve the HH:MM:SS for most date/time modifiers. Ticket #551 . (CVS 1163)
...
FossilOrigin-Name: 70df32b716b0d6a4f72bb3ae6496431e53733b6a
2004-01-07 03:29:16 +00:00
drh
9d4280d53f
Additional integer overflow boundary case tests. (CVS 1159)
...
FossilOrigin-Name: 532170d4b8fc7a4e596a817257e9e1f81d364940
2004-01-06 01:52:34 +00:00
drh
202b2df74a
Fix problem in the code generator were incorrect code was being created if
...
the SQL source contained a negative integer that was too large to fit in
a 32-bit signed integer variable. Ticket #552 . (CVS 1157)
FossilOrigin-Name: b8381d9fe99273507e8626638110646801afef06
2004-01-06 01:13:46 +00:00
drh
b46d162d8d
The "EST" timezone designation is ambiguous. Do not use it in the test
...
scripts. (CVS 1155)
FossilOrigin-Name: 720b565e2d02344e4d38263f4995dfabc60c0860
2004-01-02 15:08:43 +00:00
drh
f586aa8b96
Update date/time functions so that they correctly handle NULL arguments. (CVS 1147)
...
FossilOrigin-Name: a5a5fbd60153dd068ec2559455146e84da075b90
2003-12-23 16:34:12 +00:00
drh
7091cb0566
Add localtime<-->UTC conversions to the date functions. (CVS 1146)
...
FossilOrigin-Name: 8482b8c44766e7f80fc449b3dbdd3f37396c332b
2003-12-23 16:22:18 +00:00
drh
93a5c6bdf4
Use a built-in atof() function instead of the one from the library to
...
avoid problems with locale. Ticket #305 . (CVS 1144)
FossilOrigin-Name: 4d9edbc50f7dee64edbadad2e2dc4f93d8248b3b
2003-12-23 02:17:35 +00:00
drh
5202560ee5
Makefile updates for the new "test4.c" module. Also disable large file
...
tests for archic TCL versions. (CVS 1139)
FossilOrigin-Name: 55e2488912871381959326ab7fa89123ab30d659
2003-12-19 12:31:19 +00:00
drh
acf01e7ddd
A better fix for ticket #530 - one that is likely to work on unix
...
implementations in addition to linux. Also more tests for multi-thread
locking added. (CVS 1138)
FossilOrigin-Name: 7dddbeb586504de30c64a1e61614da447f18c8ba
2003-12-19 08:40:22 +00:00
drh
a6064dcf3b
Add new thread-testing code and fix locking under Linux threads. Ticket #530 . (CVS 1137)
...
FossilOrigin-Name: b36a4bb61094d539273c21a9e4042384f10a7806
2003-12-19 02:52:05 +00:00
drh
acf4ac96e3
Make sure the pagers in-memory cache states in sync with the disk file.
...
Ticket #529 . (CVS 1133)
FossilOrigin-Name: da00efb13fe8ccf1c27e4e1193df6b53de9463f4
2003-12-17 23:57:34 +00:00
drh
4be295be07
Improvements to the way PRAGMA integrity_check works. More likely to output
...
userful information when given a corrupt database. (CVS 1132)
FossilOrigin-Name: b92c31d6c138f9462730cecfe14f7dde19778e79
2003-12-16 03:44:47 +00:00
drh
0f18bfa789
Fix the code generator to a void a VDBE stack overflow on 3-way joins.
...
Ticket #519 . (CVS 1129)
FossilOrigin-Name: 230a4ff2c8a3927533baf5b22edc9f25490d5443
2003-12-10 01:31:21 +00:00
drh
6f8c91caa0
Make the VACUUM command run out of the VDBE like all other commands.
...
(Ticket #464 ). Make the VACUUM command work even if there are VIEWs
in the SQLITE_MASTER table that come before tables they reference.
(Ticket #515 ) (CVS 1128)
FossilOrigin-Name: 614cbbafa180469744421f8fbe56cb392f48d05f
2003-12-07 00:24:35 +00:00
drh
447623d9aa
Fail an ATTACH if the auxiliary database is locked. Ticket #514 . (CVS 1127)
...
FossilOrigin-Name: ac428c8d4a731678cc26cf198689814a8a56d141
2003-12-06 22:22:35 +00:00
drh
4925ca00a3
Disallow temporary indices on persistent tables. (CVS 1122)
...
FossilOrigin-Name: 72bf73b2c1e3594aa85920e47fc345bba56c80d0
2003-11-27 00:48:57 +00:00
drh
7014aff37d
Revised date/time functions - now broken out into a separate source file.
...
See the DateAndTimeFunctions wiki page for additional information. (CVS 1116)
FossilOrigin-Name: 68ef9b45bd3abdedf3721011ad0fb22e8735e721
2003-11-01 01:53:53 +00:00
peter
63a1e49859
Fix progress test error 1-2 (CVS 1115)
...
FossilOrigin-Name: c3a495026c7eafd576042a05a9a5f585ba8ba9b9
2003-10-23 15:27:11 +00:00
danielk1977
348bb5d6c8
Add sqlite_progress_handler() API for specifying an progress callback (CVS 1111)
...
FossilOrigin-Name: ddb364635a207658664ea92fc677cf16a143a938
2003-10-18 09:37:26 +00:00
drh
191c0323c0
Allow quoted trigger names. Ticket #468 . (CVS 1109)
...
FossilOrigin-Name: 54aa0fb236d17b53b194a667d68c71007c8e7687
2003-10-03 00:13:38 +00:00
drh
319e4e7484
All LIKE and GLOB operators to use function notation. "A LIKE B" can be
...
expressed as "LIKE(B,A)". (CVS 1108)
FossilOrigin-Name: 95b27ebd1322a877112dee514dffddb0937e45fa
2003-09-30 01:54:13 +00:00
drh
dab3518880
Remove support for the Oracle8 outer join syntax. (CVS 1106)
...
FossilOrigin-Name: 824430b3ce435386b83ceb882f1510ac9f27d8fa
2003-09-27 13:39:38 +00:00
drh
5b8424b9e4
Add a test case for ticket #464 but leave it commented out for now. We
...
will fix this problem when VACUUM is rewritten. (CVS 1105)
FossilOrigin-Name: 7ba8dc9b1e5c788f2c0ab32314754324c86aaa49
2003-09-27 01:08:37 +00:00
drh
3775084a75
Add additional backslash escapes to the COPY command for compatibility
...
with PostgreSQL. Ticket #460 . (CVS 1104)
FossilOrigin-Name: 70a50bdda318f353c8be1ba200f9aedc34642c93
2003-09-27 00:56:31 +00:00
drh
562528c480
Do all WHERE clauses tests, even if an index is used for lookup so that
...
we know the test cannot be FALSE. The test might end up being NULL in which
case it would need to be treated as false. Ticket #461 . (CVS 1103)
FossilOrigin-Name: 5aea81488b2d3bcdc009ccf0f0ffcda046e38d79
2003-09-27 00:41:27 +00:00
drh
61b487d02a
The tokenizer should never return a negative size of the next token.
...
Ticket #453 . (CVS 1098)
FossilOrigin-Name: 4fbca3ab09596c530da7c50657f3bc9140178dd5
2003-09-12 02:08:14 +00:00
drh
9faae94118
Add test cases that check out sqlite_get_table() on queries with results sets
...
containing 100 columns. (CVS 1097)
FossilOrigin-Name: f9feedec32c975235c0d0996962033f6a63312ba
2003-09-09 00:47:47 +00:00
drh
82a4851a4b
Add initial test cases for the new sqlite_bind() API. Fix bugs that the new
...
test cases found. (CVS 1096)
FossilOrigin-Name: f6c4908e9b5b6ac9adc4af50dc5110dbb655dae3
2003-09-06 22:45:20 +00:00
drh
e4c616931d
Add locks to the in-memory backend so that recursive writes will be detected
...
and rejected. Ticket #436 . (CVS 1089)
FossilOrigin-Name: 3403d28a49b27d3059d3d399ca057e8d33eb857a
2003-08-27 22:54:31 +00:00
drh
901afd4341
If the database filename is an empty string, open a temporary file to hold
...
the database. Ticket #432 . (CVS 1085)
FossilOrigin-Name: da53369f0bf133b89b213bbb1ccea13eb93ab6ed
2003-08-26 11:25:58 +00:00
drh
263659be4d
Close files before deleting them on test scripts under Win2k.
...
Ticket #434 . (CVS 1084)
FossilOrigin-Name: 2a40b46140720783cf4002fb9993f7f6766dbf5f
2003-08-26 11:18:19 +00:00
drh
78100cc928
Add a "pk" column to the table_info pragma which is true for each column
...
that is part of the primary key. Add a "foreign_key_list" pragma that gives
information about all foreign keys for a table. Both changes are experimental. (CVS 1081)
FossilOrigin-Name: 5232b0665b84a9339a85918570093a376a0ea91f
2003-08-23 22:40:53 +00:00
drh
5d9d757626
Add the "onecolumn" method to the TCL language bindings. (CVS 1076)
...
FossilOrigin-Name: c7b4c28fbc0bca5645af5750fd353f4eca400b40
2003-08-19 14:31:01 +00:00
drh
9b1b01bb76
Do not delete tables with the same name when dropping triggers.
...
Ticket #430 . (CVS 1074)
FossilOrigin-Name: ef58f163b08d13f8e9b69459bd83e0bf9d5b404b
2003-08-16 12:37:51 +00:00
drh
8e18bac793
Fix a segfault that occurs in the VACUUM command if run on an empty database
...
with the EMPTY_RESULT_CALLBACKS pragma enabled. Ticket #427 . (CVS 1073)
FossilOrigin-Name: 3563e9cf9d6b20f09e92deb21fdda93bcd8fb583
2003-08-15 13:24:51 +00:00
drh
37ed48ed2f
Provide a more informative error message when a uniqueness constraint
...
fails. Ticket #419 . (CVS 1068)
FossilOrigin-Name: 086aa1c9922b7bf399b3ee8b73ba7353d126b119
2003-08-05 13:13:38 +00:00
drh
4305d10360
The {quote: SrcList} object was not being expanded correctly by a call to
...
sqliteSrcListAppend() if the {quote: SrcList} had previously been duplicated by
a call to sqliteSrcListDup(). Ticket #416 . This check-in fixes that problem
by keeping a separate nAlloc field on {quote: SrcList}. A similar change is made
to {quote: IdList} and {quote: ExprList} to avoid future problems. (CVS 1067)
FossilOrigin-Name: da6273255471673841fdcadc688aeac80722e130
2003-07-30 12:34:12 +00:00
drh
98e3e60012
Make sure the schema loader callback can handle EMPTY_RESULT_CALLBACKS being
...
on. Ticket #406 . (CVS 1065)
FossilOrigin-Name: 8c163fc0c7c721b7a5fa6727b0e90bff4484c782
2003-07-27 17:26:22 +00:00
drh
dc2d94de56
In the VDBE, when an integer value will not fit into a 32-bit int, store it
...
in a double instead. Ticket #408 . (CVS 1064)
FossilOrigin-Name: 7514c3db165e8cc5c696b2b345844949a0e45a61
2003-07-27 17:16:06 +00:00
drh
7b58daeafe
Fix the LIMIT clause so that it applies to the entire query in a compound
...
query. Prior to this change LIMITs on compound queries did not work at
all. Ticket #393 . (CVS 1058)
FossilOrigin-Name: 543479e3aed77976a0c689cf40811bf88353f706
2003-07-20 01:16:46 +00:00
drh
e5f50722b4
Make sure the min() and max() optimizer works correctly when there
...
is a LIMIT clause. Ticket #396 . (CVS 1057)
FossilOrigin-Name: c35e50717678703763c696e3e9b265add2ca6454
2003-07-19 00:44:14 +00:00
drh
9cb733c39d
In the test scripts, do not try to delete files that are still open.
...
Windows does not like it when you do. Ticket #397 . (CVS 1055)
FossilOrigin-Name: 93a2c961b17d2459272e2d8654bd4b972f52fbe1
2003-07-18 01:25:34 +00:00
drh
a88dc3f629
Make LIMIT 0 return no rows. LIMIT -1 still returns all rows. Ticket #346 . (CVS 1053)
...
FossilOrigin-Name: a31d0bd90af7cc95f8e36ca8ece21515f872235e
2003-07-16 11:51:35 +00:00
drh
ef0cae500d
Allow negative values for LIMIT and OFFSET. Add tests for negative LIMITs
...
and OFFSETs. Make the OFFSET work even if LIMIT is 0 or negative. (CVS 1052)
FossilOrigin-Name: e6a752bfef24f773973c151c6262ff331a9dc57a
2003-07-16 02:19:37 +00:00