Commit Graph

3594 Commits

Author SHA1 Message Date
drh
795ab9bbd8 Fix a documentation comment in vdbe.c. Ticket #2188. (CVS 3611)
FossilOrigin-Name: 3eec703beb91be44ded629335001c238052480e7
2007-01-27 13:37:22 +00:00
drh
a3eb4b44c4 Parser changes to allow parenthesized numerical arguments to pragmas,
in support of the integrity_check enhancement of check-in (3609)
and ticket #2176. (CVS 3610)

FossilOrigin-Name: ab6322bf9398c2989b648b24c1ebdf09493accdf
2007-01-27 02:38:29 +00:00
drh
1dcdbc0639 Limit the number of errors returned by PRAGMA integrity_check to 100 by
default.  Specify an alternative limit using an argument to the pragma.
Ticket #2176. (CVS 3609)

FossilOrigin-Name: d564a039f27be2bb2c3973e79dc99b25869139da
2007-01-27 02:24:54 +00:00
drh
4e78be693c Make sure the vdbeInt.h file is not #included multiple times. Ticket #2194. (CVS 3608)
FossilOrigin-Name: 93edd3b0565d08383b3034c57f221073fde6de4b
2007-01-26 21:08:04 +00:00
drh
23a4d14e79 Fix prototypes for the parser. Syntactic change only - no effect on
object code.  Ticket #2193. (CVS 3607)

FossilOrigin-Name: 02990fabd1c68fb51afc91a1b720802ef86bfec6
2007-01-26 19:31:00 +00:00
drh
485f00391b Add code to select.c for printing the contents of parse-tree structures.
The code is normally omitted.  You must compile with -DSQLITE_TEST
or -DSQLITE_DEBUG to enable it. (CVS 3606)

FossilOrigin-Name: 1b26d6875612a0ed25d6e293f005ea4966692759
2007-01-26 19:23:33 +00:00
drh
0ee5a1e763 Fix a (harmless) assertion fault on nested views where the inner views
are compound selects.  Ticket #2192. (CVS 3605)

FossilOrigin-Name: 942e7193bbf1ffe9a703891d175e016631e2ad5c
2007-01-26 19:04:00 +00:00
drh
e31a1fb018 Make sure the loadext.c module works even if all SQLITE_OMIT macros are
defined.  Tickets #2184 and #2069. (CVS 3604)

FossilOrigin-Name: e1fae43c89253fe5ca85bd149cd7697234f9aa91
2007-01-26 13:08:24 +00:00
drh
6c9121a7dd Work around issues with certain C++ compilers by adding a typedef
to sqlite3.h.  Ticket #2191. (CVS 3603)

FossilOrigin-Name: 31e8cf7f30afe14f0866ea71eebbda9755ddedf8
2007-01-26 00:51:43 +00:00
drh
f2d315d0c2 Fix an additional problem with the IS NULL optimization on LEFT JOINs.
Ticket #2189.  See also ticket #2177. (CVS 3602)

FossilOrigin-Name: 358dd82d3a921228155e2cf9e22aedd2b651ca9c
2007-01-25 16:56:06 +00:00
drh
4e653855ab Do not run the fts2i.test unless the FTS2 module is available. (CVS 3601)
FossilOrigin-Name: 310f68585188ae49b603af9bdef4ee7738ae37c0
2007-01-24 03:46:35 +00:00
drh
e0201fc0e2 Do not run test fts1i.test if FTS1 is not installed. (CVS 3600)
FossilOrigin-Name: 810c0176f8413995a78963c453e4377f11b293b5
2007-01-24 03:43:20 +00:00
drh
b02766ab84 Version 3.3.11 (CVS 3599)
FossilOrigin-Name: 66cbbe0442a0d270ec968a9c5bca735bd238768a
2007-01-22 13:07:36 +00:00
drh
db0c7a46af Prepare for the release of version 3.3.11 (CVS 3598)
FossilOrigin-Name: daf288302407b103051d8440df371e4cb79769eb
2007-01-22 13:06:02 +00:00
drh
1941a3e8ac Fix a pragma test so that it works in directories that have spaces in
their names. (CVS 3597)

FossilOrigin-Name: 071c957a5dcd236139113d7c0dc1d58b54180eb7
2007-01-22 13:02:24 +00:00
shess
3ad202dd17 http://www.sqlite.org/cvstrac/tktview?tn=2166,35
Calling UPDATE against an fts table in a UTF-16 database inserts
corrupted data into the database.  The UTF-8 data is being inserted
directly.  This appears to happen because sqlite3_ value_text()
destructively coerces a value to UTF-8, and it's never converted back
when updating the table. This works around the problem by rearranging
things so that the update happens before the coercion. (CVS 3596)

