Commit Graph

1103 Commits

Author SHA1 Message Date
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