Commit Graph

4051 Commits

Author SHA1 Message Date
danielk1977
c9cf6e3d31 Fix for #2445. A bug in the lookupName() logic that could cause a crash when a WHERE clause used an alias to refer to an expression in the result-set of the SELECT, and that expression was itself a reference to a table column. (CVS 4122)
FossilOrigin-Name: 044ca1c72a8f4632dc2e6a94690d164d3560ee38
2007-06-25 16:29:33 +00:00
danielk1977
576d3db541 Modify the non-configure build system to make it easier to build the library with the fts2 or icu extensions linked in. (CVS 4121)
FossilOrigin-Name: 02b23c4394da7efb82e9318146f10818b0f68b1f
2007-06-25 14:28:48 +00:00
drh
397aa141ed Put #ifdefs in fts2_tokenizer so that the build works even when FTS2
is omitted.  Add the SQLite blessing to the header comments on all FTS2
source files. (CVS 4120)

FossilOrigin-Name: c795e6fd8f01bcbc1967062632c13d4952abf4d8
2007-06-25 13:50:03 +00:00
drh
5665b3ea44 All the use of MySQL-style quoting in the FTS modules. Ticket #2446. (CVS 4119)
FossilOrigin-Name: 3be2a6d1c342454d93b05c38f3d9a960ab15dae2
2007-06-25 12:49:05 +00:00
danielk1977
46760820a1 Add a test that calls fts2_tokenizer() with an argument set via C code. (CVS 4118)
FossilOrigin-Name: fbcf2d75cd2b88d175c122477aa483f0771870e5
2007-06-25 12:05:40 +00:00
danielk1977
f86643b32f Add some tests for the fts2 icu tokenizer. (CVS 4117)
FossilOrigin-Name: b79ced3e0a26b0db13613073c847c2d2ba7e174e
2007-06-25 11:24:38 +00:00
danielk1977
24e1afa222 Add some documentation for user-defined fts2 tokenizers. (CVS 4116)
FossilOrigin-Name: 5a9eee86587219a68655d548864d129edec969ae
2007-06-25 09:52:31 +00:00
danielk1977
27b1f95f08 Make the auto_vacuum mode peristent in all cases. (CVS 4115)
FossilOrigin-Name: 5b0408ddd0f1c825f402d0f5a3088a61b5ecd2c3
2007-06-25 08:16:58 +00:00
danielk1977
d62e76c792 Fix for #2451. Code comment changes only. (CVS 4114)
FossilOrigin-Name: bc61dcbf64af56d4a1394c8ff46e91245dc16d15
2007-06-24 16:11:03 +00:00
danielk1977
418899a359 Make setting "PRAGMA auto_vacuum = incremental" persistent if it is executed before the database file is created. (CVS 4113)
FossilOrigin-Name: c666fad151f25ab8365c497cd0967f4a5a2adb90
2007-06-24 10:14:00 +00:00
danielk1977
180b56a1bb Add the "(database.)freelist_count" PRAGMA. For querying the size of the
database free-list. (CVS 4112)

FossilOrigin-Name: 1fb4251a707d0b79d250d6ea2022913b371d5f14
2007-06-24 08:00:42 +00:00
danielk1977
f3b863ed07 When expanding '*' in the result set of a SELECT, quote the expanded identifiers. Fix for #2450. (CVS 4111)
FossilOrigin-Name: d5b7224f37db1729dd042d48765d7a79247e1bde
2007-06-24 06:32:17 +00:00
pweilbacher
53b4bd3252 fix linking failure on OS/2 that happens with the amalgamation and the high memory option enabled (CVS 4110)
FossilOrigin-Name: f35e20e19633d7b114fdf145820ca5d61b5aa925
2007-06-22 20:17:37 +00:00
pweilbacher
691902e7d6 fix compilation failure on OS/2 with the amalgamation (CVS 4109)
FossilOrigin-Name: 12327ca049e62922bfb3c2a14e42554fd58265e8
2007-06-22 20:04:36 +00:00
danielk1977
832a58a68c Extend fts2 so that user defined tokenizers may be added. Add a tokenizer that uses the ICU library if available. Documentation and tests to come. (CVS 4108)
FossilOrigin-Name: 68677e420c744b39ea9d7399819e0f376748886d
2007-06-22 15:21:15 +00:00
drh
bf2564f612 Clarify documentation of the column metadata APIs. Make sure that the
new documentation claims are tested. (CVS 4107)