FossilOrigin-Name: 4f2ab4b6320ffc621900049b41f50bc30d76d7f5
2007-01-19 22:59:56 +00:00
drh
c49de5d98c Make sure the IS NULL optimization introduced by check-in (3494) correctly
handles a LEFT JOIN where the a term from the right table of the join uses
an IS NULL constraint.  Ticket #2177.  This check-in also adds the new test
cases that were suppose to have been added with (3494) but which were
mistakenly omitted. (CVS 3595)

FossilOrigin-Name: 335863e4d16113fb9ecebce35d2db043771d98b1
2007-01-19 01:06:01 +00:00
drh
cb6c565eab Additional memory initialization in lemon - bug reported from wireshark.
Ticket #2172.  Note this problem only comes up with certain grammars,
and does not impact SQLite.  On the other hand, it might cause SQLite
to run slower.  So we might want to revisit this change at some point. (CVS 3594)

FossilOrigin-Name: d537aa5edecb5c7b84d8eb876453f385f6f3d91a
2007-01-16 18:19:12 +00:00
drh
61e339a60d Make sure the parser generated by lemon always calls destructors on
unused symbols, even if there is no action following the rule.
Ticket #2171. (CVS 3593)

FossilOrigin-Name: 0c5c1b931dfdc163f300f458e4b305c9f50e17f8
2007-01-16 03:09:02 +00:00
drh
f6d8ab87c6 Fix a bug in sqlite3_prepare_v2() introduced by checkin (3578) and reported
on the mailing list. (CVS 3592)

FossilOrigin-Name: 87248470362f444f2339fee18d3624e8544f5256
2007-01-12 23:43:42 +00:00
drh
e047921c78 Fix a bug in lemon. The code in which the error appears might well be
unreachable.  The changes does not effect the code that is generated for
the SQLite parser.  Ticket #2164. (CVS 3591)

FossilOrigin-Name: f4ee5d83e177e7ed9f180454c01d46a395a5715d
2007-01-12 23:09:23 +00:00
drh
d2832bf1f0 Make the AreFileApisANSI() call a macro with a value of 1 on wince.
Ticket #2163. (CVS 3590)

FossilOrigin-Name: a72c950cdbb7ad14572ccdf9b94ceac8ea0a2588
2007-01-10 18:56:15 +00:00
drh
595e6120ee More homepage typo fixes. (CVS 3589)
FossilOrigin-Name: 85b5d446b03cd0eb06a41a755f97295c98991a75
2007-01-10 13:34:18 +00:00
drh
3ae25dc89d Fix a typo on the homepage. (CVS 3588)
FossilOrigin-Name: a0b429914b14c5c9a6169ced8b83fdb87e7bdfec
2007-01-10 13:32:43 +00:00
drh
cc5f6d6cb0 Version 3.3.10 (CVS 3587)
FossilOrigin-Name: 204a212a285c0ba9a0a43ecb1919a10b01dd9308
2007-01-10 12:58:11 +00:00
drh
a09883f377 Corrections to the documentation on sqlite3_exec(). Ticket #2161. (CVS 3586)
FossilOrigin-Name: afd33f62ecf9f14255f5593ea87636b9deab7b92
2007-01-10 12:57:29 +00:00
drh
86939b598f Corrections to the documentation for sqlite3_busy_handler(). Ticket #2160. (CVS 3585)
FossilOrigin-Name: 9614c0f99f27e8c6576a1a3ec5573b9bc414e8a8
2007-01-10 12:54:51 +00:00
drh
3372bdf587 Documentation updates prior to version 3.3.10. Among the changes is a
fix for ticket #2148 (CVS 3584)

FossilOrigin-Name: 686beffa6956654fc43a2e3f1ea2896b86533774
2007-01-09 23:13:06 +00:00
drh
9cce710942 Fix the windows OS layer so that it returns detailed IOERR error codes. (CVS 3583)
FossilOrigin-Name: 4b36de46c42e2e42d611b38ff18949bea55c803b
2007-01-09 17:18:19 +00:00
drh
fb02d26400 Work around win2k problems so that single-character filenames can be
used.  Ticket #2151. (CVS 3582)

FossilOrigin-Name: c4eb2100c39356e1816cc6514d65155e47ea1a1d
2007-01-09 15:32:17 +00:00
drh
297a66c257 Documentation and tests to show that the cause of a parsing error is
available on sqlite3_errmsg after sqlite3_step return SQLITE_SCHEMA. (CVS 3581)

FossilOrigin-Name: 31a661d424d0fe03eaf78f98031e360102dafeff
2007-01-09 15:06:41 +00:00
drh
d47bcb9c73 Updates tests and documentation to justify the behavior observed in
ticket #2158.  No changes to code. (CVS 3580)

FossilOrigin-Name: e1f7cf065d2c4ca53e233a4506759a1899ad0560
2007-01-09 15:02:03 +00:00
drh
6be36cb6ea Do not use the symbol "interrupt" since that is a reserved word in
OpenWatcom.  Ticket #2159. (CVS 3579)

