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
9c4dcca89e
Typo on the "datatypes.html" document. (CVS 1136)
...
FossilOrigin-Name: 80b1e277123c07b2db7441a9e600dd69ef55a0da
2003-12-18 14:19:41 +00:00
drh
0f5c27a168
Version 2.8.8 (CVS 1135)
...
FossilOrigin-Name: a0451ccf2d0377536073ecaa2d6b70d05f5a5734
2003-12-18 01:22:54 +00:00
drh
0c9c3d06d4
Bump the version number and update the change log in preparation for the
...
next release. (CVS 1134)
FossilOrigin-Name: 9ad0bdf624e7dba448587c58eacd1e9cd2784316
2003-12-18 00:02:43 +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
1285a76973
Updates to the homepage - fix the CVS access instructions. (CVS 1131)
...
FossilOrigin-Name: 653a7dd97ed95e66bd2973169735ee73ee348576
2003-12-15 17:51:19 +00:00
drh
256ada0fda
Fix a bulk-memory initialization problem in the expression list logic. (CVS 1130)
...
FossilOrigin-Name: d6549954408b01e5eaf865b9100739c94de28f16
2003-12-10 03:13:43 +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
41743984bf
Always use "(char*)0" to terminate the argument list of sqliteSetString().
...
This is needed for 64-bit systems that use a 32-bit integer by default. (CVS 1126)
FossilOrigin-Name: 656c90387a4a714b4f31040ece9b0e15e30934af
2003-12-06 21:43:55 +00:00
drh
3a6629d27e
Use sqlite_freemem() instead of free() in the shell. Windows needs this.
...
(Unix does not care.) Ticket #444 . (CVS 1125)
FossilOrigin-Name: e5e6a8481b2225e826c8e890ddc44f06759fe72b
2003-12-04 20:51:41 +00:00
drh
96e9f565ad
Version 2.8.7 (CVS 1124)
...
FossilOrigin-Name: d48b0b018d47470689cc49f3be4cde50db165454
2003-12-04 13:47:04 +00:00
drh
27ff9f87b8
Update change log and version in preparation for the 2.8.7 release. (CVS 1123)
...
FossilOrigin-Name: 9e79ab6ce06d68fcd7efa207d0ffcd1c51c13d58
2003-12-04 13:44:32 +00:00
drh
4925ca00a3
Disallow temporary indices on persistent tables. (CVS 1122)
...
FossilOrigin-Name: 72bf73b2c1e3594aa85920e47fc345bba56c80d0
2003-11-27 00:48:57 +00:00
drh
0802fd836d
Fix typos in file format documentation. Ticket #505 . (CVS 1121)
...
FossilOrigin-Name: 4eef93814f4a26de4a088c464545443547281abd
2003-11-25 23:48:57 +00:00
drh
b3549d43e2
Fix typo in file format documentation. Ticket #502 . (CVS 1120)
...
FossilOrigin-Name: 72f3e7c2b0258271956ed7a43b3388bb74bf62ec
2003-11-24 23:11:08 +00:00
drh
0a5294bc06
Fix a typo in a #define that was commented out. No impact to working code.
...
Ticket #476 . (CVS 1119)
FossilOrigin-Name: 21c2f96e814004d00691e3d7a632f193b0e49ee5
2003-11-11 23:30:35 +00:00
drh
000ca2b208
Added information on MySQL 4.0.16 to the NULL-handling survey. (CVS 1117)
...
FossilOrigin-Name: e22e3ab53a841b26984240760b0438efc83661d7
2003-11-08 12:07:01 +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
drh
b48484a6d7
Fork the tree for project "shrike" (CVS 1118)
...
FossilOrigin-Name: 181260c0aa7837feca9e415225ece0e9c4032c7a
2003-10-30 06:59:59 +00:00
peter
63a1e49859
Fix progress test error 1-2 (CVS 1115)
...
FossilOrigin-Name: c3a495026c7eafd576042a05a9a5f585ba8ba9b9
2003-10-23 15:27:11 +00:00
drh
8548a059ff
Comment changes to the lemon parser template. Change some sqliteMalloc() calls
...
to sqliteMallocRaw() for speed. Update the website template. (CVS 1114)
FossilOrigin-Name: c637caf13f579959ecdb6b134d0114e8efbcac60
2003-10-22 22:15:27 +00:00
drh
fdbf928b08
Fix bugs in lemon associated with the change to a perfect hash table. (CVS 1113)
...
FossilOrigin-Name: c0d1b26966aeb445fea5792e5a9e93632e758c2a
2003-10-21 16:34:41 +00:00
drh
8b582012de
Convert lemon to use a single perfect hash table for storing the actions.
...
This should make the resulting parser both smaller and faster. (CVS 1112)
FossilOrigin-Name: 4f955c00076b16166ff837749efb84201eab3c3a
2003-10-21 13:16:03 +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
4df92bbd44
Update to the date functions. (CVS 1110)
...
FossilOrigin-Name: 06d4e88394217fb1390b069bad82d6ac71981f72
2003-10-10 02:09:56 +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
4f88c849f3
Patch the spec.template file (for generating RPMs) as suggested by
...
Jeremy Hinegardner. Untested. (CVS 1107)
FossilOrigin-Name: 703741ca1e2b0bf79a4e3cda3cf3c6862d7263eb
2003-09-29 12:20:51 +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
f911221a1e
A failed malloc() could have resulted in a segfault. Fixed by this check-in. (CVS 1102)
...
FossilOrigin-Name: 4bb256ee3ecd44d71d90556e16bb56c0389fd5b5
2003-09-23 10:25:32 +00:00
xdong
3b5543c46d
allow -enable-releasemode as an option and allow Makefile to produce version
...
independent binary like libsqlite-2.8.6.so instead of libsqlite.so.0.0.0 (CVS 1101)
FossilOrigin-Name: 4fdd44a5ee5f7beb3cff11bc54fd3022b975b9e6
2003-09-23 00:36:50 +00:00
xdong
28f79f7bda
regenerate configure to take -enalbe-releasemode as an option (CVS 1100)
...
FossilOrigin-Name: b85847b8f28f8f4be9e7f3d8674ecf42e1c5db38
2003-09-23 00:35:21 +00:00
xdong
225656c50a
modify the configure file to allow cross-compile to work at arm and xscale (CVS 1099)
...
FossilOrigin-Name: 760f2fa2e5db102b970687f59b79bfb6f4d35b32
2003-09-18 21:59:45 +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
7c972dec5c
Update Makefile.in for the new vdbeaux.c file. Remove the experimental
...
"sqlite_instantiate()" routine and replace it with "sqlite_bind()" which
is more like ODBC and JDBC. (CVS 1095)
FossilOrigin-Name: 990bb11898a539bb0795a4a216fcd989943a0fb2
2003-09-06 22:18:07 +00:00
drh
9a32464b54
Split almost 1300 lines of code out of vdbe.c into separate files
...
vdbeInt.h and vdbeaux.c. (CVS 1094)
FossilOrigin-Name: bfd69391d3d63675f206ffd8ff0401ea1cbcc073
2003-09-06 20:12:01 +00:00
drh
5045789694
The beginnings of changes to support pre-compiled SQL. Mostly untested,
...
though all regression tests to pass. (CVS 1093)
FossilOrigin-Name: 912f47c72d3597c6d5acff765d94922bd660339a
2003-09-06 01:10:47 +00:00
drh
c023e03ea5
Add a logo from Rasmus Schultz. (CVS 1092)
...
FossilOrigin-Name: aaa84c6202f6e16828bcd6aff2e424f3dba1f82b
2003-09-02 15:26:33 +00:00
drh
1dcafe1ad8
CVS missed a commit (because I pressed Ctrl-C in the middle). This
...
extra commit will hopefully help clear things up. (CVS 1091)
FossilOrigin-Name: 522c2efeb5bdccadf3306234d458425b94cdbbe3
2003-08-27 22:57:07 +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
0d4f801c28
Add locks to the in-memory database so that recursive writes will be detected
...
and rejected. Ticket #436 . (CVS 1090)
FossilOrigin-Name: 966b1a16f6687df08f8c21787c1c8b1af1d79e1e
2003-08-27 22:52:34 +00:00
drh
ec1bd0bd72
Fix compiler warnings under OpenVMS. Ticket #357 . (CVS 1088)
...
FossilOrigin-Name: c95f347cac27732533a2f6fd4ba50bf00eef59f3
2003-08-26 11:41:27 +00:00
drh
8460ea0652
Try to work around a bug in VC++ by only passing unsigned characters to
...
the isspace() routine. Bug reported on the mailing list. (CVS 1087)
FossilOrigin-Name: cbe32216966c987902ceb4d85332fc95801dbda2
2003-08-26 11:35:00 +00:00
drh
03ab7336cd
Fix a bug in sqliteRealloc() that only occurs if there is memory corruption
...
and debugging is enabled. Ticket #421 . (CVS 1086)
FossilOrigin-Name: eebc82b77dbf35a18d2eae47336038d4b67806c6
2003-08-26 11:29:07 +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
6ab95d3e85
Remove extra backslashes from end of lines in the install target of the
...
Makefile. Ticket #435 . (CVS 1083)
FossilOrigin-Name: 1aa3658ef54fad7f2b7f61d91641472551468cdc
2003-08-26 10:38:58 +00:00
drh
3ca65151d5
Fix a bug in the new "pk" column of the table_info pragma that was added
...
by check-in (1081). (CVS 1082)
FossilOrigin-Name: ad7b017a1277c00b356343b36ade565baf404d6a
2003-08-24 16:38:17 +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
73d3667ef2
Version 2.8.6 (CVS 1080)
...
FossilOrigin-Name: 0bde7ae2ba57de554c3531f3cb7e36bf56d3b12c
2003-08-22 03:00:00 +00:00
drh
a866b82244
Change the CVSTrac website to www.sqlite.org. Update change summary for
...
the 2.8.6 release. (CVS 1079)
FossilOrigin-Name: a4e3e075e3b36e0f5f692067c5bf5e1b660d893d
2003-08-22 02:34:30 +00:00
drh
02b2011cb3
Update the -version-info number on libtool in Makefile.in. (CVS 1078)
...
FossilOrigin-Name: dc36365eea7d0c8767d8947393a8d2746c02b220
2003-08-21 14:36:38 +00:00
drh
4739470341
Add the experimental "quote()" function to the set of build-in functions. (CVS 1077)
...
FossilOrigin-Name: 9699c68508db5da6238904e518835a629d430db6
2003-08-20 01:03:33 +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
e5e3760e1c
Make the compile work under cygwin.
...
Tickets #327 , #213 , #316 , #322 , #349 , #373 , and #429 . (CVS 1075)
FossilOrigin-Name: 7d8d3252df1e9f6bec5e105b6eca3313cb7e226a
2003-08-16 13:10:51 +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
b2446f9bbf
Update the NULL-handling chart with new information about Firebird. (CVS 1072)
...
FossilOrigin-Name: 17bdfeb284880d82cd546e6c191c3a37121ec861
2003-08-13 11:29:23 +00:00
drh
41a8230fef
Make the sqliteOsCurrentTime() function work for Windows. Code contributed
...
by "e4liberty" on the mailing list. (CVS 1071)
FossilOrigin-Name: 02fac304c9ec9012f3cc4f04d2c4cac5e37b0024
2003-08-10 16:16:22 +00:00
drh
87adaa9a99
tighter coding of the date and time functions. Better comments. A bug fix. (CVS 1070)
...
FossilOrigin-Name: 94243edac14b90ef898093b85e1959c20fa23ae9
2003-08-10 01:50:54 +00:00
drh
771d8c3bae
Add experimental date and time functions based on julian day number. (CVS 1069)
...
FossilOrigin-Name: a6197e2075fdf9db862484255ac16b2855bbef0a
2003-08-09 21:32:28 +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
a76c82eb0d
When creating a new journal file, open a (read-only) file descriptor on the
...
directory containing the journal and sync that directory once to make sure
that the journal filename entry gets into the directory. Ticket #410 . (CVS 1066)
FossilOrigin-Name: 09c10fe3c99cffc64ed02c2929f206d99c8e3309
2003-07-27 18:59:42 +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
48647b390b
Version 2.8.5 (CVS 1063)
...
FossilOrigin-Name: 95fba440e79c066c0d6f6205a3d7dcb6c870b1c9
2003-07-22 13:20:28 +00:00
drh
8dd5a314eb
Fix a typo in the index.html homepage. (CVS 1062)
...
FossilOrigin-Name: 510761cf505222c68ce3404aad94e1cc28b703ed
2003-07-22 12:44:53 +00:00
drh
ee513831a7
Increment the version number and update the documentation in preparation
...
for the 2.8.5 release. (CVS 1061)
FossilOrigin-Name: c2115335de4abc25cbc1664d718dc3a6f70ebe6c
2003-07-22 12:41:59 +00:00
danielk1977
999af643a0
Add experimental sqlite_reset() API (allows pre-compiled queries) (CVS 1060)
...
FossilOrigin-Name: 1d2fcb017811db90e85d63f2ca76867c00ab8f1b
2003-07-22 09:24:43 +00:00
drh
4d87325d61
Make sure temporary file names in windows have a full 15 characters of
...
random text at the end. (CVS 1059)
FossilOrigin-Name: 6ccb92b14f2e6e01bb60dac10331fa7be0b4525e
2003-07-22 00:39:13 +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
9347b20050
In the sqlite shell, change the name of function getline() to local_getline()
...
to avoid a clash with a library function. Ticket #400 . (CVS 1056)
FossilOrigin-Name: 558969ee8697180c74308f3f880d3240eb575af1
2003-07-18 01:30:59 +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
a3b6cfa6cf
Fix typo on the homepage. (CVS 1054)
...
FossilOrigin-Name: c74107d63ace3d0e51da3b7bd7ee250c2a39205b
2003-07-16 17:10:45 +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
drh
d4f5ee2805
Initialize a variable to prevent an MSVC compiler warning. Ticket #394 . (CVS 1051)
...
FossilOrigin-Name: 96e3c539586bf86c4fe8de0ac25de6655f704035
2003-07-16 00:54:31 +00:00
drh
da808d56dc
An an extra test associated with ticket #387 . (CVS 1050)
...
FossilOrigin-Name: 6a07ac3782bc18f907ffcf66d908ddaa82ab9293
2003-07-09 16:34:56 +00:00
drh
073e5a7751
Allow the output arguments in sqlite_compile and sqlite_step to be NULL
...
pointers. Tickets #384 and #385 . (CVS 1049)
FossilOrigin-Name: dd84f88f6c4012e4a093a4881f6fe50527bb2006
2003-07-09 00:28:13 +00:00
drh
23af2f6eb2
Enhance the C/C++ documentation to clarify the meaning of the return value
...
from sqlite_changes(). Ticket #383 . (CVS 1048)
FossilOrigin-Name: 303b2da1acd4b7b9d89dec0653e5f88fc10d56b8
2003-07-08 23:42:25 +00:00
drh
3e4c852889
A proported fix for ticket #374 . (CVS 1047)
...
FossilOrigin-Name: a49ee69e98df80b479aa6bb97a9af9c6abf04e3f
2003-07-07 10:47:10 +00:00
drh
d0cc954fa1
Update the NULL-handling document to show current behavior of OCELOT. (CVS 1046)
...
FossilOrigin-Name: 1d4c92c7325f69ee84b901a2de74a306ace134b6
2003-07-07 00:10:39 +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
3c8bf55a04
Make sure indices in ATTACH-ed databases are put into the right hash table.
...
Ticket #354 . (CVS 1044)
FossilOrigin-Name: eb4582831d536cd26a1738f9ad197e40486d0958
2003-07-01 18:13:14 +00:00
drh
c5aceb33cb
Update the null-handling document to show how SQL Anywhere and Borland
...
Interbase deal with NULLs. (CVS 1043)
FossilOrigin-Name: 9a87f2f326d7fc8bb9f832d0e3fd31141e14e08f
2003-07-01 01:16:30 +00:00
drh
ef2d1b100c
Documentation change: refer users to the wiki for additional unsupported
...
features rather than have them send me e-mail. (CVS 1042)
FossilOrigin-Name: a3920b0804e9993bb21e6c46c612e72bd03178a2
2003-06-30 10:36:23 +00:00
drh
631e276202
Version 2.8.4 (CVS 1041)
...
FossilOrigin-Name: 7f5e8894ae37761d1015c426b5d383d3deef3e25
2003-06-29 20:45:29 +00:00
drh
dc339ee29c
The prior fix of ticket #360 was incorrect and caused a memory leak. This
...
check-in plugs the memory leak and correctly fixes ticket #360 . (CVS 1040)
FossilOrigin-Name: fc490f677b89e623b41f9e7f5f3bade9b981562c
2003-06-29 20:25:08 +00:00
drh
d6ae597393
Fix a bad memory leak in the in-memory database module. (CVS 1039)
...
FossilOrigin-Name: 9cca95937837333c91f5dee8c48178cf7e06d59f
2003-06-29 18:29:47 +00:00
drh
27fb6f6a99
Bump the version number in preparation for the next release. (CVS 1038)
...
FossilOrigin-Name: 0532e1a8f5a310bb19b55dc29aa5b1f1172a14da
2003-06-29 16:16:40 +00:00
drh
88c0df2a84
Documentation updates. (CVS 1037)
...
FossilOrigin-Name: ab21de5fdd8e45be19411cdba647eada0bc9a9f1
2003-06-29 16:11:12 +00:00
drh
82f725df08
Minor change to a comment in encode.c. (CVS 1036)
...
FossilOrigin-Name: 3f252b72c9d9ea586161a1b2c5ae297594a1cd4a
2003-06-28 16:25:33 +00:00
drh
937dd84de8
Fix a bug in the soundex() code. Ticket #367 . Add tests for ticket #261
...
even thought the problem could not be reproduced. (CVS 1035)
FossilOrigin-Name: e2ca936feee35b3fce99c95c2cf8c0ad05cd9c3b
2003-06-28 16:20:22 +00:00
drh
d60ccc6a75
In a SELECT, the rowid of a view or subquery which is really a join is
...
set to NULL if the join is flattened. Ticket #364 . (CVS 1034)
FossilOrigin-Name: bad8b55833f5120003a19883154dac5146cc36a3
2003-06-24 10:39:46 +00:00
drh
18706c08cb
Remove a surplus "return" statement accidentaly left in check-in (1032). (CVS 1033)
...
FossilOrigin-Name: c697410af4a61d2037e7e319efe8dd78d7b83365
2003-06-23 15:15:03 +00:00
drh
6cb2c52d96
Remove all references to SQLITE_OMIT_TRACE. Tracing is always enabled.
...
Ticket #361 . (CVS 1032)
FossilOrigin-Name: ec31a5292cbc5d2fb68449838b929638f48e31a7
2003-06-23 11:06:01 +00:00
drh
8ce10ba65e
Make sure the source of a PULL opcode is not an ephemeral string. Ticket #360 . (CVS 1031)
...
FossilOrigin-Name: cb70ee67ea9f5a47d58820e0e8b28c8f945217ed
2003-06-22 01:41:49 +00:00
drh
44ce7e20f8
Remove unused variable. Ticket #355 . (CVS 1030)
...
FossilOrigin-Name: 5228cecdb84a665b96750fc0dc7c81e3f50a3ce8
2003-06-17 02:57:17 +00:00
drh
7a73eb48f8
Fix compiler errors and warnings win SQLITE_OMIT_AUTHORIZATION is defined.
...
Ticket #353 . (CVS 1029)
FossilOrigin-Name: 6920b633c2e4a94ee5de7d2db3933a873ee3513b
2003-06-16 19:18:12 +00:00
drh
d93d8a812e
Add the %z format to the sqlite_mprintf() and related functions. (CVS 1028)
...
FossilOrigin-Name: eca1398eaac67d772aff2676a470d9a6d96a93ca
2003-06-16 03:08:18 +00:00
drh
3fc673e622
Do not flatten a subquery which is the right term of a LEFT OUTER JOIN
...
if the subquery contains a WHERE clause. Ticket #350 . (CVS 1027)
FossilOrigin-Name: dd8943e8583cf7ed3b662570a5607856fd246dac
2003-06-16 00:40:34 +00:00
drh
f817b6be7f
Preserve blank lines in the middle of SQL statements in the shell.
...
Ticket #352 (CVS 1026)
FossilOrigin-Name: bcf5eeecdfd9897bc7c257119d7515fd34d222c1
2003-06-16 00:16:41 +00:00
drh
4d9fc3231b
Update the documentation to reflect the new capabilities of PRAGMA
...
integrity_check. Rewording in the VACUUM documentation. (CVS 1025)
FossilOrigin-Name: 38461a7acb5281edd7078b1b3f227bb45f281757
2003-06-15 23:49:38 +00:00
drh
ed717fe3b2
Enhance the "PRAGMA integrity_check" command to verify that all indices are
...
correctly constructed. New calls to integrity_check are made in the test
suite. These changes are intended to prevent any future problems such
as seen in ticket #334 . (CVS 1024)
FossilOrigin-Name: c9734c27074d2039a1896a8c6965c08d03711b13
2003-06-15 23:42:24 +00:00
jplyon
3ca691106b
Updated sqlite_encode_binary() comments with tighter bounds on output length. (CVS 1023)
...
FossilOrigin-Name: 826aab43d5967ece2a272c49ce62021fa4a2ceb3
2003-06-15 10:35:04 +00:00
jplyon
1420010fa4
Documented integer values used by PRAGMAs.
...
Fixed missing end tags in generated anchors. (CVS 1022)
FossilOrigin-Name: 6c24dfbae56a16dd736de5297c1796818773df80
2003-06-15 10:29:24 +00:00
a.rottmann
831961217d
* Added -version-info to shared libraries
...
* Remove config.h and libtool in the distclean target (CVS 1021)
FossilOrigin-Name: e13e8b05b4d146aa4ca9ed06e414e0c6a4fba4e4
2003-06-14 19:29:08 +00:00
drh
c45d95f9de
Bug fix: sqliteFree() called twice on the same allocation during error
...
handling in attach.c. (CVS 1020)
FossilOrigin-Name: 9ec40935b9435ddc3749cab517387477e4045f6b
2003-06-14 12:04:07 +00:00
drh
e2227f0092
Open the journal file for read-only when doing a playback. Ticket #351 . (CVS 1019)
...
FossilOrigin-Name: 66ac7aea3df8533a49c8c05ba57c5a7015626828
2003-06-14 11:42:57 +00:00
jplyon
892f671cf3
Added missing error string to sqlite_error_string(). (CVS 1018)
...
FossilOrigin-Name: 3afb7b3586be81202c76692afea9d2b7a63b4b93
2003-06-12 08:59:00 +00:00
drh
2e0d738b60
Suppress the warning message about print_node() being unused in btree_rb.c.
...
Ticket #347 . (CVS 1017)
FossilOrigin-Name: b52f07e1c894a52bb12459d03fd0efcee05dd08c
2003-06-10 02:46:15 +00:00
drh
7571c96c4c
Remove redundant "return" statement from btree_rb.c. (CVS 1016)
...
FossilOrigin-Name: 373d077173f1b31896dc0e0d724371dd506d52f3
2003-06-09 11:53:12 +00:00
jplyon
05e45910ca
Documented SQL fns IFNULL() and NULLIF(). (CVS 1015)
...
FossilOrigin-Name: 190252fee0a86eb6f8c24a2402e36482e3bd514c
2003-06-08 08:36:33 +00:00
drh
6f8fd3c171
Use sqliteOsFileExists() in the debugging hook in vdbe.c, instead of access().
...
Ticket #341 . (CVS 1014)
FossilOrigin-Name: 7d3405b95bae74e0c476a7bdf708ca518723eaf7
2003-06-07 11:33:45 +00:00
drh
94ce4c1e3b
Do not assume that a pointer can fit in a long inside the printf() code.
...
Ticket #342 . (CVS 1013)
FossilOrigin-Name: 5dad7c05e9789e101d5ce75a6f3ea2ffb278b29d
2003-06-07 11:29:50 +00:00
jplyon
048aa234ef
Major update of vdbe tutorial to 2.8.0 engine. (CVS 1012)
...
FossilOrigin-Name: 787d986d0f391d26eef7a2639594c465f9599f5b
2003-06-07 08:57:58 +00:00
jplyon
5fa7eb0dd9
Hyperlinks and minor additions/corrections for lang.tcl (CVS 1011)
...
FossilOrigin-Name: 685a179aae535431ec46922f1aff50a54112e959
2003-06-07 08:56:09 +00:00
drh
81e293b4b2
Extend the authorization mechanism to disallow the ATTACH and DETACH commands.
...
Ticket #340 . (CVS 1010)
FossilOrigin-Name: a97dca73aed0b42d8dcf944360667ae93c5324fd
2003-06-06 19:00:42 +00:00
drh
70dc85a4c2
Add btree_rb.c and opcodes.c to the source built by the "target_source" target
...
of the main makefile. (CVS 1009)
FossilOrigin-Name: 09546972991601697925c10b6ef31694b0be2385
2003-06-06 16:13:40 +00:00
drh
d36a483704
Add a prototype for the sqlite_vmprintf() function to sqlite.h. (CVS 1008)
...
FossilOrigin-Name: 048cf55c7da92e363f6a2ab594e17280c9573410
2003-06-06 15:44:00 +00:00
drh
b5333fa6e4
Fix a typo in speed.html. (CVS 1007)
...
FossilOrigin-Name: d01e6fbdde314f2edfcd43fcda3dc8bedb6bf2ba
2003-06-05 15:05:34 +00:00
drh
8649d6a1a8
Remove unused code from util.c. (CVS 1006)
...
FossilOrigin-Name: 1bcaa841a396e4d592de30d10846f7cefbbdcd0e
2003-06-05 14:27:56 +00:00
drh
7d02cb73ca
Fix a bug in UPDATE OR REPLACE that was introduced by check-in (999).
...
Also clean up some compiler warnings for VC++. (CVS 1005)
FossilOrigin-Name: af6f2bdf59fb621ff3e1d061e429f01ebd7d0b42
2003-06-04 16:24:39 +00:00
drh
b8ec20925d
Adjust test cases to cope with the extra column returned by the database_list
...
pragma. (CVS 1004)
FossilOrigin-Name: fa10c6df5a80127508fb198c21ef93acfc93ebe2
2003-06-04 15:53:02 +00:00
drh
5e8e1981dc
Change the "database_list" pragma to return a third column containing the
...
filename of the underlying database file. Always use an in-memory TEMP
database with an in-memory main database. (CVS 1003)
FossilOrigin-Name: f39100f5759d0d8b9c71e18d38a148dee4643020
2003-06-04 15:48:33 +00:00
drh
ca3bdaca19
Version 2.8.3 (CVS 1002)
...
FossilOrigin-Name: 433570e3e6caa52b9e480a22529dde6385a3c7d3
2003-06-04 12:44:27 +00:00
drh
b6ec9fed20
Update the version number to 2.8.3. (CVS 1001)
...
FossilOrigin-Name: c96f5bf0d7b75c8091f78dc2b9e3937949642ce5
2003-06-04 12:40:43 +00:00
drh
bc2bca0843
Disable the unreadable file test (attach-6.2) under windows because of
...
problems in the OS. (CVS 1000)
FossilOrigin-Name: 4bfb30d20bdd33c6e26c8fb8392a75d3cf2ee4bd
2003-06-04 12:31:53 +00:00
drh
5383ae5c12
Avoid corrupting indices when doing a REPLACE on a table with an
...
INTEGER PRIMARY KEY that also has another index. Ticket #334 . (CVS 999)
FossilOrigin-Name: e813faae0e4086571d13c769f793add7f1f979af
2003-06-04 12:23:30 +00:00
drh
4312db55d9
Additional testing of the ATTACH command with bug fixes for the new problems
...
that the tests found. (CVS 998)
FossilOrigin-Name: 3e8889d7ce5e99fc855526fc1bb62ddbe282bfc5
2003-06-03 01:47:11 +00:00
drh
1aa4965ae3
The OP_Checkpoint opcode is now a no-op if invoked on a database that already
...
has an active checkpoint journal. Ticket #333 . (CVS 997)
FossilOrigin-Name: daf7b94017f03638da1ef65830f3762be030b93c
2003-06-02 23:14:13 +00:00
drh
2394e376d6
Fix a bug in the COPY command introduced by check-in (991). (CVS 996)
...
FossilOrigin-Name: 77ec13dab85b70795ef06ff2c714cca0cd496837
2003-06-02 22:50:25 +00:00
drh
ade106c14a
Fix an initialized variable in sqliteInitOne. (CVS 995)
...
FossilOrigin-Name: 89957b09ce746cf98d5d75cab2a23994e27c4937
2003-06-02 18:17:33 +00:00
jplyon
5959abd5d0
Generate anchors in opcode table html for use by new vdbe tutorial. (CVS 994)
...
FossilOrigin-Name: 3ae36cf158e1878a66ce9302eae4e62f8a88333f
2003-06-02 06:29:31 +00:00
jplyon
02be20d4f5
Added comments. (CVS 993)
...
FossilOrigin-Name: 1276ddb3074b74e22c579bad6951ea52384c08dd
2003-06-02 06:17:10 +00:00
jplyon
5a56422a29
Additions and corrections to vdbe documentation comments. (CVS 992)
...
FossilOrigin-Name: b648987de3383d6835df58aa0efee54fa8f10d26
2003-06-02 06:15:58 +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
f26e09c87f
Tighter binding of views, triggers, and indices to their respective
...
databases. Ticket #323 . Much more testing needs to be done to the
sqliteFix...() routines in attach.c. (CVS 990)
FossilOrigin-Name: 7202d4f1a8853368954a967b7ccca9d8a6645a2e
2003-05-31 16:21:12 +00:00
drh
8372b8d134
Change the row-size limit back to 1MB. It was temporarily raised to 16MB.
...
We'll probably move it to 16MB eventually, but not just yet. (CVS 989)
FossilOrigin-Name: b84c4035c6b06469055798cf412fa4da8b50fa17
2003-05-29 17:50:55 +00:00
drh
9ac717d7f6
Modify the windows locking code so that it works correctly for a database
...
being shared between Win95/98/ME and WinNT/2K/XP systems. Ticket #310 . (CVS 988)
FossilOrigin-Name: 8c402db7e0745622d9950e5ca5d4d8e933da436c
2003-05-29 17:43:08 +00:00
jplyon
124e74e685
Added typeof() operator.
...
Minor additions for ATTACH/DETACH. (CVS 987)
FossilOrigin-Name: 8b8fa0fff26107912f0bec4e44df207c7885e273
2003-05-29 04:21:38 +00:00
drh
6e1d288a9f
Fix segfault that occurs when opening a non-existing database in the shell
...
then immediately doing ".q". (CVS 986)
FossilOrigin-Name: e8566cf5a381fa7655caacbc0fe95091e1137fea
2003-05-19 23:55:30 +00:00
drh
6b8611126b
Additional attach testing. I now believe that ticket #317 was fixed
...
by check-in (981). (CVS 985)
FossilOrigin-Name: 24191373796b7fd6255ef9b70ce2344326308113
2003-05-17 19:23:51 +00:00
drh
79a519c047
Prevent an infinite loop when deleting a table that has a TEMP trigger. (CVS 984)
...
FossilOrigin-Name: c8c823b068916711857fa67db10fb479999b55c2
2003-05-17 19:04:03 +00:00
drh
24f1eb74c8
Version 2.8.2 (CVS 983)
...
FossilOrigin-Name: f542e5fc8896111e5165cc625607f95e4993bb16
2003-05-17 17:52:34 +00:00
drh
369986a75f
Bump the version number and update the change log. We are rushing out
...
release 2.8.2 because of the database corruption problem fixed by
the previous check-in. (CVS 982)
FossilOrigin-Name: e134459d653b03bfacb98eec2c5d91eef7e4ed24
2003-05-17 17:38:37 +00:00
drh
8bf8dc9208
Fix problems with TEMP indices that lead to corrupt databases. These
...
problems were discovered while working on ticket #317 . No sure yet if
that ticket is fixed. (CVS 981)
FossilOrigin-Name: 01398fb78bab7e5c6f439f2b743f26e82118468a
2003-05-17 17:35:10 +00:00
drh
0594f5b97e
Version 2.8.1 (CVS 980)
...
FossilOrigin-Name: 590f963b6599e4e235d7369f19c63cece4b2ad95
2003-05-17 02:44:32 +00:00
drh
8971527208
Fix the fix for newlines in echo commands. Tickets #311 , #282 , #256 . (CVS 979)
...
FossilOrigin-Name: baea7aca10e30f30b874e1e8b6cd3b05954ba83c
2003-05-17 02:27:21 +00:00
drh
8625f9fe38
Bump the version number to 2.8.1. Update documentation prior to release. (CVS 978)
...
FossilOrigin-Name: 0874814ab01ffc0acffec8e6cec34eaab3428d36
2003-05-17 01:39:39 +00:00
drh
299fa266df
Escape backslashes in echo commands in the makefiles. Tickets #311 , #282 , #256 . (CVS 977)
...
FossilOrigin-Name: d614861b8ad9e661b8f08131b95d730e2c2c35c2
2003-05-17 00:24:21 +00:00
drh
9335247003
Fix memory allocation problem in the sqlite_get_table() API. Ticket #315 . (CVS 976)
...
FossilOrigin-Name: f1d955efd91093994db43a1540080d32442d5ac0
2003-05-17 00:05:49 +00:00
drh
a996e477d0
Make sure the ON CONFLICT clause on a BEGIN overrides the conflict resolution
...
specified by an index. This fixes a bug reported on the newsgroup. (CVS 975)
FossilOrigin-Name: 0f92736d1fbe3b587592fe1f26dfb3558cc49727
2003-05-16 02:30:27 +00:00
jplyon
931634915d
Removed 3rd (file) column from PRAGMA database_list until tests are fixed. (CVS 974)
...
FossilOrigin-Name: 4183cf97676e64d19978941a7c4a3fe521fcb1fb
2003-05-13 08:01:33 +00:00
drh
39581966a0
Fix another twos-complement negation error. Ticket #313 . (CVS 973)
...
FossilOrigin-Name: f267a8a4ff52eb7ee3ac20a8e3a8ab5fe19e445d
2003-05-13 01:52:31 +00:00
drh
3b2129cf77
A change to lemon related to ticket #313 . (CVS 972)
...
FossilOrigin-Name: b59d9033d5556015543ac5ca23110ccbeb4391f0
2003-05-13 00:34:21 +00:00
drh
fe4184f8d1
Remove unnecessary "#include <sqliteInt.h>" from the shell code. (CVS 971)
...
FossilOrigin-Name: 6e5c497a42e52236edae8d99b4892d4b93db43f5
2003-05-13 00:24:41 +00:00
drh
e62720d1f1
Fix a #ifdefs that are used to comment-out the VACUUM command. (CVS 970)
...
FossilOrigin-Name: 22d5324073a727627d4294870a441fa2316fb049
2003-05-13 00:21:59 +00:00
drh
5364f60302
Make sure hash functions always return non-negative. (CVS 969)
...
FossilOrigin-Name: 39a3e403f0440acb2f85a064ec23d404f9cdfbc4
2003-05-12 23:06:52 +00:00
jplyon
5ca89c3d28
Changed PRAGMA database_list to show the filename. (CVS 968)
...
FossilOrigin-Name: 3da10d2d02e331f136fcf857dc4c435c67ee7196
2003-05-11 20:09:19 +00:00
jplyon
672a1edfc8
Changed ".databases" command to use PRAGMA database_list. (CVS 967)
...
FossilOrigin-Name: bad2065337d8dcaacd519b8f1730a90f1c933c3e
2003-05-11 20:07:05 +00:00
drh
5fe2d8c913
Changes to comments. In particular, a lengthy comment was added to encode.c
...
that explains how the encoder algorithm works. (CVS 966)
FossilOrigin-Name: 8b388b2f690dbfd50eefc0fdede1c7785f78afa1
2003-05-10 03:36:53 +00:00
jplyon
a3643a2697
Removed never-used symbol SQLITE_ResultDetails. (CVS 965)
...
FossilOrigin-Name: 26bd7bb1779e14f19c00e450aaa9529f2aabf131
2003-05-10 03:04:34 +00:00
jplyon
f60482044d
Removed never-used pragma "result_set_details". (CVS 964)
...
FossilOrigin-Name: bf558e79524c04339f1174dc935e39d47cb33457
2003-05-10 03:03:34 +00:00
jplyon
9098056e6f
Documented the "GO" and "\" command terminators. (CVS 963)
...
FossilOrigin-Name: 6a76bd9590f372411e697f002285fe36ff3787ee
2003-05-10 02:54:56 +00:00
jplyon
df2245df05
Fixed metacharacter coloring with LP, RP, PLUS.
...
Added more links. (CVS 962)
FossilOrigin-Name: 2bbb08049508829419dd9a3729241b97b017cf36
2003-05-10 02:54:02 +00:00
drh
f94e371bbf
Format keyword lists in lang.html using a TCL proc. (CVS 961)
...
FossilOrigin-Name: ca75f1ca12cd88dce688e272d73c3c2282079547
2003-05-07 13:37:31 +00:00
jplyon
3aacc84e45
- Added entries for PRAGMAs database_list, temp_store and default_temp_store.
...
- Fixed missing end tags. (CVS 960)
FossilOrigin-Name: 55ae7b35ee2dcebc99256d4b1e22a87ea75e3d03
2003-05-07 04:04:17 +00:00
jplyon
b2ca13ed4d
Cleaned up keywords section. (CVS 959)
...
FossilOrigin-Name: bb609f96e00fd62d932601c4aa37bc17baa82257
2003-05-07 03:59:10 +00:00
drh
8af4d3ace6
Restrain the flattener in the presence of outer joins. Ticket #306 . (CVS 958)
...
FossilOrigin-Name: 6d4b6597e560578253960d9876dc8c8657f41fef
2003-05-06 20:35:16 +00:00
drh
66b4ebafb2
Added tests trying (unsuccessfully) to reproduce ticket #304 . (CVS 957)
...
FossilOrigin-Name: fda637f453d35b74f676997fcf056a948ccd771b
2003-05-04 20:42:56 +00:00
drh
e1e38c4d7d
Shell command-line parsing enhancements suggested by Mike Hall. (CVS 956)
...
FossilOrigin-Name: 5656fe48b192dc84cb5977f826ff99d81684791f
2003-05-04 18:30:59 +00:00
drh
7ad4334add
Fix deficiencies in sqlite_complete() pointed out by R. Dennis Cote. (CVS 955)
...
FossilOrigin-Name: 54b33a5ed9f7a89435c2f1395a3177e8c778bb8a
2003-05-04 17:58:25 +00:00
jplyon
5640433e48
Added shell command ".databases" to list name and file of open ones.
...
Added several missing shell commands. (CVS 954)
FossilOrigin-Name: dd57d6ae6a247824e44a6073bc7e73ecb3c500fd
2003-05-04 07:31:09 +00:00
jplyon
6a65bb3c06
added shell command ".databases" to list name and file of open ones. (CVS 953)
...
FossilOrigin-Name: 741a5a8d3975fb5db18914b7879b12aead59279b
2003-05-04 07:25:57 +00:00
jplyon
b24fe71970
new section for keywords, more docs for attached databases , links, cleanup (CVS 952)
...
FossilOrigin-Name: 87e1b6a936972670771cf90670aeb4308ba0a30a
2003-05-04 07:02:55 +00:00
drh
e96fa95e8a
More documentation updates. (CVS 951)
...
FossilOrigin-Name: 24b9b569240d2108b17420d85cafdc718c67269f
2003-05-03 19:04:03 +00:00
jplyon
2bfc9dbdcf
- added entry for ATTACH DATABASE.
...
- added entry for DETACH DATABASE.
- added soundex() function.
- added some new TEMP modifiers.
- added new VACUUM behavior.
- added the Oracle8 outer join "(+)" syntax.
- documented the modulus/remainder operator %.
- added ALL as alternative to DISTINCT in SELECT.
- fixed assignment list in UPDATE to use * metacharacter.
- fixed value in PRAGMA to be optional.
- added link from INSERT topic to REPLACE.
- added optional CONSTRAINT <name> before column constraints.
- skip 2 lines before each Section in the TCL source. (CVS 950)
FossilOrigin-Name: fd28c5229ece1d90e24d0ecaa518d8df5a4f55f0
2003-05-03 04:55:19 +00:00
drh
e9ffc168d8
Additional tests of the new flattener added. Ticket #272 . (CVS 949)
...
FossilOrigin-Name: 8d9ee45ab487614191e8d6aef845141fdddf832a
2003-05-02 16:44:25 +00:00
drh
c31c2eb82c
Enhance the query flattener to handle subqueries that are joins.
...
All regressions pass but new tests need to be added before release.
Ticket #272 . (CVS 948)
FossilOrigin-Name: ad57693e9f1b83a8cc4d028264b35018a9a4a701
2003-05-02 16:04:17 +00:00
drh
6a3ea0e6ef
VDBE cursors numbers for tables in a join do not have to be consecutive.
...
This is one step on the road to fixing ticket #272 . (CVS 947)
FossilOrigin-Name: be7aed2011b4af868b6a0c370c3d41354ae0cdf4
2003-05-02 14:32:12 +00:00
drh
56e452cf3a
Correctly create an index that uses an INTEGER PRIMARY KEY as one of columns
...
to be indexed. (CVS 946)
FossilOrigin-Name: 6d019e0baa3219614a9bc5b550a0f9fe3f7e731a
2003-05-01 16:56:03 +00:00
drh
44c2eb128d
In the shell tool, delay opening the database until it is needed but also
...
make sure it is opened before trying to use the "db" pointer. Ticket #302 . (CVS 945)
FossilOrigin-Name: 20fcead42bc875f13eec52971530342ff00c5eda
2003-04-30 11:38:26 +00:00
drh
a9b1716296
Accept a "/" or "go" on a line by itself as an SQL statement terminator
...
in the command-line shell. This allows SQL Server and Oracle scripts to
be played into SQLite without change. (CVS 944)
FossilOrigin-Name: 8211f57b38b87a42c856e267bd243984b5abf9cc
2003-04-29 18:01:28 +00:00
drh
86e5cc058d
Allow the ASC or DESC keyword to appear after a column name in a CREATE INDEX
...
statement. SQLite indices are aways ASC (ascending) regardless of which
keyword is used. (CVS 943)
FossilOrigin-Name: 1a0c542088618ba24d1efae9b13a8eca104d6cc8
2003-04-29 17:19:18 +00:00
drh
63eb5f294c
The sqlite_complete() function should ignore carriage-return characters.
...
(Oops - some unrelated edits also made it into this check-in.) (CVS 942)
FossilOrigin-Name: c6bf62e41cf44e8ebf740b103204b00e8b826c90
2003-04-29 16:20:44 +00:00
drh
7d8085a8e4
In the test code, make several attempts to convert a pointer to a string
...
and test each attempt to make sure it works before returnning, in order to
work around incompatibilities between various systems. Ticket #284 . (CVS 941)
FossilOrigin-Name: 333011ffddc0be91f76811458f03ad1ec0331b51
2003-04-26 13:19:38 +00:00
drh
70c7a4b1da
Fix the shell tool to do a better job of ignoring whitespace. Ticket #234 . (CVS 940)
...
FossilOrigin-Name: 639957e9f793eddce027050d2655863d82fe8ac9
2003-04-26 03:03:06 +00:00
drh
4328c8b7c7
Only print the "Loading resources from..." line when the output is a TTY.
...
Ticket #168 . (CVS 939)
FossilOrigin-Name: 92ded93376635f37e2f5a7a8f4077c85d5bce735
2003-04-26 02:50:11 +00:00
drh
aba46b19f5
Do not use the return value of fcntl() to find the reason that it failed.
...
Use errno instead. Tickets #240 and #270 . (CVS 938)
FossilOrigin-Name: acf9e9802fa6396df5653ca4e72ab4ec2333509d
2003-04-26 02:40:45 +00:00
drh
524a5bf5f6
Fix the sqlite_complete() routine so that it recognizes /*...*/ comments.
...
Ticket #277 . (CVS 937)
FossilOrigin-Name: ef8eb580fc6c40264219c2ae77a9c4f8a5803c8b
2003-04-26 02:31:54 +00:00
drh
85e2096fb6
Report the correct authorization context in the authorization callback
...
when coding an INSTEAD OF trigger on an update or delete. (CVS 936)
FossilOrigin-Name: 67746833fc8de3afff80db413bd63a362bb28218
2003-04-25 17:52:11 +00:00
drh
2e6d11bc07
Add tests to insure VACUUM works in the presence of I/O errors. Fix some
...
problems that came to light by these tests. (CVS 935)
FossilOrigin-Name: 8d3e879349fc9523c72cb46111e0058b57ce9341
2003-04-25 15:37:57 +00:00
drh
9c05dc6298
Work around a name collision problem on windows. (CVS 934)
...
FossilOrigin-Name: c3b1f84dfce13b2523c9923e4270577862ca0595
2003-04-25 13:28:02 +00:00
drh
f7c5753174
Make VACUUM work even if multiple processes have the database open at once. (CVS 933)
...
FossilOrigin-Name: caa960289f3d1f5e8f35a94e9e4321996c211ed2
2003-04-25 13:22:51 +00:00
drh
fd9903de51
Explicit casts to squelch bogus warnings for vc++. Ticket #194 . (CVS 932)
...
FossilOrigin-Name: cb808c14bc14e7bd1cfff134ae5206ace451f2df
2003-04-25 03:13:25 +00:00
drh
45a304ee8c
Get VACUUM working again - with test cases. Some other minor cleanups. (CVS 931)
...
FossilOrigin-Name: 5afb88008fed253e6d1fc0ed5172370b61d3727b
2003-04-25 02:43:08 +00:00
drh
5cf590c128
Fix some issues with INSTEAD OF triggers. (CVS 930)
...
FossilOrigin-Name: 206b17397b1d2b55179c935927ff1d8215728c32
2003-04-24 01:45:04 +00:00
drh
b5a20d3ceb
Remove the begin_hook and commit_hook APIs. They were a bad idea. Add a
...
"trace" method to the TCL interface. (CVS 929)
FossilOrigin-Name: 6289b863590ecc5de3d1efaaa60aa6f3f64fefb3
2003-04-23 12:25:23 +00:00
drh
e22a334b78
Update the authorizer API so that it reports the database that table and
...
indices belong to and so that it reports when actions are taken in response
to a trigger. (CVS 928)
FossilOrigin-Name: c675a5504138f34cae6def782b5d3add2c67d2bc
2003-04-22 20:30:37 +00:00
paul
3837237959
Check for readline libs now adds appropriate curses or termcap lib when needed (CVS 927)
...
FossilOrigin-Name: 393dd91c252531bb5abfe424b86a5f7eb20edcfc
2003-04-22 08:04:49 +00:00
drh
f0f258b11b
Add support for TEMPORARY triggers. Such triggers can write temporary or
...
permanent tables. (CVS 926)
FossilOrigin-Name: 58ddd587b0f5d565ae3b0ba3a1fa5c20d459f3fc
2003-04-21 18:48:45 +00:00
drh
881b890af4
Add more tests for the in-memory database. (CVS 925)
...
FossilOrigin-Name: 11cab41c4f02cdddc4fd3f57555573ac2814a81b
2003-04-20 23:45:23 +00:00
drh
b2fe7d8cb7
Added tests for the in-memory database backend. Also updated some comments
...
in other modules. (CVS 924)
FossilOrigin-Name: fb89adf4d1325c5ea471759ebfd8df7faa4f9a80
2003-04-20 17:29:23 +00:00
paul
2dc96f9eb8
Align config vars controlling in-memory DB with code (CVS 923)
...
FossilOrigin-Name: 921656db9e3df865aea6b1abe1bc40b1acbeeb47
2003-04-20 11:46:34 +00:00
paul
f00993a30a
Reset pCur->eSkip on a MoveTo (CVS 922)
...
FossilOrigin-Name: d983accf4a702158f03742fb11959d0fd035a4b4
2003-04-20 11:41:04 +00:00
drh
ea1ba17cda
Update comments. Remove unused field from the Index structure. (CVS 921)
...
FossilOrigin-Name: 7084e05093e72f6e5b65ff0b574336898396826f
2003-04-20 00:00:23 +00:00
drh
7bdc0c1def
Modify the optimizer so that it does not assume that functions are
...
constant. (CVS 920)
FossilOrigin-Name: 767f1af236d115e8388e1dcc28a4df1be48d6c85
2003-04-19 17:27:24 +00:00
drh
37ea94b8c9
Bug in WHERE clause processing fixed. Ticket #298 . (CVS 919)
...
FossilOrigin-Name: 9b619c98b586a207a87942640d3a94220ff8ab02
2003-04-19 16:34:04 +00:00
drh
9d10f1d0f6
fix a memory leak in btree_rb.c. (CVS 918)
...
FossilOrigin-Name: 1e3d0d094776c2a429fa2a3eebc036a0b6374862
2003-04-18 22:52:38 +00:00
drh
cab20050bb
Fix for ticket #297 - bug in sqliteSortCompare(). (CVS 917)
...
FossilOrigin-Name: 4ded1965eb83dee0f28c27ba935d615c77331571
2003-04-18 17:45:14 +00:00
drh
a5f668327b
The VACUUM command is now functioning (again). Need to do more testing. (CVS 916)
...
FossilOrigin-Name: 6e948d9aaea109c683ac4fcc4714e335b545d22b
2003-04-18 02:31:04 +00:00
drh
a69d91681d
Fix triggers to work in an ATTACHed database. Ticket #295 . (CVS 915)
...
FossilOrigin-Name: 1e5e00fb73c308378efd034cb291caf338c9fe84
2003-04-17 22:57:53 +00:00
drh
d4d595f94c
Make sure the min() and max() optimizations work on empty indexed tables.
...
Ticket #296 . (CVS 914)
FossilOrigin-Name: 98ef6110068e5ed3cd77a14b004f890b79b731f7
2003-04-17 12:44:23 +00:00
drh
8396566204
Change the shell to use the sqliteIsNumber() routine for determining if
...
values are numeric. Modified os.c so that it should now work with DJGPP -
though I have no way of testing this. (CVS 913)
FossilOrigin-Name: 35caefe31750fd103b5f0231ad36f375771063eb
2003-04-17 02:54:13 +00:00
drh
95b5084409
Rollback if a commit hook fails. (CVS 912)
...
FossilOrigin-Name: 5cea7554ae9d36434cd7261b5b40f3d467b836f1
2003-04-16 21:03:13 +00:00
drh
027850b676
Fix the authorizer so that it correctly interprets attempts to read the
...
OLD and NEW pseudo-tables of a trigger. (CVS 911)
FossilOrigin-Name: f04bd43254b3ba3fccc842214115d4c298e28138
2003-04-16 20:24:52 +00:00
drh
bb07e9a34f
Simplify the number processing code. Fix for ticket #281 . (CVS 910)
...
FossilOrigin-Name: 4326b52a39cad4632dc2db37aa53a285a31af138
2003-04-16 02:17:35 +00:00
drh
144f9eadf6
Remove some unnecessary code and complication from the btree interface. (CVS 909)
...
FossilOrigin-Name: 35cc7c7d37d9ca486e7f300efe80a78a7f1064e2
2003-04-16 01:28:16 +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
paul
048bd5937b
Added btree_rb.c (CVS 907)
...
FossilOrigin-Name: 93eb6c52aca8de15a88247ec986c36245527ec7b
2003-04-15 17:22:30 +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
f9a2e7bb8d
Change lemon to use <stdarg.h> instead of <varargs.h> because GCC no longer
...
supports varargs.h. Tickets #288 and #280 . Ironically, lemon originally
used varargs.h because stdarg.h was not supported by the compiler I was
using in 1989 (which was gcc if I recall correctly.) (CVS 905)
FossilOrigin-Name: 7902e4778ec86e25ad949ae7a6d55b63ac0e85f3
2003-04-15 01:49:48 +00:00
drh
13bff81537
Change some variable names and comments in the new in-memory database file
...
implementation. Partial (non-working) implementation of the VACUUM command. (CVS 904)
FossilOrigin-Name: e76787f877c456abdc8bc88bfefc50eaeed68744
2003-04-15 01:19:47 +00:00
paul
b0208ccaa3
Support in-memory databases for temp tables (CVS 903)
...
FossilOrigin-Name: 96336bffde6c441af197a521ee9e56fdfd7efff8
2003-04-13 18:26:49 +00:00
drh
c11d4f9360
Split the implementation of COPY, PRAGMA, and ATTACH into separate
...
source code files. (CVS 902)
FossilOrigin-Name: 73359037ea639abb066c74db9c19e84bf1104006
2003-04-06 21:08:24 +00:00
drh
e1051c653e
Move the implementation of VACUUM into a separate source file. (CVS 901)
...
FossilOrigin-Name: b123c165fd3d0a5a86ee8a7baa669105dafb481a
2003-04-06 20:52:32 +00:00
drh
73509eee84
Simplify the BTree interface by shortening names. Added two new methods
...
for accessing the current filename and for changing the name of the
database file. (CVS 900)
FossilOrigin-Name: 185d8dc8d0c26cef36aeba6992823e5124af4056
2003-04-06 20:44:45 +00:00
drh
a73af533de
More testing of ATTACH and DETACH. (CVS 899)
...
FossilOrigin-Name: 51f515f28cb1cc3e8f0c3531724dc8876b25f18e
2003-04-05 16:56:28 +00:00
drh
2d4583473b
Begin testing the new ATTACH and DETACH commands. (CVS 898)
...
FossilOrigin-Name: 7a0f8024a1323a15d0c83afe9302400736f01fe8
2003-04-05 03:42:26 +00:00
drh
f539f6a7e9
Fix for ticket #276 . (CVS 897)
...
FossilOrigin-Name: 452128c6fd9a0d82bfab21374fc2041638d264db
2003-04-03 19:35:02 +00:00
drh
0d1a643aea
Added experimental APIs: sqlite_begin_hook() and sqlite_commit_hook(). (CVS 896)
...
FossilOrigin-Name: 5efbf62313519d0a6e8b8f5dbb29d3ef428d73e8
2003-04-03 15:46:04 +00:00
drh
048c530c01
Use a intermediate table when inserting a TEMP table from a SELECT that
...
reads from that same TEMP table. Ticket #275 . (CVS 895)
FossilOrigin-Name: 087d1e83af12b3a9aedd4945f02774a1043b1eb4
2003-04-03 01:50:44 +00:00
paul
b95a8864c9
Add infrastructure to suport multiple btree implementations (CVS 894)
...
FossilOrigin-Name: 79b3aed2a74a67cbad631c4e2e4a43469d80c162
2003-04-01 21:16:41 +00:00
drh
738a68b250
Minor follow-on changes to the recent ATTACH patch. (CVS 893)
...
FossilOrigin-Name: 11378c5bf988412f8564cdc0314fc241793b292e
2003-03-31 13:36:09 +00:00
drh
665de47ac3
Minor follow-on changes to the recent ATTACH patch. (CVS 892)
...
FossilOrigin-Name: e80afe75b33d4eacb40ef6128cf688f7c3253984
2003-03-31 13:36:09 +00:00
drh
da93d238c2
Add the sqliteErrorMsg() function and use it to generate error message
...
text during parsing and code generation. This simplifies the code
somewhat and makes it easier to handle names with a database prefix. (CVS 891)
FossilOrigin-Name: 1d3fc977211abdc7ba3fd51d661863e8ce5aef69
2003-03-31 02:12:46 +00:00
drh
1c2d84148a
The ATTACH and DETACH statements are now coded but are still mostly untested. (CVS 890)
...
FossilOrigin-Name: c7c5e927a54f0fbc2ca625754787aff4d9c4eff1
2003-03-31 00:30:47 +00:00
drh
180487389b
Remove the experimental sqlite_open_aux_file() API. It will soon be replaced
...
by ATTACH and DETACH SQL commands. (CVS 1732)
FossilOrigin-Name: 0a358844e40020557c1aeea5779b194670350930
2003-03-30 19:17:02 +00:00