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