FossilOrigin-Name: 2dafe08a91b5328a9d0df5ab29c3ff2d94ad5f6f
2007-06-21 15:25:05 +00:00
drh
9725daf61d Update the URL to mailing list archives. (CVS 4106)
FossilOrigin-Name: af4b914a2152ce021401b6f78bb88a5323aa6fc2
2007-06-21 13:30:39 +00:00
drh
d3067e8638 Use NAWK everywhere in Makefile.in. Ticket #2437. (CVS 4105)
FossilOrigin-Name: 314669b6cc76ab8984857c3591aa1910aac97694
2007-06-20 16:20:36 +00:00
drh
7e09fe0b81 A column name preceded by a unary "+" operator is considered to be
a column name when computing the collating sequence to be used by
a comparison operator or ORDER BY clause. (CVS 4104)

FossilOrigin-Name: 99a20f6a427b5e0e0a793f59ebca9d17bc633437
2007-06-20 16:13:23 +00:00
drh
7cd6927e7f Remove the dependency on libm for isnan(). Ticket #2436. (CVS 4103)
FossilOrigin-Name: 406675bb1c954dae95b9059f7f533ed57e3947d9
2007-06-20 15:29:25 +00:00
drh
029f3f8924 Remove an unused variable from btree.c. (CVS 4102)
FossilOrigin-Name: cb47a8297fd91becdc4e1c50fd84b3efedd3951f
2007-06-20 15:14:10 +00:00
drh
4c1038388e Fix comment typo in analyze.c. Ticket #2434. (CVS 4101)
FossilOrigin-Name: df9957b94737b76ed7b1de77bb22bb27c7ae2dcf
2007-06-20 13:37:31 +00:00
drh
a959ac4588 Fix a bug in the command-line shell that prevents the
reading of the ".sqliterc" file.  Ticket #2433. (CVS 4100)

FossilOrigin-Name: 6eaf29f5e1e99b066825a1ccf34c82c9da6da826
2007-06-20 13:10:00 +00:00
drh
9245c243b7 Disallow empty GROUP BY clauses. Ticket #2431. (CVS 4099)
FossilOrigin-Name: 9581e7a4a4d74b08ce5380b49862957c804e46bb
2007-06-20 12:18:31 +00:00
drh
647f9ad770 Additional changes for ticket #2426. (CVS 4098)
FossilOrigin-Name: 79debf95cdccdc1f18b6f0fcd213f514e327181c
2007-06-20 11:56:51 +00:00
danielk1977
d84d483322 Fix for #2432 and partial fix for #2427 (documentation change only). (CVS 4097)
FossilOrigin-Name: f025a745319486d858e2831178a86265fd5fcf32
2007-06-20 09:09:47 +00:00
danielk1977
77b03a2ff1 Change main.mk to make it easier to build testfixture and sqlite3 with the icu or fts2 extensions linked in. (CVS 4096)
FossilOrigin-Name: 91719cc8eaf62f64099ff9eb2b48cef6c9c688f7
2007-06-20 08:49:05 +00:00
danielk1977
86889fc3c6 Fix snippet generation when the left-most column of an fts2 table is used in the MATCH clause. Fix for ticket #2429. (CVS 4095)
FossilOrigin-Name: fec56ad2ede53e3e202d9ad869a059eeb315796f
2007-06-20 06:23:54 +00:00
drh
1c747819de Change the TCL bindings so that @aaa always treats the variable aaa as
a bytearray and binds the value as a BLOB.  This change is backwards
compatible since the $ behavior is unchanged and @ was not accepted
until the current round of changes. (CVS 4094)

FossilOrigin-Name: 6f7d55acedc92eeaf988425c719addd56209187f
2007-06-19 23:01:41 +00:00
drh
59fffd02de Cleanup the TCL interface source code and add documentation for recently
added methods on the SQLite object of TCL. (CVS 4093)

FossilOrigin-Name: d88b79818a6a9e0413b9560687ec3c79fcb3dacc
2007-06-19 17:48:57 +00:00
drh
4f5e80f94b In the TCL bindings, if a TCL variable has a bytearray representation and
the host parameter starts with @ instead of $, then always store the
content as a BLOB not as a string even if a string representation is also
available. (CVS 4092)

FossilOrigin-Name: dcb104bd41f5e992d4c84b8947cb5099ae746891
2007-06-19 17:15:46 +00:00
drh
c551dd804a Change the name of the "limits.h" source file to "sqliteLimit.h".
Ticket #2428. (CVS 4091)

FossilOrigin-Name: 64bcc41f12e902fd025c9ba36c09dd6e4cf25923
2007-06-19 15:23:48 +00:00
drh
b21f87dda1 Do not segfault even if sqlite is misused by requesting query results
after the query has been reset.  ticket #2426. (CVS 4090)