FossilOrigin-Name: 9960ba576827f8ced6eac101313a481f2a2f4b69
2007-01-09 14:37:17 +00:00
drh
3c23a88562 When an automatic re-prepare occurs, take care not to reset the internal
schema symbol table.  Ticket #2156.  This change also includes some debugging
enhancements. (CVS 3578)

FossilOrigin-Name: 43fe7fc1c38f8d9b3c1346cb1d890c2e25cefe15
2007-01-09 14:01:13 +00:00
drh
f1d89f0dd9 Additional tests of sqlite3_prepare_v2. (CVS 3577)
FossilOrigin-Name: b0650aa6cfcb4c59fd8556b8f5523573538bd7e5
2007-01-08 22:40:32 +00:00
drh
c515525765 Fix a critical bug in sqlite3_prepare_v2 that can lead to segfaults when
the schema changes and the statement is recompiled automatically.
Ticket #2154. (CVS 3576)

FossilOrigin-Name: 3401388dba6c150f788397a4dfbcdb01313247e2
2007-01-08 21:07:17 +00:00
drh
622fa9a80e Fix another round-off problem in strftime(). Ticket #2153. (CVS 3574)
FossilOrigin-Name: d49ddc5ff05dd65e73edfa76db7e1af36967d81a
2007-01-08 16:19:07 +00:00
drh
20f99c438f Updates to the sqlite3 command-line shell documentation. Ticket #2144. (CVS 3573)
FossilOrigin-Name: 3a422bb9eedf5357ce4d3bed68981c000eb96ee4
2007-01-08 14:31:35 +00:00
drh
118bff9d59 Add the $(BEXE) suffix to every mention of "lemon" in the Makefile.in,
so that the build will work on OS/2.  Ticket #2149. (CVS 3571)

FossilOrigin-Name: f5989a0bd3c218b13332896d94ef85e96befd16f
2007-01-08 13:40:36 +00:00
drh
c2c9eef6b3 Fix a round-off error in the %W and %j conversions of the strftime() function.
Ticket #2150. (CVS 3570)

FossilOrigin-Name: 52067937803e6b36afc8f11c5d24059414208b77
2007-01-08 13:07:30 +00:00
drh
f742d78326 Another typo fixed in changes.html (CVS 3569)
FossilOrigin-Name: 70033a0ea41e698237e886c7ab010a360ea53bb5
2007-01-06 13:11:35 +00:00
drh
f33be57909 Fix the makefile to correctly install sqlite3ext.h. Ticket #2145 (CVS 3568)
FossilOrigin-Name: be410fee681554653756d170e45ce00f0c9477ab
2007-01-06 13:10:30 +00:00
drh
db960ec3c2 Fix typo in changes.html. (CVS 3567)
FossilOrigin-Name: cc1df49b7a54fb11ccaa83e70f8a024d733744a5
2007-01-06 13:05:34 +00:00
drh
5a91a537db Clear a compiler warning when compiling with -DSQLITE_OMIT_VIRTUALTABLE. (CVS 3566)
FossilOrigin-Name: 520f6583e3467b964dcdba873857ace5a9c4ee19
2007-01-05 16:39:43 +00:00
drh
df09df6ad4 Remove redundant variable. (CVS 3565)
FossilOrigin-Name: 2a7f5aaf8245026edf9cd8f6abc90e87cd7747b2
2007-01-05 14:41:06 +00:00
drh
aedd892e0c Suppress compiler warnings. Fix a bug in IO error detection on windows. (CVS 3564)
FossilOrigin-Name: daed2bab00ea3952d2d4e5182ca07653b9d80ac2
2007-01-05 14:38:54 +00:00
drh
24c9a2eeb2 In the btree.c, when releasing the page1 lock, first make sure the
pager has not reset and released the lock already.  This fixes a bug
introduced by (3549). (CVS 3563)

FossilOrigin-Name: 36a2db96efa7f227c0a39e58fd83d56cc491472b
2007-01-05 02:00:47 +00:00
drh
ba92a2ebad Get threadtest2.c working again after being long neglected. (CVS 3562)
FossilOrigin-Name: 06216d0d3be38bfabda9f5f450a5eaccd20b52b9
2007-01-05 01:58:26 +00:00
drh
92895268a4 Fix a test case that changed due to (3560). Ticket #2143 (CVS 3561)
FossilOrigin-Name: c28664d314b8caa2844072ee9e5a50901996dc1e
2007-01-05 00:14:27 +00:00
drh
25403650c3 Fix the user_version and schema_version pragmas so that they set a result
column name.  Ticket #2143. (CVS 3560)

FossilOrigin-Name: f81c4227c26a4d43993904ab05c1eb9f988e3b66
2007-01-04 22:13:41 +00:00