FossilOrigin-Name: 783f19be387561fbca3ac7e223bdb7dedb5450c8
2007-06-19 10:58:24 +00:00
drh
63fff5f7a5 Cast the 2nd parameter of ftruncate to off_t to work around bugs in
some unix implementations.  Ticket #2425. (CVS 4089)

FossilOrigin-Name: 0b20a69609c64af922bedab381f7d075e9da4fc5
2007-06-19 10:50:38 +00:00
drh
74792b2f91 Another attempt to fix the build process for TCL windows bindings. (CVS 4088)
FossilOrigin-Name: 1fd2a358d6361768981d0c7efbcf30b47c52a732
2007-06-18 17:44:16 +00:00
drh
8ffa817305 Bring the pager_datahash() macro into sync with its function definition.
Ticket #2422. (CVS 4087)

FossilOrigin-Name: ba967bbb62ccf29438db352c573773ae741d0daf
2007-06-18 17:25:17 +00:00
drh
455cd796f6 Fix the build scripts so that they generate Tcl bindings for windows
correctly. (CVS 4086)

FossilOrigin-Name: c7be8b419fdfe6561331485f5f866610457e44ad
2007-06-18 16:06:20 +00:00
drh
e91f2b75d6 Version 3.4.0 (CVS 4085)
FossilOrigin-Name: 2647980fba92a453ef8afb48c80405d023177ab6
2007-06-18 13:33:58 +00:00
drh
44548eccb9 Documentation updates prior to release 3.4.0. Enhanced support for
soak testing in the test scripts. (CVS 4084)

FossilOrigin-Name: eec387103869940697487ec5226eaed0b51ede7a
2007-06-18 12:22:43 +00:00
drh
4f0aee41c3 Fix a faulty assert() in the pager. (CVS 4083)
FossilOrigin-Name: 4cff47b06132768e92ba2235cab5c17d1082f8f9
2007-06-16 18:39:41 +00:00
danielk1977
68a6b5ec98 Modify the tests in exclusive2.test to account for the fact that the pager cache may be very small by default. These tests are only valid if the entire database fitting in the cache. (CVS 4082)
FossilOrigin-Name: 04a13fe43e61bd0dbff42c448e763078503b00bf
2007-06-16 14:43:51 +00:00
drh
b3905ab5e1 Add another scenario to the soak1.tcl script. (CVS 4081)
FossilOrigin-Name: 10e6822d4f1e0a94d5033b7b9efc1d8ed1e957d1
2007-06-16 14:19:36 +00:00
drh
732c817f8b A minor logic correction in the previous check-in. Also added a lengthy
comment describing the meanings of various flags in the 
{quote: PgHdr} structure. (CVS 4080)

FossilOrigin-Name: 57bf8204cde47dfeb31c064f2b128b9a8d94189f
2007-06-16 11:17:45 +00:00
drh
5e3853112a Fix a database corruption problem that can occur in auto-vacuum mode when
a malloc() failure causes a statement rollback, additional statements
are run in the same transaction, then the total transaction rolls back. (CVS 4079)

FossilOrigin-Name: c9dcf2b926c99ff9cee68589f364461ab2a1d11f
2007-06-16 04:42:12 +00:00
drh
477731b52d Additional debugging instrumentation added to the pager. (CVS 4078)
FossilOrigin-Name: dcdb20f81ae923f6f56d75c7b8b89a0b3abff954
2007-06-16 03:06:27 +00:00
drh
7d7f17b6a8 Make arrangements to optionally print a debug message at the point
of a simulated malloc() failure when SQLITE_MEMDEBUG is defined. (CVS 4077)

FossilOrigin-Name: 7d3c1f08a34fcf2ca5c79d6e58f713ae6a4b34e8
2007-06-15 20:29:20 +00:00
drh
341ae48332 Fix more documentation typos. Ticket #2416. (CVS 4076)
FossilOrigin-Name: b55318b12d026abd5a32469a19c36abbd6250137
2007-06-15 18:59:08 +00:00
drh
daf276d466 Remove a C++ism from the test harness. Get the TCL interface working with
older versions of TCL. (CVS 4075)

FossilOrigin-Name: c8beb8674e5a1effc2785f205124628fbdaf57e0
2007-06-15 18:53:14 +00:00
drh
2df37c0390 Add a script for "soak" testing. (CVS 4074)
FossilOrigin-Name: d4ea1287a8b013a97fcb55bb7f7feba427222bab
2007-06-15 18:43:37 +00:00
danielk1977
3586110b4a Fix a race condition in test_server.c/test7.c (test changes only). (CVS 4073)
FossilOrigin-Name: d0de32e4c630c43ecd9d5e5296ae84aeff80c083
2007-06-15 17:50:04 +00:00